Bug #334

rsb-scxml-engine fails on trusty with dependency issues

Added by Arne Nordmann about 10 years ago. Updated about 10 years ago.

Status:ResolvedStart date:2014-11-21
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-Spent time:-
Target version:-

Description

When building the rsb-scxml-engine from the current recipe source:projects/rsb-scxml-engine.project it fails due to dependency issues:

mvn -Dtag=2014-11-21_12-20-45 -Dlabel=master -DskipTests=true -DaltDeploymentRepository=toolkit::default::file:///homes/anordman/dev/euroc/prefix/nightly//share/repository -Dmaven.repo.local=/homes/anordman/.m2/repo-toolkit-nightly -DoutputDirectory=/homes/anordman/local/jenkins/jobs/rsb-scxml-engine-master-toolkit-nightly/workspace/label/master/.dependencies -Dmdep.copyPom=true -DassembleDirectory=/homes/anordman/dev/euroc/prefix/nightly//opt/rsb-scxml-engine install deploy dependency:copy-dependencies
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building scxml-engine 0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.156s
[INFO] Finished at: Fri Nov 21 12:55:59 CET 2014
[INFO] Final Memory: 8M/149M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project scxml-engine: Could not resolve dependencies for project rsb:scxml-engine:jar:0.1-SNAPSHOT: Failed to collect dependencies for [org.apache.commons:commons-jexl:jar:2.1.1 (compile), commons-cli:commons-cli:jar:1.2 (compile), junit:junit:jar:4.11 (test), com.google.protobuf:protobuf-java:jar:[2.4.1,2.4.1] (compile), rsb:rsb:jar:0.11-SNAPSHOT (compile), rsb:rst-sandbox:jar:0.11-SNAPSHOT (test), rsb:rst:jar:0.11-SNAPSHOT (test), org.apache.commons:commons-scxml2:jar:2.0-finalfix-SNAPSHOT (compile)]: Could not resolve version conflict among [com.google.protobuf:protobuf-java:jar:[2.4.1,2.4.1], rsb:rsb:jar:0.11-SNAPSHOT -> com.google.protobuf:protobuf-java:jar:[2.5.0,2.5.0], rsb:rst-sandbox:jar:0.11-SNAPSHOT -> com.google.protobuf:protobuf-java:jar:[2.5.0,2.5.0], rsb:rst:jar:0.11-SNAPSHOT -> com.google.protobuf:protobuf-java:jar:[2.5.0,2.5.0]] -> [Help 1]

It seems that there are two protobuf version conflicting (2.4.1, 2.5.0). I am deploying in a brand new prefux so that there should not be any pollution from previous precise deployments.

I am reporting this here, since it seems to be a dependency and/or configuration issue. Any ideas/hints?

History

#1 Updated by Norman Köster about 10 years ago

I have the same issue on a trusty machine:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.039s
[INFO] Finished at: Thu Nov 20 12:44:02 CET 2014
[INFO] Final Memory: 9M/108M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project scxml-engine: Could not resolve dependencies for project rsb:scxml-engine:jar:0.1-SNAPSHOT: Failed to collect dependencies for [org.apache.commons:commons-jexl:jar:2.1.1 (compile), commons-cli:commons-cli:jar:1.2 (compile), junit:junit:jar:4.11 (test), com.google.protobuf:protobuf-java:jar:[2.4.1,2.4.1] (compile), rsb:rsb:jar:0.11-SNAPSHOT (compile), rsb:rst-sandbox:jar:0.11-SNAPSHOT (test), rsb:rst:jar:0.11-SNAPSHOT (test), org.apache.commons:commons-scxml2:jar:2.0-finalfix-SNAPSHOT (compile)]: Could not resolve version conflict among [com.google.protobuf:protobuf-java:jar:[2.4.1,2.4.1], rsb:rsb:jar:0.11-SNAPSHOT -> com.google.protobuf:protobuf-java:jar:[2.5.0,2.5.0], rsb:rst-sandbox:jar:0.11-SNAPSHOT -> com.google.protobuf:protobuf-java:jar:[2.5.0,2.5.0], rsb:rst:jar:0.11-SNAPSHOT -> com.google.protobuf:protobuf-java:jar:[2.5.0,2.5.0]] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Build step 'Invoke top-level Maven targets' marked build as failure
Skipping publisher since build result is FAILURE
Finished: FAILURE

#2 Updated by Norman Köster about 10 years ago

  • % Done changed from 0 to 90

#3 Updated by Norman Köster about 10 years ago

Similar problem with rsb-java, reported upstream https://code.cor-lab.de/issues/2100

#4 Updated by Norman Köster about 10 years ago

  • Status changed from Feedback to Resolved
  • % Done changed from 90 to 100

Fixed upstream

Also available in: Atom PDF