[ http://jira.codehaus.org/browse/MEV-219?page=all ]
Vincent Massol closed MEV-219:
------------------------------
Resolution: Won't Fix
Hi Matt. Sorry to disappoint you but the Ant dependency is required. This is
because we're using Ant internally in lots of places (to start container using
the Java Ant task, to copy files, to delete directories, etc).
In particular if I make the dependency optional the Cargo m1 and m2 plugins are
going to fail as they don't have ant in their classpaths. I guess yours (using
the m2 Ant task I imgine) is the only use case where we could make Ant optional
as it's provided by your running environment. However we need to support m1 and
m2 plugins too...
> Cargo should list ant as optional
> ---------------------------------
>
> Key: MEV-219
> URL: http://jira.codehaus.org/browse/MEV-219
> Project: Maven Evangelism
> Type: Improvement
> Components: Invalid POM
> Reporter: Matt Raible
> Assignee: Vincent Massol
>
>
> It seems reasonable that Cargo should list Ant as an optional dependency
> (unless it isn't of course), I can exclude it and everything continues to
> work fine for me. Of course, I'm also running my targets from Ant. ;-)
> <dependency>
> <artifactId>cargo</artifactId>
> <groupId>cargo</groupId>
> <version>0.6</version>
> <scope>test</scope>
> <exclusions>
> <exclusion>
> <artifactId>ant</artifactId>
> <groupId>ant</groupId>
> </exclusion>
> </exclusions>
> </dependency>
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]