Last active
November 3, 2016 15:41
-
-
Save devbhuwan/28b80c1d7320c30bdd02c661897e4915 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<!-- Ant Maven Plugin --> | |
<artifactId>maven-antrun-plugin</artifactId> | |
<version>1.8</version> | |
<dependencies> | |
<!-- For Ant Contrib Tasks --> | |
<dependency> | |
<groupId>ant-contrib</groupId> | |
<artifactId>ant-contrib</artifactId> | |
<version>1.0b3</version> | |
<exclusions> | |
<exclusion> | |
<groupId>ant</groupId> | |
<artifactId>ant</artifactId> | |
</exclusion> | |
</exclusions> | |
</dependency> | |
</dependencies> | |
<executions> | |
<!-- Execution Definition --> | |
<execution> | |
<id>antRun</id> | |
<phase>prepare-package</phase> | |
<goals> | |
<goal>run</goal> | |
</goals> | |
<configuration> | |
<failOnError>true</failOnError> | |
<target> | |
<!-- Properties pass to antBuild Target --> | |
<property name="buildDir" value="${project.build.directory}"/> | |
<property name="srcDir" value="${project.build.directory}"/> | |
<!-- Good way to separate antBuild config from pom otherwise it becomes dirty pom --> | |
<ant antFile="antBuild.xml" target="antBuild"/> | |
</target> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment