dependency-lock-plugin Maven Plugin

Maven Plugin to lock dependencies by creating dependencyManagement entries.

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

com.mpobjects.maven
ArtifactId

ArtifactId

dependency-lock-plugin
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

dependency-lock-plugin Maven Plugin
Maven Plugin to lock dependencies by creating dependencyManagement entries.
Project URL

Project URL

https://github.com/mpobjects/dependency-lock-plugin
Project Organization

Project Organization

MP Objects
Source Code Management

Source Code Management

https://github.com/mpobjects/dependency-lock-plugin.git

Download dependency-lock-plugin

How to add to project

<plugin>
    <groupId>com.mpobjects.maven</groupId>
    <artifactId>dependency-lock-plugin</artifactId>
    <version>1.1.0</version>
</plugin>

Dependencies

provided (4)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.0
org.apache.maven : maven-core jar 3.0
org.apache.maven : maven-artifact jar 3.0
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.6.0

Project Modules

There are no modules declared in this project.

Build Status Maven Central Sonatype Nexus (Snapshots) License

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.

com.mpobjects.maven

MPO

OpenSource Software by MP Objects

Versions

Version
1.1.0
1.0.0