[
https://issues.apache.org/activemq/browse/CAMEL-3018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61465#action_61465
]
Daniel Bevenius commented on CAMEL-3018:
----------------------------------------
Sorry about adding comments this jira but I found another issue...
Problem
=======
Running 'mvn eclipse:eclipse' using maven3 causes the following build failure:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.220s
[INFO] Finished at: Fri Aug 27 12:25:55 CEST 2010
[INFO] Final Memory: 59M/117M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-eclipse-plugin:2.9-SNAPSHOT:eclipse
(default-cli) on project camel-core: Unable to resolve resource location:
/camel-eclipse-checkstyle -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :camel-core
When running with maven2 these are the dependencies for the
maven-eclipse-plugin:
[DEBUG] Plugin dependencies for:
org.apache.maven.plugins:maven-eclipse-plugin:2.5.1
are:
org.apache.camel:camel-buildtools:jar:2.5-SNAPSHOT:compile
org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7:runtime
org.apache.maven:maven-project:jar:2.0.8:runtime
org.apache.maven:maven-plugin-api:jar:2.0.8:runtime
org.apache.maven:maven-model:jar:2.0.8:runtime
org.apache.maven:maven-artifact-manager:jar:2.0.8:runtime
org.apache.maven:maven-artifact:jar:2.0.8:runtime
org.codehaus.plexus:plexus-utils:jar:1.4.5:runtime
org.codehaus.plexus:plexus-interactivity-jline:jar:1.0-alpha-5:runtime
org.apache.maven:maven-archiver:jar:2.2:runtime
org.codehaus.plexus:plexus-resources:jar:1.0-alpha-4:runtime
biz.aQute:bndlib:jar:0.0.145:runtime
org.apache.maven.shared:maven-osgi:jar:0.2.0:runtime
org.eclipse.core:resources:jar:3.3.0-v20070604:runtime
Notice how 'org.apache.camel:camel-buildtools:jar:2.5-SNAPSHOT:compile' in the
list above. This the jar that camel-eclipse-checkstyle is in but when running
with maven3 it is not.
I've added 'camel-buildtools' as a dependency to the eclipse-maven-plugin in
parent/pom.xml (attached pom.patch) and this then worked for both maven2 and
maven3.
> Building not possible with maven3
> ---------------------------------
>
> Key: CAMEL-3018
> URL: https://issues.apache.org/activemq/browse/CAMEL-3018
> Project: Apache Camel
> Issue Type: Bug
> Reporter: Norman Maurer
> Assignee: Claus Ibsen
> Fix For: 2.5.0
>
> Attachments: camel-pom.diff, pom.patch
>
>
> maven3 is a way stricter with duplicated specified dependencies, so its not
> possible to compile camel with it.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.