Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • 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
    • Number of attachments :
      0

      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.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated: