Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins how to skip Maven-antrun-plugin to executing build.xml files in maven build with command

Tags:

maven

jenkins

ant

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?

like image 755
Niranga Sandaruwan Avatar asked Oct 21 '25 04:10

Niranga Sandaruwan


1 Answers

To skip maven-antrun-plugin in your pom.xml, use -Dmaven.antrun.skip=true.

like image 124
J Fabian Meier Avatar answered Oct 23 '25 19:10

J Fabian Meier