Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.1.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows XP, Maven 2.2.1, Java 1.5

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              douglassparker Douglass Parker
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: