David Arthur created IVY-1450:
---------------------------------

             Summary: makepom is not including inherited confs
                 Key: IVY-1450
                 URL: https://issues.apache.org/jira/browse/IVY-1450
             Project: Ivy
          Issue Type: Bug
          Components: Ant
    Affects Versions: 2.3.0
            Reporter: David Arthur


If I have several confs that are inherited by "compile" and I want to map them 
all to the "compile" scope in the POM, I have to include them all explicitly.

It seems like given configurations like:
{code}
 <configurations>
    <conf name="compile" extends="A,B,C,D"/>
    <conf name="A" visibility="private"/>
    <conf name="B" visibility="private"/>
    <conf name="C" visibility="private"/>
    <conf name="D" visibility="private"/>
  </configurations>
{code}

I should be able to do a mapping like:

{code}
<ivy:makepom conf="compile">
   <mapping conf="compile" scope="compile"/>
</ivy:makepom>
{code}

And get all the deps of A, B, C, and D mapped into the compile POM scope.

If I include these confs like: 

{code}
<ivy:makepom conf="*">
{code}

Then they are included, but they are marked as optional and they are not marked 
as the compile scope.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to