You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Niall Pemberton (JIRA)" <ji...@codehaus.org> on 2008/06/30 14:21:26 UTC
[jira] Created: (MNG-3639) Ant 1.7.0 Task not found after upgrading
from Maven 2.0.8 to 2.0.9
Ant 1.7.0 Task not found after upgrading from Maven 2.0.8 to 2.0.9
------------------------------------------------------------------
Key: MNG-3639
URL: http://jira.codehaus.org/browse/MNG-3639
Project: Maven 2
Issue Type: Bug
Components: Ant tasks
Affects Versions: 2.0.8
Reporter: Niall Pemberton
Attachments: mvn-2.0.8-output.txt, mvn-2.0.9-output.txt, pom.xml
Apache Commons has a maven ant plugin (called commons-build-plugin[1]) which has a dependency on Ant 1.7.0 and uses the loadresource task (which was added to Ant in version 1.7.0). The plugin works fine for maven 2.0.8, but after upgrading to 2.0.9 fails with the message "Could not create task or type of type: loadresource." (see attached output).
This has been raised on the maven dev list in the following thread:
http://markmail.org/message/tv37c37fjyzx6l6k
I am attaching a simple pom.xml that reproduces this problem with the following command:
mvn commons:jira-page
(N.B. create either a "xdocs" or "src/xdoc" directory in the project)
[1] http://svn.apache.org/viewvc/commons/proper/commons-build-plugin/tags/commons-build-plugin-1.0/
--
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
[jira] Commented: (MNG-3639) Ant 1.7.0 Task not found after
upgrading from Maven 2.0.8 to 2.0.9
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=141729#action_141729 ]
John Casey commented on MNG-3639:
---------------------------------
it looks like it's grabbing the ant 1.6.5 dependency - a 3rd-level transitive dependency from maven-script-ant - instead of the direct dep on ant 1.7.0, apparently because maven-script-ant is listed first. I'll have to check on the nearest-wins conflict resolution mechanism to make sure it's working
> Ant 1.7.0 Task not found after upgrading from Maven 2.0.8 to 2.0.9
> ------------------------------------------------------------------
>
> Key: MNG-3639
> URL: http://jira.codehaus.org/browse/MNG-3639
> Project: Maven 2
> Issue Type: Bug
> Components: Ant tasks
> Affects Versions: 2.0.8
> Reporter: Niall Pemberton
> Assignee: John Casey
> Fix For: 2.0.10
>
> Attachments: mvn-2.0.8-output.txt, mvn-2.0.9-output.txt, pom.xml
>
>
> Apache Commons has a maven ant plugin (called commons-build-plugin[1]) which has a dependency on Ant 1.7.0 and uses the loadresource task (which was added to Ant in version 1.7.0). The plugin works fine for maven 2.0.8, but after upgrading to 2.0.9 fails with the message "Could not create task or type of type: loadresource." (see attached output).
> This has been raised on the maven dev list in the following thread:
> http://markmail.org/message/tv37c37fjyzx6l6k
> I am attaching a simple pom.xml that reproduces this problem with the following command:
> mvn commons:jira-page
> (N.B. create either a "xdocs" or "src/xdoc" directory in the project)
> [1] http://svn.apache.org/viewvc/commons/proper/commons-build-plugin/tags/commons-build-plugin-1.0/
--
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
[jira] Commented: (MNG-3639) Ant 1.7.0 Task not found after
upgrading from Maven 2.0.8 to 2.0.9
Posted by "Niall Pemberton (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=141528#action_141528 ]
Niall Pemberton commented on MNG-3639:
--------------------------------------
Dennis Lundberg just made a change to the plugin's pom[1] for another issue[2] and this seems to have resolved the problem with maven 2.0.9. I guess adding the <exclusion> for ant's old groupid sorted it out, although I still don't know why it worked without the exclusion for maven 2.0.8
I leave it up to you to decide whether theres any issue left here to resolve - if not, then my apologies.
[1] http://svn.apache.org/viewvc?view=rev&revision=676039
[2] https://issues.apache.org/jira/browse/COMMONSSITE-35
> Ant 1.7.0 Task not found after upgrading from Maven 2.0.8 to 2.0.9
> ------------------------------------------------------------------
>
> Key: MNG-3639
> URL: http://jira.codehaus.org/browse/MNG-3639
> Project: Maven 2
> Issue Type: Bug
> Components: Ant tasks
> Affects Versions: 2.0.8
> Reporter: Niall Pemberton
> Assignee: John Casey
> Fix For: 2.0.10
>
> Attachments: mvn-2.0.8-output.txt, mvn-2.0.9-output.txt, pom.xml
>
>
> Apache Commons has a maven ant plugin (called commons-build-plugin[1]) which has a dependency on Ant 1.7.0 and uses the loadresource task (which was added to Ant in version 1.7.0). The plugin works fine for maven 2.0.8, but after upgrading to 2.0.9 fails with the message "Could not create task or type of type: loadresource." (see attached output).
> This has been raised on the maven dev list in the following thread:
> http://markmail.org/message/tv37c37fjyzx6l6k
> I am attaching a simple pom.xml that reproduces this problem with the following command:
> mvn commons:jira-page
> (N.B. create either a "xdocs" or "src/xdoc" directory in the project)
> [1] http://svn.apache.org/viewvc/commons/proper/commons-build-plugin/tags/commons-build-plugin-1.0/
--
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
[jira] Commented: (MNG-3639) Ant 1.7.0 Task not found after
upgrading from Maven 2.0.8 to 2.0.9
Posted by "Niall Pemberton (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=141876#action_141876 ]
Niall Pemberton commented on MNG-3639:
--------------------------------------
Thanks, we just released a new version (1.1) of the plugin using the dependency/exclude pattern:
hhttp://repo1.maven.org/maven2/org/apache/commons/commons-build-plugin/1.1/
> Ant 1.7.0 Task not found after upgrading from Maven 2.0.8 to 2.0.9
> ------------------------------------------------------------------
>
> Key: MNG-3639
> URL: http://jira.codehaus.org/browse/MNG-3639
> Project: Maven 2
> Issue Type: Bug
> Components: Ant tasks
> Affects Versions: 2.0.8
> Reporter: Niall Pemberton
> Assignee: John Casey
> Fix For: 2.0.10
>
> Attachments: mvn-2.0.8-output.txt, mvn-2.0.9-output.txt, pom.xml
>
>
> Apache Commons has a maven ant plugin (called commons-build-plugin[1]) which has a dependency on Ant 1.7.0 and uses the loadresource task (which was added to Ant in version 1.7.0). The plugin works fine for maven 2.0.8, but after upgrading to 2.0.9 fails with the message "Could not create task or type of type: loadresource." (see attached output).
> This has been raised on the maven dev list in the following thread:
> http://markmail.org/message/tv37c37fjyzx6l6k
> I am attaching a simple pom.xml that reproduces this problem with the following command:
> mvn commons:jira-page
> (N.B. create either a "xdocs" or "src/xdoc" directory in the project)
> [1] http://svn.apache.org/viewvc/commons/proper/commons-build-plugin/tags/commons-build-plugin-1.0/
--
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
[jira] Commented: (MNG-3639) Ant 1.7.0 Task not found after
upgrading from Maven 2.0.8 to 2.0.9
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=141572#action_141572 ]
Dennis Lundberg commented on MNG-3639:
--------------------------------------
For the record, running the commons-plugin failed for me on Windows using Maven 2.0.8. I got the same error message then, that Niall got when he ran with Maven 2.0.9. This was *before* I added the exclusions, but *after* I upgraded to Ant 1.7.1.
> Ant 1.7.0 Task not found after upgrading from Maven 2.0.8 to 2.0.9
> ------------------------------------------------------------------
>
> Key: MNG-3639
> URL: http://jira.codehaus.org/browse/MNG-3639
> Project: Maven 2
> Issue Type: Bug
> Components: Ant tasks
> Affects Versions: 2.0.8
> Reporter: Niall Pemberton
> Assignee: John Casey
> Fix For: 2.0.10
>
> Attachments: mvn-2.0.8-output.txt, mvn-2.0.9-output.txt, pom.xml
>
>
> Apache Commons has a maven ant plugin (called commons-build-plugin[1]) which has a dependency on Ant 1.7.0 and uses the loadresource task (which was added to Ant in version 1.7.0). The plugin works fine for maven 2.0.8, but after upgrading to 2.0.9 fails with the message "Could not create task or type of type: loadresource." (see attached output).
> This has been raised on the maven dev list in the following thread:
> http://markmail.org/message/tv37c37fjyzx6l6k
> I am attaching a simple pom.xml that reproduces this problem with the following command:
> mvn commons:jira-page
> (N.B. create either a "xdocs" or "src/xdoc" directory in the project)
> [1] http://svn.apache.org/viewvc/commons/proper/commons-build-plugin/tags/commons-build-plugin-1.0/
--
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
[jira] Commented: (MNG-3639) Ant 1.7.0 Task not found after
upgrading from Maven 2.0.8 to 2.0.9
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=141730#action_141730 ]
John Casey commented on MNG-3639:
---------------------------------
whoops, you're right, the conflict resolution isn't happening because of the groupId change...we may need to look into a relocation for ant or something...
> Ant 1.7.0 Task not found after upgrading from Maven 2.0.8 to 2.0.9
> ------------------------------------------------------------------
>
> Key: MNG-3639
> URL: http://jira.codehaus.org/browse/MNG-3639
> Project: Maven 2
> Issue Type: Bug
> Components: Ant tasks
> Affects Versions: 2.0.8
> Reporter: Niall Pemberton
> Assignee: John Casey
> Fix For: 2.0.10
>
> Attachments: mvn-2.0.8-output.txt, mvn-2.0.9-output.txt, pom.xml
>
>
> Apache Commons has a maven ant plugin (called commons-build-plugin[1]) which has a dependency on Ant 1.7.0 and uses the loadresource task (which was added to Ant in version 1.7.0). The plugin works fine for maven 2.0.8, but after upgrading to 2.0.9 fails with the message "Could not create task or type of type: loadresource." (see attached output).
> This has been raised on the maven dev list in the following thread:
> http://markmail.org/message/tv37c37fjyzx6l6k
> I am attaching a simple pom.xml that reproduces this problem with the following command:
> mvn commons:jira-page
> (N.B. create either a "xdocs" or "src/xdoc" directory in the project)
> [1] http://svn.apache.org/viewvc/commons/proper/commons-build-plugin/tags/commons-build-plugin-1.0/
--
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
[jira] Closed: (MNG-3639) Ant 1.7.0 Task not found after upgrading
from Maven 2.0.8 to 2.0.9
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Casey closed MNG-3639.
---------------------------
Resolution: Fixed
plugin in question has been released with its own exclusions for old ant artifacts.
> Ant 1.7.0 Task not found after upgrading from Maven 2.0.8 to 2.0.9
> ------------------------------------------------------------------
>
> Key: MNG-3639
> URL: http://jira.codehaus.org/browse/MNG-3639
> Project: Maven 2
> Issue Type: Bug
> Components: Ant tasks
> Affects Versions: 2.0.8
> Reporter: Niall Pemberton
> Assignee: John Casey
> Fix For: 2.0.10
>
> Attachments: mvn-2.0.8-output.txt, mvn-2.0.9-output.txt, pom.xml
>
>
> Apache Commons has a maven ant plugin (called commons-build-plugin[1]) which has a dependency on Ant 1.7.0 and uses the loadresource task (which was added to Ant in version 1.7.0). The plugin works fine for maven 2.0.8, but after upgrading to 2.0.9 fails with the message "Could not create task or type of type: loadresource." (see attached output).
> This has been raised on the maven dev list in the following thread:
> http://markmail.org/message/tv37c37fjyzx6l6k
> I am attaching a simple pom.xml that reproduces this problem with the following command:
> mvn commons:jira-page
> (N.B. create either a "xdocs" or "src/xdoc" directory in the project)
> [1] http://svn.apache.org/viewvc/commons/proper/commons-build-plugin/tags/commons-build-plugin-1.0/
--
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
[jira] Issue Comment Edited: (MNG-3639) Ant 1.7.0 Task not found
after upgrading from Maven 2.0.8 to 2.0.9
Posted by "Niall Pemberton (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=141876#action_141876 ]
niallp edited comment on MNG-3639 at 7/15/08 2:40 PM:
---------------------------------------------------------------
Thanks, we just released a new version (1.1) of the plugin using the dependency/exclude pattern:
http://repo1.maven.org/maven2/org/apache/commons/commons-build-plugin/1.1/
was (Author: niallp):
Thanks, we just released a new version (1.1) of the plugin using the dependency/exclude pattern:
hhttp://repo1.maven.org/maven2/org/apache/commons/commons-build-plugin/1.1/
> Ant 1.7.0 Task not found after upgrading from Maven 2.0.8 to 2.0.9
> ------------------------------------------------------------------
>
> Key: MNG-3639
> URL: http://jira.codehaus.org/browse/MNG-3639
> Project: Maven 2
> Issue Type: Bug
> Components: Ant tasks
> Affects Versions: 2.0.8
> Reporter: Niall Pemberton
> Assignee: John Casey
> Fix For: 2.0.10
>
> Attachments: mvn-2.0.8-output.txt, mvn-2.0.9-output.txt, pom.xml
>
>
> Apache Commons has a maven ant plugin (called commons-build-plugin[1]) which has a dependency on Ant 1.7.0 and uses the loadresource task (which was added to Ant in version 1.7.0). The plugin works fine for maven 2.0.8, but after upgrading to 2.0.9 fails with the message "Could not create task or type of type: loadresource." (see attached output).
> This has been raised on the maven dev list in the following thread:
> http://markmail.org/message/tv37c37fjyzx6l6k
> I am attaching a simple pom.xml that reproduces this problem with the following command:
> mvn commons:jira-page
> (N.B. create either a "xdocs" or "src/xdoc" directory in the project)
> [1] http://svn.apache.org/viewvc/commons/proper/commons-build-plugin/tags/commons-build-plugin-1.0/
--
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
[jira] Commented: (MNG-3639) Ant 1.7.0 Task not found after
upgrading from Maven 2.0.8 to 2.0.9
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=141863#action_141863 ]
John Casey commented on MNG-3639:
---------------------------------
I've added org.apache.ant dependencies to maven-script-ant (since plexus-ant-factory seems like it's moved on to maven-2.1 compatibility), and excluded the 'ant' groupId from plexus-ant-factory.
To fix the commons-build-plugin executions, you'll need to wait until maven 2.0.10 comes out, then upgrade the dependency on maven-script-ant to 2.0.10, and re-release the plugin. At this point, you *should* still be able to use the plugin from other versions of maven, I'm about 95% sure.
Either you can update your own pom to use this dependency/exclude pattern, or you can update to a new dependency version on maven-script-ant...in either case, you will need to re-release the plugin. This is because there is no logical bridge in place for maven to match 'ant' == 'org.apache.ant'.
> Ant 1.7.0 Task not found after upgrading from Maven 2.0.8 to 2.0.9
> ------------------------------------------------------------------
>
> Key: MNG-3639
> URL: http://jira.codehaus.org/browse/MNG-3639
> Project: Maven 2
> Issue Type: Bug
> Components: Ant tasks
> Affects Versions: 2.0.8
> Reporter: Niall Pemberton
> Assignee: John Casey
> Fix For: 2.0.10
>
> Attachments: mvn-2.0.8-output.txt, mvn-2.0.9-output.txt, pom.xml
>
>
> Apache Commons has a maven ant plugin (called commons-build-plugin[1]) which has a dependency on Ant 1.7.0 and uses the loadresource task (which was added to Ant in version 1.7.0). The plugin works fine for maven 2.0.8, but after upgrading to 2.0.9 fails with the message "Could not create task or type of type: loadresource." (see attached output).
> This has been raised on the maven dev list in the following thread:
> http://markmail.org/message/tv37c37fjyzx6l6k
> I am attaching a simple pom.xml that reproduces this problem with the following command:
> mvn commons:jira-page
> (N.B. create either a "xdocs" or "src/xdoc" directory in the project)
> [1] http://svn.apache.org/viewvc/commons/proper/commons-build-plugin/tags/commons-build-plugin-1.0/
--
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
[jira] Updated: (MNG-3639) Ant 1.7.0 Task not found after upgrading
from Maven 2.0.8 to 2.0.9
Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Fox updated MNG-3639:
---------------------------
Fix Version/s: 2.0.10
> Ant 1.7.0 Task not found after upgrading from Maven 2.0.8 to 2.0.9
> ------------------------------------------------------------------
>
> Key: MNG-3639
> URL: http://jira.codehaus.org/browse/MNG-3639
> Project: Maven 2
> Issue Type: Bug
> Components: Ant tasks
> Affects Versions: 2.0.8
> Reporter: Niall Pemberton
> Fix For: 2.0.10
>
> Attachments: mvn-2.0.8-output.txt, mvn-2.0.9-output.txt, pom.xml
>
>
> Apache Commons has a maven ant plugin (called commons-build-plugin[1]) which has a dependency on Ant 1.7.0 and uses the loadresource task (which was added to Ant in version 1.7.0). The plugin works fine for maven 2.0.8, but after upgrading to 2.0.9 fails with the message "Could not create task or type of type: loadresource." (see attached output).
> This has been raised on the maven dev list in the following thread:
> http://markmail.org/message/tv37c37fjyzx6l6k
> I am attaching a simple pom.xml that reproduces this problem with the following command:
> mvn commons:jira-page
> (N.B. create either a "xdocs" or "src/xdoc" directory in the project)
> [1] http://svn.apache.org/viewvc/commons/proper/commons-build-plugin/tags/commons-build-plugin-1.0/
--
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
[jira] Updated: (MNG-3639) Ant 1.7.0 Task not found after upgrading
from Maven 2.0.8 to 2.0.9
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann updated MNG-3639:
-----------------------------------
Component/s: (was: Ant tasks)
Dependencies
Class Loading
> Ant 1.7.0 Task not found after upgrading from Maven 2.0.8 to 2.0.9
> ------------------------------------------------------------------
>
> Key: MNG-3639
> URL: http://jira.codehaus.org/browse/MNG-3639
> Project: Maven 2
> Issue Type: Bug
> Components: Class Loading, Dependencies
> Affects Versions: 2.0.8
> Reporter: Niall Pemberton
> Assignee: John Casey
> Fix For: 2.0.10, 2.1.0-M1
>
> Attachments: mvn-2.0.8-output.txt, mvn-2.0.9-output.txt, pom.xml
>
>
> Apache Commons has a maven ant plugin (called commons-build-plugin[1]) which has a dependency on Ant 1.7.0 and uses the loadresource task (which was added to Ant in version 1.7.0). The plugin works fine for maven 2.0.8, but after upgrading to 2.0.9 fails with the message "Could not create task or type of type: loadresource." (see attached output).
> This has been raised on the maven dev list in the following thread:
> http://markmail.org/message/tv37c37fjyzx6l6k
> I am attaching a simple pom.xml that reproduces this problem with the following command:
> mvn commons:jira-page
> (N.B. create either a "xdocs" or "src/xdoc" directory in the project)
> [1] http://svn.apache.org/viewvc/commons/proper/commons-build-plugin/tags/commons-build-plugin-1.0/
--
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
[jira] Updated: (MNG-3639) Ant 1.7.0 Task not found after upgrading
from Maven 2.0.8 to 2.0.9
Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-3639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Fox updated MNG-3639:
---------------------------
Assignee: John Casey
Fix Version/s: (was: 2.0.11)
2.0.10
John, this looks like a possible regression introduced in 2.0.9, as such, we should take another look for 2.0.10
> Ant 1.7.0 Task not found after upgrading from Maven 2.0.8 to 2.0.9
> ------------------------------------------------------------------
>
> Key: MNG-3639
> URL: http://jira.codehaus.org/browse/MNG-3639
> Project: Maven 2
> Issue Type: Bug
> Components: Ant tasks
> Affects Versions: 2.0.8
> Reporter: Niall Pemberton
> Assignee: John Casey
> Fix For: 2.0.10
>
> Attachments: mvn-2.0.8-output.txt, mvn-2.0.9-output.txt, pom.xml
>
>
> Apache Commons has a maven ant plugin (called commons-build-plugin[1]) which has a dependency on Ant 1.7.0 and uses the loadresource task (which was added to Ant in version 1.7.0). The plugin works fine for maven 2.0.8, but after upgrading to 2.0.9 fails with the message "Could not create task or type of type: loadresource." (see attached output).
> This has been raised on the maven dev list in the following thread:
> http://markmail.org/message/tv37c37fjyzx6l6k
> I am attaching a simple pom.xml that reproduces this problem with the following command:
> mvn commons:jira-page
> (N.B. create either a "xdocs" or "src/xdoc" directory in the project)
> [1] http://svn.apache.org/viewvc/commons/proper/commons-build-plugin/tags/commons-build-plugin-1.0/
--
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