2

With Maven BOM (Bill of materials) file I could able to use dependencies without defining versions of dependencies in POMs by importing this BOM as below

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>com.test.project</groupId>
            <artifactId>MyOwn-BOM</artifactId>
            <version>${project.version}</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

As I have used in multiple projects. I wanted to use Maven Version Plugin to change version of all modules using this BOM file at once, but no luck.

Any help is appreciable.

changeme
  • 640
  • 2
  • 12
  • 36

0 Answers0