[ http://jira.codehaus.org/browse/MANTRUN-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann updated MANTRUN-88: ------------------------------------- Description: [INFO] [help:effective-settings] [INFO] Effective settings: {code:xml} <?xml version="1.0"?> <settings> <localRepository>/home/tdiesler/.m2/repository</localRepository> <profiles> <profile> <properties> <jboss.local.repository>/home/tdiesler/svn/jboss.local.repository</jboss.local.repository> </properties> </profile> </profiles> <activeProfiles> <activeProfile>jbossws</activeProfile> </activeProfiles> </settings> {code} This executes {code:xml} <tasks if="jboss.local.repository"> <property name="version.id" value="${project.version}"/> <property name="jboss.local.repository" value="${jboss.local.repository}"/> <echo message="Install to jboss.local.repository=${jboss.local.repository}"/> <ant antfile="ant/build-install.xml" target="install"/> </tasks> {code} because 'jboss.local.repository' is set, however later the property has no value [INFO] Executing tasks [echo] Install to jboss.local.repository=${jboss.local.repository} init: [echo] version.id=3.0.2-SNAPSHOT [echo] repository.id=3.0.2-SNAPSHOT [echo] jboss.local.repository=${jboss.local.repository} was: [INFO] [help:effective-settings] [INFO] Effective settings: <?xml version="1.0"?><settings> <localRepository>/home/tdiesler/.m2/repository</localRepository> <profiles> <profile> <properties> <jboss.local.repository>/home/tdiesler/svn/jboss.local.repository</jboss.local.repository> </properties> </profile> </profiles> <activeProfiles> <activeProfile>jbossws</activeProfile> </activeProfiles> </settings> This executes <tasks if="jboss.local.repository"> <property name="version.id" value="${project.version}"/> <property name="jboss.local.repository" value="${jboss.local.repository}"/> <echo message="Install to jboss.local.repository=${jboss.local.repository}"/> <ant antfile="ant/build-install.xml" target="install"/> </tasks> because 'jboss.local.repository' is set, however later the property has no value [INFO] Executing tasks [echo] Install to jboss.local.repository=${jboss.local.repository} init: [echo] version.id=3.0.2-SNAPSHOT [echo] repository.id=3.0.2-SNAPSHOT [echo] jboss.local.repository=${jboss.local.repository} > Profile properties not handled correctly > ---------------------------------------- > > Key: MANTRUN-88 > URL: http://jira.codehaus.org/browse/MANTRUN-88 > Project: Maven 2.x Antrun Plugin > Issue Type: Bug > Reporter: Thomas Diesler > > [INFO] [help:effective-settings] > [INFO] > Effective settings: > {code:xml} > <?xml version="1.0"?> > <settings> > <localRepository>/home/tdiesler/.m2/repository</localRepository> > <profiles> > <profile> > <properties> > > <jboss.local.repository>/home/tdiesler/svn/jboss.local.repository</jboss.local.repository> > </properties> > </profile> > </profiles> > <activeProfiles> > <activeProfile>jbossws</activeProfile> > </activeProfiles> > </settings> > {code} > This executes > {code:xml} > <tasks if="jboss.local.repository"> > <property name="version.id" value="${project.version}"/> > <property name="jboss.local.repository" value="${jboss.local.repository}"/> > <echo message="Install to > jboss.local.repository=${jboss.local.repository}"/> > <ant antfile="ant/build-install.xml" target="install"/> > </tasks> > {code} > because 'jboss.local.repository' is set, however later the property has no > value > [INFO] Executing tasks > [echo] Install to jboss.local.repository=${jboss.local.repository} > init: > [echo] version.id=3.0.2-SNAPSHOT > [echo] repository.id=3.0.2-SNAPSHOT > [echo] jboss.local.repository=${jboss.local.repository} -- 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