Reputation: 711
I want to skip compiling ant build.xml
files in my Jenkins workspace like skipping Java test with the command parameter:
-Dmaven.test.skip=true
This command is not skipping ant build scripts:
-Dmaven.test.skip=true clean install
Can someone help me in this regards?
Upvotes: 4
Views: 2797
Reputation: 35815
To skip maven-antrun-plugin in your pom.xml, use -Dmaven.antrun.skip=true
.
Upvotes: 8