dependency-lock-plugin
Maven Plugin which produces a POM where all dependencies have been locked down via <dependencyManagement>
entries. The output POM is the original POM with additional entries to the <dependencyManagement>
.
This mostly affects cases of version ranges, especially in transtivie dependencies. It was inspired by the BOM builder plugin.
Usage
<project>
[...]
<build>
<plugins>
<plugin>
<groupId>com.mpobjects.maven</groupId>
<artifactId>dependency-lock-plugin</artifactId>
<version>${dependency-lock-plugin.version}</version>
<executions>
<execution>
<id>lock-dependencies</id>
<goals>
<goal>lock</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
[...]
</project>
More information is available in the plugin documentation.