Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
1.1
-
None
-
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
- is related to
-
MNG-4487 POM allows duplicate plugin configuration
- Closed