You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
Failed while enforcing releasability the error(s) are [
Dependency convergence error for org.springframework:spring-expression:4.3.10.RELEASE paths to dependency are:
+-org.camelcookbook.examples:01-structuring-routes:2.0-SNAPSHOT
+-org.apache.camel:camel-spring:2.20.0-20170915.191130-191
+-org.springframework:spring-context:4.3.10.RELEASE
+-org.springframework:spring-expression:4.3.10.RELEASE
and
+-org.camelcookbook.examples:01-structuring-routes:2.0-SNAPSHOT
+-org.apache.camel:camel-spring:2.20.0-20170915.191130-191
+-org.springframework:spring-expression:4.3.11.RELEASE
]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.347 s
[INFO] Finished at: 2017-09-29T11:23:07+02:00
[INFO] Final Memory: 17M/440M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce) on project 01-structuring-routes: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [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/MojoExecutionException
`
The text was updated successfully, but these errors were encountered:
I get the same error and it seems there are multiple errors in the projects.
The camel maven plugin placeholder does not work you have to explicitly set the version number in the root POM (this causes a defect in ALL the projects)
After the above fix, there is a missing Payment class that is not in the Classpath anywhere
(this is utter rubbish, and the authors should be ashamed man...how can you publish a book and not take care of the examples for a COOK BOOK ??
The weird thing is that from the command line, mvn clean install -DskipTests succeeded!!!
In Intellij though there are multiple issues with maven dependencies.
I solved it ALL the latter build issues, except the one for 14-web-services module in Intellij.
For the latter I cannot find multiple artefacts including the Payment class.
Once I solve the latter, I will push it to my fork.
I am trying to build the code I downloaded with mvn clean install, but I get the error.
~/IdeaProjects/camel-cookbook-examples-master/01-structuring-routes$ mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Camel Cookbook Examples :: 01 - Structuring Routes 2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 01-structuring-routes ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce) @ 01-structuring-routes ---
[WARNING]
Dependency convergence error for org.springframework:spring-expression:4.3.10.RELEASE paths to dependency are:
+-org.camelcookbook.examples:01-structuring-routes:2.0-SNAPSHOT
+-org.apache.camel:camel-spring:2.20.0-20170915.191130-191
+-org.springframework:spring-context:4.3.10.RELEASE
+-org.springframework:spring-expression:4.3.10.RELEASE
and
+-org.camelcookbook.examples:01-structuring-routes:2.0-SNAPSHOT
+-org.apache.camel:camel-spring:2.20.0-20170915.191130-191
+-org.springframework:spring-expression:4.3.11.RELEASE
[WARNING] Rule 0: org.apache.maven.plugins.enforcer.DependencyConvergence failed with message:
Failed while enforcing releasability the error(s) are [
Dependency convergence error for org.springframework:spring-expression:4.3.10.RELEASE paths to dependency are:
+-org.camelcookbook.examples:01-structuring-routes:2.0-SNAPSHOT
+-org.apache.camel:camel-spring:2.20.0-20170915.191130-191
+-org.springframework:spring-context:4.3.10.RELEASE
+-org.springframework:spring-expression:4.3.10.RELEASE
and
+-org.camelcookbook.examples:01-structuring-routes:2.0-SNAPSHOT
+-org.apache.camel:camel-spring:2.20.0-20170915.191130-191
+-org.springframework:spring-expression:4.3.11.RELEASE
]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.347 s
[INFO] Finished at: 2017-09-29T11:23:07+02:00
[INFO] Final Memory: 17M/440M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce) on project 01-structuring-routes: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [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/MojoExecutionException
`
The text was updated successfully, but these errors were encountered: