[ http://jira.codehaus.org/browse/MNG-668?page=all ]
Brett Porter closed MNG-668:
----------------------------
Assign To: Brett Porter
Resolution: Duplicate
Fix Version: (was: 2.0-beta-1)
> The Maven antlib task <artifact:dependencies> should also be able to retrieve
> artifacts that don't have a POM.
> --------------------------------------------------------------------------------------------------------------
>
> Key: MNG-668
> URL: http://jira.codehaus.org/browse/MNG-668
> Project: Maven 2
> Type: Improvement
> Components: maven-artifact-ant
> Versions: 2.0-alpha-3
> Environment: Not of importance.
> Reporter: Davy Toch
> Assignee: Brett Porter
>
>
> It is a good idea of having an ANT plugin to retrieve dependencies from a
> Maven repository. However, the task <artifact:dependencies> apparently needs
> to find a POM for every artifact it needs to retrieve.
> A solution for dependencies that don't have a POM is to use another
> dependency manager (Ivy, Savant, ...), but the problem with this is that the
> ANT scripting becomes more cumbersome (use Maven Antlib for dependency A, use
> Ivy for dependency B, ...).
> I think it would be a great improvement in the Maven antlib (currently
> alpha-3) to have an optional attribute for every <dependency> that would
> indicate that only the dependency should be retrieved and that for example
> POM retrieval & validation shouldn't be done, as illustrated in the following
> extract of my ANT script:
>
> ...
> <artifact:dependencies>
> <!-- POM retrieval & validation & dependency retrieval -->
> <dependency groupId="sis2" artifactId="sis2-common" version="0.1" />
> <!-- only dependency retrieval -->
> <dependency groupId="sis2" artifactId="sis2-web" version="0.1"
> nopom="true" />
> </artifact:dependencies>
> ...
> Regards,
> Davy Toch
--
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]