[ 
http://jira.codehaus.org/browse/MANTTASKS-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann moved MNG-668 to MANTTASKS-127:
-------------------------------------------------

    Affects Version/s:     (was: 2.0-alpha-3)
                       2.0-alpha-3
          Component/s:     (was: Ant tasks)
                       dependencies task
                  Key: MANTTASKS-127  (was: MNG-668)
              Project: Maven 2.x Ant Tasks  (was: Maven 2)

> The Maven antlib task <artifact:dependencies> should also be able to retrieve 
> artifacts that don't have a POM.
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: MANTTASKS-127
>                 URL: http://jira.codehaus.org/browse/MANTTASKS-127
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Improvement
>          Components: dependencies task
>    Affects 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

        

Reply via email to