Details
-
Type:
Improvement
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: maven-plugin
-
Labels:None
-
Similar Issues:
Description
Given two Maven2 projects:
Project A (POM only)
Project B (Jar), has A as parent (build when SNAPSHOT-dependencies are built)
Now, when A is built (#1), a build of B (#1) is correctly triggered. A shows a DS dependency to B, B an US dependency to A.
However, when viewing build #1 of A, it shows a downstream dependency to B without a specific build number (none).
When comparing both projects via "project dependecies", no dependencies are shown, which is plainly wrong.
A small change to MavenFingerprinter should do the trick.
Code changed in jenkins
User: Christoph Kutzinski
Path:
src/main/java/hudson/maven/reporters/MavenFingerprinter.java
http://jenkins-ci.org/commit/maven-plugin/5add57a49d3aa455647ccbc2c9ef4666b44d5afa
Log:
Make parent POM fingerprinting work with Maven 2.2, too
JENKINS-8383Originally-Committed-As: 38aa485883b3304b919101b4730485f45b988ed4