Re: Problem Perform Maven Release
A simpler - and IMHO much cleaner - way would be to add the target folder to svn:ignore. You shouldn't have any local modifications during the release process, otherwise you're doing it wrong! Am 16.08.2014 um 07:17 schrieb Adam Guja: You can use checkModificationExcludes as stated here http://stackoverflow.com/questions/16199154/maven-releaseprepare-cannot-prepare-the-release-because-you-have-local-modifi if the changes are done during the release W dniu czwartek, 14 sierpnia 2014 18:35:43 UTC+2 użytkownik Leandro Andrade napisał: Hi guys. I have a problem when I try to do Perform Maven Release: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.4.1:prepare (default-cli) on project test: Cannot prepare the release because you have local modifications : [ERROR] [target/apidocs:unknown] [ERROR] [target/classes:unknown] [ERROR] [target/test-1.5.30-SNAPSHOT:unknown] [ERROR] [target/test-1.5.30-SNAPSHOT-javadoc.jar:unknown] [ERROR] [target/test-1.5.30-SNAPSHOT-sources.jar:unknown] [ERROR] [target/test-1.5.30-SNAPSHOT.war:unknown] [ERROR] [target/generated-sources:unknown] [ERROR] [target/javadoc-bundle-options:unknown] [ERROR] [target/maven-archiver:unknown] [ERROR] [target/test-classes:unknown] [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. What's the problem? Thanks. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com mailto:jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Problem Perform Maven Release
You can use checkModificationExcludes as stated here http://stackoverflow.com/questions/16199154/maven-releaseprepare-cannot-prepare-the-release-because-you-have-local-modifi if the changes are done during the release W dniu czwartek, 14 sierpnia 2014 18:35:43 UTC+2 użytkownik Leandro Andrade napisał: Hi guys. I have a problem when I try to do Perform Maven Release: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.4.1:prepare (default-cli) on project test: Cannot prepare the release because you have local modifications :[ERROR] [target/apidocs:unknown][ERROR] [target/classes:unknown][ERROR] [target/test-1.5.30-SNAPSHOT:unknown][ERROR] [target/test-1.5.30-SNAPSHOT-javadoc.jar:unknown][ERROR] [target/test-1.5.30-SNAPSHOT-sources.jar:unknown][ERROR] [target/test-1.5.30-SNAPSHOT.war:unknown][ERROR] [target/generated-sources:unknown][ERROR] [target/javadoc-bundle-options:unknown][ERROR] [target/maven-archiver:unknown][ERROR] [target/test-classes:unknown][ERROR] - [Help 1][ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging. What's the problem? Thanks. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Problem Perform Maven Release
Hi guys. I have a problem when I try to do Perform Maven Release: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.4.1:prepare (default-cli) on project test: Cannot prepare the release because you have local modifications :[ERROR] [target/apidocs:unknown][ERROR] [target/classes:unknown][ERROR] [target/test-1.5.30-SNAPSHOT:unknown][ERROR] [target/test-1.5.30-SNAPSHOT-javadoc.jar:unknown][ERROR] [target/test-1.5.30-SNAPSHOT-sources.jar:unknown][ERROR] [target/test-1.5.30-SNAPSHOT.war:unknown][ERROR] [target/generated-sources:unknown][ERROR] [target/javadoc-bundle-options:unknown][ERROR] [target/maven-archiver:unknown][ERROR] [target/test-classes:unknown][ERROR] - [Help 1][ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.[ERROR] Re-run Maven using the -X switch to enable full debug logging. What's the problem? Thanks. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Problem Perform Maven Release
On 14 August 2014 18:35, Leandro Andrade mandrak.andr...@gmail.com wrote: Hi guys. I have a problem when I try to do Perform Maven Release: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.4.1:prepare (default-cli) on project test: Cannot prepare the release because you have local modifications : [ERROR] [target/apidocs:unknown] [ERROR] [target/classes:unknown] [ERROR] [target/test-1.5.30-SNAPSHOT:unknown] [ERROR] [target/test-1.5.30-SNAPSHOT-javadoc.jar:unknown] [ERROR] [target/test-1.5.30-SNAPSHOT-sources.jar:unknown] [ERROR] [target/test-1.5.30-SNAPSHOT.war:unknown] [ERROR] [target/generated-sources:unknown] [ERROR] [target/javadoc-bundle-options:unknown] [ERROR] [target/maven-archiver:unknown] [ERROR] [target/test-classes:unknown] [ERROR] - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. What's the problem? The error message states Cannot prepare the release because you have local modifications That is your problem. Files under version control has been changed and not committed when your executed the release plugin. /Thomas Thanks. -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Thomas Sundberg M. Sc. in Computer Science Mobile: +46 70 767 33 15 Blog: http://thomassundberg.wordpress.com/ Twitter: @thomassundberg Better software through faster feedback -- You received this message because you are subscribed to the Google Groups Jenkins Users group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.