2 Replies Latest reply on Feb 8, 2018 2:39 PM by fuinorg

    Need help using Shrinkwrap Resolver to get Pom metadata

    joshuawhite929

      Hello,

       

      If I use the following code:

       

      private val springBootStarterWeb = "org.springframework.boot:spring-boot-starter-web:1.5.1.RELEASE"

      Maven.configureResolver().resolve(springBootStarterWeb).withoutTransitivity().asSingleFile()

       

      I get a jar file.  I am looking to be able to get the Pom for this dependency and eventually all of the Pom files for all of the transitive dependencies as well.  I can't seem to figure out how to specify that I am interested in the Pom file, not the Jar file.  If you have a moment, can you point me in the right direction?

       

      Thanks,

       

      Joshua