[ http://jira.codehaus.org/browse/MANTRUN-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_105937 ]
Lukas Bradley commented on MANTRUN-56: -------------------------------------- It would be great to have a solution for this problem. The inclusion of the optional Ant tasks by default would be fantastic. > 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 > 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