4 Replies Latest reply on Oct 31, 2014 11:09 AM by kpiwko

    [MavenResolver] Is there a way to fetch versions from the parent POM?

    bmajsak

      Hi guys,

       

      I have several modules in my project so I defined most of the dependencies which are used across in the parent pom under <dependencyManagement> section. in addition I externalized versions to properties. Pretty standard approach I guess. When I try however to fetch some in the submodule using Maven Resolver I need to explicitly specify version, otherwise it will complain that they are not specified. Does it mean it only look into used pom instead of going up in the hierarchy?

       

      I'm using ShrinkWrap Maven Resolver 2.1.1.

       

      Thanks for your help in advance!