You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by John Patrick <nh...@gmail.com> on 2022/06/27 20:31:33 UTC

Maven Wrapper merge issues during release

Anyone having issues with maven wrapper, when you upgrade the jar as part
of a release?

i.e.
develop branch
.mvn/wrapper/maven-wrapper.jar is 3.1.1

main branch
.mvn/wrapper/maven-wrapper.jar is 3.1.0

I'm using gitflow-maven-plugin (
https://github.com/aleksandr-m/gitflow-maven-plugin) but the merge fails as
the jar is being locked by the running process...

The solution i've got is to do manual commit to main with updated
maven-wrapper.jar, then try the release again.

Anyone else seen this issue or got a better work around?

John

Re: Maven Wrapper merge issues during release

Posted by Delany <de...@gmail.com>.
Are u running Windows? Use another mvn to perform the update.
Delany

On Mon, 27 Jun 2022, 22:31 John Patrick, <nh...@gmail.com> wrote:

> Anyone having issues with maven wrapper, when you upgrade the jar as part
> of a release?
>
> i.e.
> develop branch
> .mvn/wrapper/maven-wrapper.jar is 3.1.1
>
> main branch
> .mvn/wrapper/maven-wrapper.jar is 3.1.0
>
> I'm using gitflow-maven-plugin (
> https://github.com/aleksandr-m/gitflow-maven-plugin) but the merge fails
> as
> the jar is being locked by the running process...
>
> The solution i've got is to do manual commit to main with updated
> maven-wrapper.jar, then try the release again.
>
> Anyone else seen this issue or got a better work around?
>
> John
>