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.

Reply via email to