Set a property when maven-ant is initted to let us specify two targets on the command line
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6351 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -20,7 +20,10 @@
|
|||||||
dest="${maven-ant.jar}" usetimestamp="true"/>
|
dest="${maven-ant.jar}" usetimestamp="true"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="-init-maven-ant" depends="-download-maven-ant">
|
<target name="-init-maven-ant" depends="-download-maven-ant"
|
||||||
|
unless="Maven was initted as the dependency of another task in Ant's sorry excuse for a dependency system">
|
||||||
|
<property name="Maven was initted as the dependency of another task in Ant's sorry excuse for a dependency system"
|
||||||
|
value="true"/>
|
||||||
<taskdef resource="org/apache/maven/artifact/ant/antlib.xml"
|
<taskdef resource="org/apache/maven/artifact/ant/antlib.xml"
|
||||||
uri="urn:maven-artifact-ant" classpath="${maven-ant.jar}"/>
|
uri="urn:maven-artifact-ant" classpath="${maven-ant.jar}"/>
|
||||||
<artifact:pom id="pom" file="pom.xml"/>
|
<artifact:pom id="pom" file="pom.xml"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user