Re: mvn release:branch updating POM incorrectly

2014-11-02 Thread Leonie
Hi Robert, just wanted to share. I came up with a nice algorithm :-) I do a
dryrun before I run release:branch and after the release:branch, i delete
the POM and rename POM.xml.branch to POM.xml and commit.



--
View this message in context: 
http://maven.40175.n5.nabble.com/mvn-release-branch-updating-POM-incorrectly-tp5811978p5812346.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: mvn release:branch updating POM incorrectly

2014-11-01 Thread Leonie
Thanks Robert. We currently use Maven 2.0.10. I appreciate your help. I'm
totally new with the tool. 



--
View this message in context: 
http://maven.40175.n5.nabble.com/mvn-release-branch-updating-POM-incorrectly-tp5811978p5812320.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: mvn release:branch updating POM incorrectly

2014-11-01 Thread Leonie
Good day Robert,

I wondered if you might be aware of a plugin that I can use to update the
scm connection? Then I can create the branch with mvn release:branch and
after that is complete I can update the connection with another command. I'm
trying to script a release. Some of the jars require maven 2 to build, so I
cannot use the newest release plugin

Thanks in advance



--
View this message in context: 
http://maven.40175.n5.nabble.com/mvn-release-branch-updating-POM-incorrectly-tp5811978p5812295.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: mvn release:branch updating POM incorrectly

2014-10-31 Thread Leonie
Thank you Robert. I'm not using the latest maven release. Using 2.0.10. Will
upgrade.




--
View this message in context: 
http://maven.40175.n5.nabble.com/mvn-release-branch-updating-POM-incorrectly-tp5811978p5812022.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



mvn release:branch updating POM incorrectly

2014-10-31 Thread Leonie
Good day,

I hope someone can assist. I have posted something, but did not get any
reply. When running the release:branch, my branch gets created, but my scn
connection url in the trunk POM is not updating to point to the new branch's
URL.

I tried to pinpoint the problem. I opened the POM in notepad ++ and ran the
mvn release:branch command. I could see the POM file updated when the second
cmd.exe ran, but when the third cmd.exe ran, the POM changed scm connection 
url back to what it was before I tried to create the branch. Thanks in
advance. I need a solution before Monday and have no idea what to do
anymore. 
pr  oblem. I
can see that my POM file gets updated, b



--
View this message in context: 
http://maven.40175.n5.nabble.com/mvn-release-branch-updating-POM-incorrectly-tp5811978.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



mvn release:branch not updating POM

2014-10-29 Thread Leonie
Good day,

I hope someone can assist. Running mvn release:branch -Dbranchname=foo . The
problem is that my POM file's SCM connection does not always update to point
to my new branch.

 I ran this command a few times with different branch names. Sometimes the
SCM connection updates, other times not. I'm suspecting there is a cache
somewhere that is responsible for this behavior, as it only updates the POM
at random.

Hope this makes sense. :-)



--
View this message in context: 
http://maven.40175.n5.nabble.com/mvn-release-branch-not-updating-POM-tp5811502.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org