You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Justin Wunderle (JIRA)" <ji...@codehaus.org> on 2013/01/08 20:57:13 UTC
[jira] (MANTTASKS-204) Version 2.1.1 of mvn task without maven
install still uses Maven 2.0.10
[ https://jira.codehaus.org/browse/MANTTASKS-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=316983#comment-316983 ]
Justin Wunderle commented on MANTTASKS-204:
-------------------------------------------
This is causing a build to fail for me too, due to bad interpolation in Maven 2.0.x. One of my dependencies' parent poms contains something like:
{code:xml}
<properties>
<test.property>http://example.com/?foo=bar&baz=quux</test.property>
<interpolated.property>${test.property}</interpolated.property>
</properties>
{code}
Which causes an exception "Cannot read project model from interpolating filter of serialized version." in 2.0.x and is fine in 2.2.x
> Version 2.1.1 of mvn task without maven install still uses Maven 2.0.10
> -----------------------------------------------------------------------
>
> Key: MANTTASKS-204
> URL: https://jira.codehaus.org/browse/MANTTASKS-204
> Project: Maven 2.x Ant Tasks
> Issue Type: Bug
> Components: mvn task
> Affects Versions: 2.1.1
> Environment: Mac OSX 10.6.4
> Reporter: Kelly Davis
>
> I am running the mvn task and it appears that version 2.1.1 of the Maven Ant Tasks is still using version 2.0.10 of Maven when you don't specify a local installation.
> <artifact:mvn pom="pom.xml">
> <arg value="--version"/>
> </artifact:mvn>
> results in:
> [artifact:mvn] Maven version: 2.0.10
> [artifact:mvn] Java version: 1.6.0_22
> [artifact:mvn] OS name: "mac os x" version: "10.6.4" arch: "x86_64" Family: "mac"
> The current docs indicate that it should be using 2.2.1.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira