0

We have 3 projets A,B and C where B,C are child dependencies for the project-A

A--->B,C

While creating a new release branch the project A should pick latest release-jars of projects B and C Ex: B,C has jars like 1.2-snapshot(1.2.1,1.2.2,1.2.3...) & 1.4.1-Release

So project A should pick 1.4.1-Release jar, How can this be acheived with minimal changes?

tried : mvn versions:use-latest-releases -Dincludes=com.example.project:* -DexcludeReactor=false -DallowSnapshots=false -DallowMinorUpdates=false -DallowMajorUpdates=false.

the dependency is defined as follows:

<dependency>
    <groupId>com.example.project</groupId>
    <artifactId>B</artifactId>
    <version>1.2-SNAPSHOT</version>
    <type>jar</type>
</dependency>
Navya
  • 1
  • 2

0 Answers0