-
Type: Task
-
Status: To Do (View Workflow)
-
Priority: Medium
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: ci-system
-
Labels:None
-
Story Points:0
At least 2 component release jobs (maven based) have issued a warning about invalid pom.xml syntax – that will be deprecated in a future release:
For this reason, future Maven versions might no longer support building such malformed projects.
16:21:09 [[1;34mINFO[m] Scanning for projects... 16:21:11 [[1;33mWARNING[m] 16:21:11 [[1;33mWARNING[m] Some problems were encountered while building the effective model for org.opencord:onos-app-igmpproxy-api:bundle:2.6.0 16:21:11 [[1;33mWARNING[m] 'version' contains an expression but should be a constant. @ org.opencord:onos-app-igmpproxy-api:${igmpproxy.api.version}, /w/workspace/onos-app-release/api/pom.xml, line 29, column 14 16:21:11 [[1;33mWARNING[m] 16:21:11 [[1;33mWARNING[m] It is highly recommended to fix these problems because they threaten the stability of your build. 16:21:11 [[1;33mWARNING[m] 16:21:11 [[1;33mWARNING[m] For this reason, future Maven versions might no longer support building such malformed projects. 16:21:11 [[1;33mWARNING[m] 16:21:11 [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
Update job to display pom file contents to figure out what syntax is causing a problem.
Pom file contents/version string is maintained by a jenkins batch job:
https://jenkins.opencord.org/job/onos-app-release/241/consoleFull