Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
[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}
Attachments
Issue Links
- relates to
-
MANTRUN-40 Properties defined in pom <properties> do not propagate to the antrun environment
- Closed