Details
-
Task
-
Resolution: Done
-
Major
-
None
-
fuse-7.5-GA
Description
There is currently some disparity between the results of module-checker.groovy compared to when it is run either inside or outside PNC.
The latest build on PNC results in the following failures:
MODULE DEPENDENCY ERRORS DETECTED!! Duplicate dependency jettison modules/system/layers/fuse/org/codehaus/jettison/fuse/org.codehaus.jettison:jettison modules/system/layers/base/org/codehaus/jettison/main/org.codehaus.jettison:jettison Duplicate dependency commons-codec modules/system/layers/fuse/org/apache/commons/codec/fuse/commons-codec:commons-codec modules/system/layers/base/org/apache/commons/codec/main/commons-codec:commons-codec Duplicate dependency jdom modules/system/layers/fuse/org/jdom/fuse/org.jdom:jdom modules/system/layers/base/org/jdom/main/org.jdom:jdom Duplicate dependency caffeine modules/system/layers/fuse/com/github/ben-manes/caffeine/fuse/com.github.ben-manes.caffeine:caffeine modules/system/layers/base/com/github/ben-manes/caffeine/main/com.github.ben-manes.caffeine:caffeine
The same problem is not encountered outside of PNC.
Modifying module-checker.groovy to strip .redhat suffix for artifact comparisons should ensure that the results of the script are always the same regardless of the build environment.