No ant tasks run after artifact:mvn
-----------------------------------
Key: MANTTASKS-196
URL: http://jira.codehaus.org/browse/MANTTASKS-196
Project: Maven 2.x Ant Tasks
Issue Type: Bug
Affects Versions: 2.1.0
Environment: Windows XP, Maven 2.2.1, Java 1.5
Reporter: Douglass Parker
After invocation of artifact:mvn, no subsequent ant tasks run, even if
artifact:mvn executes sucessfully. A simple example:
<project name="Foo" default="help" basedir="."
xmlns:artifact="antlib:org.apache.maven.artifact.ant">
<path id="maven-ant-tasks.classpath"
path="path/to/maven-ant-tasks-2.1.0.jar" />
<typedef resource="org/apache/maven/artifact/ant/antlib.xml"
uri="antlib:org.apache.maven.artifact.ant"
classpathref="maven-ant-tasks.classpath" />
<target name="maven_install" description="Invokes Maven install" >
<artifact:mvn pom="path/to/some/pom.xml"
mavenHome="path/to/maven/home">
<arg value="-Dmaven.test.skip=true"/>
<arg value="clean"/>
<arg value="install"/>
</artifact:mvn>
<echo>Install finished</echo>
</target>
</project>
The echo task will not be executed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira