You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Nicolas Lalevée (JIRA)" <ji...@apache.org> on 2009/11/12 23:16:39 UTC

[jira] Issue Comment Edited: (IVY-1003) Add support for transitive retrieval of source and javadoc artifacts

    [ https://issues.apache.org/jira/browse/IVY-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12777233#action_12777233 ] 

Nicolas Lalevée edited comment on IVY-1003 at 11/12/09 10:14 PM:
-----------------------------------------------------------------

I tried to implement: transitive-sources->transitive-sources(sources)
which was discussed there:
http://old.nabble.com/pom2ivy-and-transitive-source-retrieving-to25112985.html#a25112985

But some test case fail, especially ResolveTest#testResolveMaven2ClassifiersWithoutPOM
When there is no pom, there is no configuration declared apart from the default one, which makes the transitive-sources->transitive-sources(sources) fail.
So we probably need more than I did there with the provided patch. We will need the "none" configuration explained by Xavier in the discussion pointed in the above link: "a special fallback conf which means no dependency conf if the required one does not exist".


      was (Author: hibou):
    I tried to implement: transitive-sources->transitive-sources(sources)
which was discussed there:
http://old.nabble.com/pom2ivy-and-transitive-source-retrieving-to25112985.html#a25112985

But some test case fail, especially 
When there is no pom, there is no configuration declared apart from the default one, which makes the transitive-sources->transitive-sources(sources) fail.
So we probably need more than I did there with the provided patch. We will need the "none" configuration explained by Xavier in the discussion pointed in the above link: "a special fallback conf which means no dependency conf if the required one does not exist".

  
> Add support for transitive retrieval of source and javadoc artifacts
> --------------------------------------------------------------------
>
>                 Key: IVY-1003
>                 URL: https://issues.apache.org/jira/browse/IVY-1003
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.0-RC2
>            Reporter: Erik-Berndt Scheper
>         Attachments: IVY-1003-r835571.patch
>
>
> Currently, IVY only supports retrieving 'jar' artifacts transitively (using the 'transitive' attribute of a dependency), as documented [here|http://ant.apache.org/ivy/history/trunk/ivyfile/dependency.html].
> It would be very nice if IVY would also support transitive retrieval of the source and javadoc artifacts. 
> This would require two extra attributes for the dependency element:
> * transitive-source
> * transitive-javadoc
> To ensure backwards compatibility, these attributes should be optional and should default to false.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.