Uploaded image for project: 'ShrinkWrap Resolvers'
  1. ShrinkWrap Resolvers
  2. SHRINKRES-305

Cannot download BOM dependency

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 3.1.3
    • None
    • None

      For example to download a BOM such as quarkus-camel-bom

      File[] files = Maven.resolver().resolve("io.quarkus.platform:quarkus-camel-bom:pom:2.9.2.Final".withTransitivity().asFile();

      Then there is no returned data.

      The bug/problem is that shrinkwrap automatic filters out bom files in this code

      https://github.com/shrinkwrap/resolver/blob/master/maven/impl-maven/src/main/java/org/jboss/shrinkwrap/resolver/impl/maven/PostResolutionFilterApplicator.java#L84

      And there is NO way to workaround this, or provide our own filter or something.

       

              pberan@redhat.com Petr Beran
              cibsen@redhat.com Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: