[
http://jira.codehaus.org/browse/MANTTASKS-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=180510#action_180510
]
Paul Gier commented on MANTTASKS-153:
-------------------------------------
The cause appears to be that the MavenProjectBuilder used by the Ant tasks does
not pass any of the current properties to the Maven project.
> Properties defined in Ant are not passed to Maven
> -------------------------------------------------
>
> Key: MANTTASKS-153
> URL: http://jira.codehaus.org/browse/MANTTASKS-153
> Project: Maven 2.x Ant Tasks
> Issue Type: Bug
> Components: pom task
> Reporter: Paul Gier
>
> Properties that are available in Ant are not passed to Maven. For example if
> I define a dependency in my POM that uses a property for the version, there
> is currently no way to override this property on the command line. Any
> properties set when calling Ant via the command line or set during the Ant
> build should be available in the to the Maven project through the POM task
--
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