-
Type: Clean up
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.9.2
-
Fix Version/s: 5.9.5
-
Component/s: Infrastructure
-
Sprint:DevOps Sprint 3
Right after release, some addons fail to build because their defaults are wrong in Maven 3.
For instance, http://qa.nuxeo.org/jenkins/job/addons_nuxeo-platform-audit-web-access-master/875/console
ERROR: Failed to parse POMs java.io.IOException: remote file operation failed: /home/hudson/tmp/workspace/addons_nuxeo-platform-audit-web-access-master at hudson.remoting.Channel@16fda1c4:joyeux at hudson.FilePath.act(FilePath.java:910) at hudson.FilePath.act(FilePath.java:887) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.parsePoms(MavenModuleSetBuild.java:943) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:671) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:565) at hudson.model.Run.execute(Run.java:1670) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.remoting.ProxyException: hudson.maven.MavenModuleSetBuild$MavenExecutionException: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM: Could not find artifact org.nuxeo:nuxeo-addons-parent:pom:5.9.5-SNAPSHOT in internal-snapshots (http://maven.in.nuxeo.com/nexus/content/groups/internal-snapshots) and 'parent.relativePath' points at wrong local POM @ line 4, column 11
Also fix warnings:
[WARNING] Some problems were encountered while building the effective model for org.nuxeo.ecm.platform:nuxeo-rest-api-test:jar:5.9.5-SNAPSHOT [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.nuxeo.ecm.platform:nuxeo-platform-audit-api:jar -> duplicate declaration of version (?) @ line 111, column 17 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.nuxeo.ecm.platform:nuxeo-platform-audit-core:jar -> duplicate declaration of version (?) @ line 116, column 17 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.nuxeo.runtime:nuxeo-runtime-datasource:jar -> duplicate declaration of version (?) @ line 122, column 17 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.nuxeo.runtime:nuxeo-javaagent-bridge:jar:5.9.5-SNAPSHOT [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.sun:tools:jar -> duplicate declaration of version 1.7.0 @ line 58, column 17 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.nuxeo.ecm.platform:nuxeo-importer-scan:jar:5.9.5-SNAPSHOT [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.nuxeo.ecm.platform:nuxeo-importer-core:jar -> duplicate declaration of version (?) @ line 25, column 17
See NXP-13555 upgrade notes.
- depends on
-
NXP-13555 Use Maven 3
- Resolved