Goals available for this plugin:
Goal | Description |
---|---|
dependency-lock:help | Display help information on dependency-lock-plugin. Call mvn dependency-lock:help -Ddetail=true
-Dgoal=<goal-name> to display parameter details. |
dependency-lock:lock | Generate a pom.xml with dependencies, including
transitive, explicitly locked to a specific version by generating
<dependencyManagemenet> entries. This mostly
affects dependencies using version ranges. |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 3.0 |
JDK | 1.7 |
Memory | No minimum requirement. |
Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project> ... <build> <!-- To define the plugin version in your parent POM --> <pluginManagement> <plugins> <plugin> <groupId>com.mpobjects.maven</groupId> <artifactId>dependency-lock-plugin</artifactId> <version>1.1.1-SNAPSHOT</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>com.mpobjects.maven</groupId> <artifactId>dependency-lock-plugin</artifactId> <version>1.1.1-SNAPSHOT</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"