You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Erik-Berndt Scheper (JIRA)" <ji...@apache.org> on 2009/01/12 12:25:59 UTC

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

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
             Fix For: 2.0.x, trunk


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.


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

Posted by "Stephen Haberman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12743487#action_12743487 ] 

Stephen Haberman commented on IVY-1003:
---------------------------------------

I'm depending on a maven-provided jar with a conf of "master->master,sources" in my project.

I get their source, but not the source of their dependencies.

The generated ivy.xml's dependencies are just "compile->compile(*),master(*);runtime->runtime(*)".

Perhaps I'm mistaken, but if "sources->sources(*)" was appended to this conf in the generated ivy.xml, would the transitive sources start getting pulled down and hooked up in Eclipse/IvyDE?

> 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
>
> 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.


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

Posted by "Erik-Berndt Scheper (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662938#action_12662938 ] 

fbascheper edited comment on IVY-1003 at 1/12/09 3:27 AM:
-------------------------------------------------------------------

At the moment, transitive retrieval of javadoc and source jars is only possible by manually adding all artifacts as individual dependencies to the ivy.xml file, which is both tedious and error-prone. 

      was (Author: fbascheper):
    At the moment, transitive retrieval of javadoc and source jars is only possible by manually adding all jars to the ivy.xml file, which is tedious and error-prone. 
  
> 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
>
> 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.


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

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Erik-Berndt Scheper (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erik-Berndt Scheper updated IVY-1003:
-------------------------------------

    Fix Version/s:     (was: trunk)
                       (was: 2.0.x)

> 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
>
> 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.


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

Posted by "Erik-Berndt Scheper (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662938#action_12662938 ] 

Erik-Berndt Scheper commented on IVY-1003:
------------------------------------------

At the moment, transitive retrieval of javadoc and source jars is only possible by manually adding all jars to the ivy.xml file, which is tedious and error-prone. 

> 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
>
> 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.


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

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Lalevée updated IVY-1003:
---------------------------------

    Attachment: IVY-1003-r835571.patch

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.