[ http://jira.codehaus.org/browse/MANTTASKS-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy updated MANTTASKS-70:
-----------------------------------
Affects Version/s: 2.0.4
2.0.6
Fix Version/s: 2.0.7
Component/s: dependencies task
> m2 tasks not reentrant
> ----------------------
>
> Key: MANTTASKS-70
> URL: http://jira.codehaus.org/browse/MANTTASKS-70
> Project: Maven 2.x Ant Tasks
> Issue Type: Bug
> Components: dependencies task
> Affects Versions: 2.0.2, 2.0.4, 2.0.6
> Reporter: Steve Loughran
> Fix For: 2.0.7
>
>
> Recall that in ant it handles dependencies different on the command line for no rational
reason other than history. So this command runs a target that uses m2:depends twice:
> ant test-classpath test-classpath
> This fails with an error the second time round, claiming that the dest path already exists
> build.xml
> init:
> test-classpath:
> unspecified:unspecified:jar:0.0 (selected)
> jtidy:jtidy:jar:4aug2000r7-dev (selected)
> junit:junit:jar:3.8.1 (selected)
> cactus:cactus:jar:13-1.7.1 (selected)
> cargo:cargo:jar:0.5 (selected)
> cactus:cactus-ant:jar:13-1.7.1 (selected)
> commons-logging:commons-logging:jar:1.0.4 (selected)
> httpunit:httpunit:jar:1.6 (selected)
> nekohtml:nekohtml:jar:0.9.1 (selected)
> xerces:xerces:jar:2.4.0 (selected)
> servletapi:servletapi:jar:2.3 (selected)
> rhino:js:jar:1.5R4.1 (selected)
> xerces:xmlParserAPIs:jar:2.2.1 (selected)
> xerces:xercesImpl:jar:2.6.2 (selected)
> aspectj:aspectjrt:jar:1.2.1 (selected)
> commons-httpclient:commons-httpclient:jar:2.0.2 (selected)
> commons-logging:commons-logging:jar:1.0.3 (removed - nearer found: 1.0.4)
> httpunit:httpunit:jar:1.6 (selected)
> nekohtml:nekohtml:jar:0.9.1 (selected)
> xerces:xerces:jar:2.4.0 (selected)
> servletapi:servletapi:jar:2.3 (selected)
> rhino:js:jar:1.5R4.1 (selected)
> xerces:xmlParserAPIs:jar:2.2.1 (selected)
> xerces:xercesImpl:jar:2.6.2 (selected)
> init:
> test-classpath:
> unspecified:unspecified:jar:0.0 (selected)
> jtidy:jtidy:jar:4aug2000r7-dev (selected)
> junit:junit:jar:3.8.1 (selected)
> cactus:cactus:jar:13-1.7.1 (selected)
> cargo:cargo:jar:0.5 (selected)
> cactus:cactus-ant:jar:13-1.7.1 (selected)
> commons-logging:commons-logging:jar:1.0.4 (selected)
> httpunit:httpunit:jar:1.6 (selected)
> nekohtml:nekohtml:jar:0.9.1 (selected)
> xerces:xerces:jar:2.4.0 (selected)
> servletapi:servletapi:jar:2.3 (selected)
> rhino:js:jar:1.5R4.1 (selected)
> xerces:xmlParserAPIs:jar:2.2.1 (selected)
> xerces:xercesImpl:jar:2.6.2 (selected)
> aspectj:aspectjrt:jar:1.2.1 (selected)
> commons-httpclient:commons-httpclient:jar:2.0.2 (selected)
> commons-logging:commons-logging:jar:1.0.3 (removed - nearer found: 1.0.4)
> httpunit:httpunit:jar:1.6 (selected)
> nekohtml:nekohtml:jar:0.9.1 (selected)
> xerces:xerces:jar:2.4.0 (selected)
> servletapi:servletapi:jar:2.3 (selected)
> rhino:js:jar:1.5R4.1 (selected)
> xerces:xmlParserAPIs:jar:2.2.1 (selected)
> xerces:xercesImpl:jar:2.6.2 (selected)
> [ext:libraries] An error has occurred while processing the Maven artifact tasks.[ext:libraries]
Diagnosis:
> [ext:libraries]
> [ext:libraries] Reference ID test.compile.classpath already exists
> Recommend: check for the output ID existing and skip the process with nothing more than
a message. Its the Ant way :)
--
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
|