1. Ivy
  2. IVY-1431

Also copy original metadata artifact (e.g. POM) on ivy:install


    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0-RC1
    • Component/s: None
    • Labels:


      Suppose you provide some module, which you are developing with Ivy and that has external dependencies (or even worse: non publically available dependencies). Then you might want to publish the module plus all dependencies to a filesystem repository, which then can be redistributed and which is usable for offline builds.

      So far, no problem. But if you do not want to or even can't force your consumers to use Ivy, then while you can create this "offline repository" in Maven layout, it still is not usable with Maven because the POMs of all your dependencies are missing. While Ivy remembers them (*.orig Files), they are not used.

      The attached patch will copy the cached original metadata in the install operation if it's type ends in ".original". Also, the restoring of the OriginArtifact from the Cache is modified to actually restore the OriginArtifact's orignal Artifact correctly.

      1. ivy-install-pom.patch
        12 kB
        Erwin Tratar
      2. ivy-1431.patch
        20 kB
        Erwin Tratar


        Erwin Tratar created issue -
        Erwin Tratar made changes -
        Field Original Value New Value
        Attachment ivy-install-pom.patch [ 12598931 ]
        Erwin Tratar made changes -
        Attachment ivy-install-pom.patch [ 12598932 ]
        Erwin Tratar made changes -
        Attachment ivy-install-pom.patch [ 12598931 ]
        Erwin Tratar made changes -
        Labels patch
        Erwin Tratar made changes -
        Attachment ivy-1431.patch [ 12611943 ]
        Nicolas Lalevée made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Nicolas Lalevée [ hibou ]
        Fix Version/s trunk [ 12320744 ]
        Resolution Fixed [ 1 ]
        Maarten Coene made changes -
        Fix Version/s 2.4.0-RC1 [ 12326648 ]
        Fix Version/s trunk [ 12320744 ]


          • Assignee:
            Nicolas Lalevée
            Erwin Tratar
          • Votes:
            0 Vote for this issue
            3 Start watching this issue


            • Created: