You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Holger Brands (JIRA)" <ji...@codehaus.org> on 2011/07/26 21:46:42 UTC

[jira] Commented: (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=274289#comment-274289 ] 

Holger Brands commented on MANTTASKS-204:
-----------------------------------------

The issue is still present in maven ant tasks version 2.1.3

I had a timeout configured in my maven settings:
...
	<server>
	  <id>central</id>
	  <configuration>
	    <timeout>320000</timeout>
	  </configuration>
	</server>
...

which works with Maven 2.2.1, but apparently not with 2.0.10.

The error message in the output was also not helpful, it just told me it could not download artifact from remote repo.
Only in the debug output I saw the info "Unable to apply wagon configuration", which finally gave me a hint.





> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira