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 [email protected]
<mailto:[email protected]>.
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 [email protected].
For more options, visit https://groups.google.com/d/optout.