You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Stephen Haberman (JIRA)" <ji...@apache.org> on 2009/10/30 04:29:59 UTC

[jira] Created: (IVY-1137) maven sources are not transitive

maven sources are not transitive
--------------------------------

                 Key: IVY-1137
                 URL: https://issues.apache.org/jira/browse/IVY-1137
             Project: Ivy
          Issue Type: Bug
    Affects Versions: 2.1.0
            Reporter: Stephen Haberman


When generating ivy.xmls from poms, ivy currently makes a "sources" conf with the source artifacts.

However, none of the dependencies have a sources->sources(*) conf mapping, so you cannot retrieve the sources transitively.

Personally, I would prefer seeing the sources/javadocs confs go away and just using the type=source|javadoc in the master conf, per this thread on ivy-user:

http://www.nabble.com/sources-as-conf-or-type-to26028446.html

But even the shortest path of adding a sources->sources(*) to the dependencies would work too.

For an example, here is a jetty pom, note that you'll get the jetty source with this but not the jetty-util source:

http://sprunge.us/PgAa

(Apologies for the paste bin, it's just what I used in the mail thread.)

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


[jira] Closed: (IVY-1137) maven sources are not transitive

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

Stephen Haberman closed IVY-1137.
---------------------------------

    Resolution: Duplicate

Dup of IVY-1003. Which, embarrassingly, I even commented directly on a few months ago.

> maven sources are not transitive
> --------------------------------
>
>                 Key: IVY-1137
>                 URL: https://issues.apache.org/jira/browse/IVY-1137
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>            Reporter: Stephen Haberman
>
> When generating ivy.xmls from poms, ivy currently makes a "sources" conf with the source artifacts.
> However, none of the dependencies have a sources->sources(*) conf mapping, so you cannot retrieve the sources transitively.
> Personally, I would prefer seeing the sources/javadocs confs go away and just using the type=source|javadoc in the master conf, per this thread on ivy-user:
> http://www.nabble.com/sources-as-conf-or-type-to26028446.html
> But even the shortest path of adding a sources->sources(*) to the dependencies would work too.
> For an example, here is a jetty pom, note that you'll get the jetty source with this but not the jetty-util source:
> http://sprunge.us/PgAa
> (Apologies for the paste bin, it's just what I used in the mail thread.)

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