You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2008/07/16 01:37:26 UTC
[jira] Closed: (MANTRUN-56) Automatically add ant optional jar to
antrun classpath
[ http://jira.codehaus.org/browse/MANTRUN-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carlos Sanchez closed MANTRUN-56.
---------------------------------
Assignee: Carlos Sanchez
Resolution: Won't Fix
Documented in http://maven.apache.org/plugins/maven-antrun-plugin/examples/customTasks.html (will be available soon) how to add dependencies to plugin
Adding dependencies to plugin by default is not a good idea as it will force the download of unused jars and there are many candidates to be included
> Automatically add ant optional jar to antrun classpath
> ------------------------------------------------------
>
> Key: MANTRUN-56
> URL: http://jira.codehaus.org/browse/MANTRUN-56
> Project: Maven 2.x Antrun Plugin
> Issue Type: Improvement
> Affects Versions: 1.1
> Environment: Maven 2.0.4, antrun 1.1, java 1.4.2_08, Windows XP SP2
> Reporter: Matthew Adams
> Assignee: Carlos Sanchez
> Attachments: pom.xml
>
>
> Please add the ant optional task jar to the pom for the antrun plugin, as recommended in MANTRUN-53. I've also had a look at MANTRUN-42. The instructions found at http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html don't really say much about it, except that they imply that every optional task should include an child <classpath refid="maven.plugin.classpath"/> element.
> I've tried this with <echoproperties/> to no avail. Execute "mvn install" in an empty directory with the attached pom.xml to repeat. I get the common error:
> Embedded error: Could not create task or type of type: echoproperties.
> Why can't we just include the ant optional task jar as a dependency in the antrun POM?
--
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