Menu
  • HOME
  • TAGS

How to fail Ant build when mvn task fails?

java,maven,ant,build,maven-ant-tasks

The mvn task is a subclass of the Ant java task and supports all of its options The task may fail right away with failonerror="true" or you might verify resultproperty later on. By default the return code of a <java> is ignored. Alternatively, you can set resultproperty to the...

How to install artifact using maven-antrun-plugin?

maven,maven-ant-tasks

What I do and work for me was to add a new maven-jar project and change the source folder so it points to the mentioned folder. Then I exclude the packages so it can generate the required jar. Repeat for every jar I have to make this way. Add this...