On 17.09.2018 02:44, Leonard Brünings wrote:
Hi,

the switch to fine grained artifacts with groovy-2.5 made it harder to consistently mange package versions.

Many projects offer a bom pom (https://www.baeldung.com/spring-maven-bom), that manages all the packages so users of maven have to just import the bom pom instead of having to manage every artifact.

So you can do just this

<dependencyManagement>
   <dependencies>
     <dependency>
       <groupId>org.codehaus.groovy</groupId>
       <artifactId>groovy-bom</artifactId>
       <version>${groovy-version}</version>
       <scope>import</scope>
     </dependency>
   </dependencies>
</dependencyManagement>

what is wrong with this pom? http://central.maven.org/maven2/org/codehaus/groovy/groovy-all/2.5.2/groovy-all-2.5.2.pom

bye Jochen

Reply via email to