Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-1450

makepom is not including inherited confs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3.0
    • None
    • Ant
    • None

    Description

      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:

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

      I should be able to do a mapping like:

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

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

      If I include these confs like:

      <ivy:makepom conf="*">
      

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            mumrah David Arthur
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: