dependency-lock:lock

Full name:

com.mpobjects.maven:dependency-lock-plugin:1.1.1-SNAPSHOT:lock

Description:

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.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: test.
  • Binds by default to the lifecycle phase: generate-resources.

Optional Parameters

Name Type Since Description
<ignoreSnapshot> boolean 1.1.0 If true, do not lock dependencies of SNAPSHOTs.
Default value is: true.
User property is: lockedPom.ignoreSnapshot.
<outputFilename> String - Output file.
Default value is: pom-locked.xml.
User property is: lockedPom.

Parameter Details

<ignoreSnapshot>

If true, do not lock dependencies of SNAPSHOTs.
  • Type: boolean
  • Since: 1.1.0
  • Required: No
  • User Property: lockedPom.ignoreSnapshot
  • Default: true

<outputFilename>

Output file.
  • Type: java.lang.String
  • Required: No
  • User Property: lockedPom
  • Default: pom-locked.xml