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?
To skip maven-antrun-plugin in your pom.xml, use -Dmaven.antrun.skip=true.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With