Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.1
    • Fix Version/s: None
    • Labels:
      None

      Description

      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
        <executions>
          <execution>
            <phase>install</phase>
            <goals>
              <goal>run</goal>
            </goals>
            <configuration>
              <tasks if="jboss.local.repository">
                <property name="version.id" value="${project.version}"/>
                <property name="jboss.local.repository" value="${jboss.local.repository}"/>
                <ant antfile="ant/build-install.xml" target="install"/>
              </tasks>
              <tasks unless="jboss.local.repository">
                <echo message="Cannot install to jboss.local.repository=${jboss.local.repository}"/>
              </tasks>
            </configuration>
          </execution>
        </executions>
      </plugin>
      

      Always executes the last tasks element although 'jboss.local.repository' is set

      [INFO] [antrun:run

      {execution: default}

      ]
      [INFO] Executing tasks
      [echo] Cannot install to jboss.local.repository=/home/tdiesler/svn/jboss.local.repository
      [INFO] Executed tasks

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pgier Paul Gier
                Reporter:
                tdiesler Thomas Diesler
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: