release-engineering / pom-version-manipulator

Align versions in Maven POMs with those found in a Bill-of-Materials POM
Other
11 stars 9 forks source link

Relocations inject versions into the POM instead of relying on BOM versions #19

Closed jdcasey closed 12 years ago

jdcasey commented 12 years ago

When relocating a dependency, the target version is injected into the dependency instead of allowing vman to fall back on the BOMs for the version.

  1. If the relocation target is present in the BOM, then leave it out.
  2. If missing in the BOM and executing in non-strict mode, leave it out and log it to the capture POM.
  3. If missing in the BOM and executing in STRICT mode, inject the version.