If you want to setup the eclipse project by using mvn eclipse, you need to do it from the root intend of doing it from camel-example-cxf directory.
-- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On April 2, 2015 at 10:29:31 PM, Vivek Modi (vi...@net4nuts.com) wrote: > Hi All, > I am currently trying to set up the example camel-example-cxf > from the list of examples provided with the camel binaries. > > The example builds fine but when I execute mvn eclipse:eclipse I get the > below error : > > *C:\apache-camel-2.14.2\examples\camel-example-cxf>mvn eclipse:clean > eclipse:ecli* > *pse* > *[INFO] Scanning for projects...* > *[INFO]* > *[INFO] > ------------------------------------------------------------------------* > *[INFO] Building Camel :: Example :: CXF 2.14.2* > *[INFO] > ------------------------------------------------------------------------* > *[INFO]* > *[INFO] --- maven-eclipse-plugin:2.9:clean (default-cli) @ > camel-example-cxf ---* > *[INFO] Deleting file: .project* > *[INFO] Deleting file: .classpath* > *[INFO] Deleting file: .wtpmodules* > *[INFO] Deleting file: .checkstyle* > *[INFO]* > *[INFO] >>> maven-eclipse-plugin:2.9:eclipse (default-cli) @ > camel-example-cxf >>* > *>* > *[INFO]* > *[INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (versions) @ > camel-example-cx* > *f ---* > *[INFO]* > *[INFO] --- cxf-codegen-plugin:3.0.4:wsdl2java (generate-sources) @ > camel-example* > *-cxf ---* > *[INFO]* > *[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ > camel-example-c* > *xf ---* > *[INFO]* > *[INFO] <<< maven-eclipse-plugin:2.9:eclipse (default-cli) @ > camel-example-cxf <<* > *<* > *[INFO]* > *[INFO] --- maven-eclipse-plugin:2.9:eclipse (default-cli) @ > camel-example-cxf --* > *-* > *[INFO] Using Eclipse Workspace: null* > *[INFO] Adding default classpath container: > org.eclipse.jdt.launching.JRE_CONTAIN* > *ER* > *[INFO] excluded: javax.xml.bind:jsr173_api* > *[INFO] > ------------------------------------------------------------------------* > *[INFO] BUILD FAILURE* > *[INFO] > ------------------------------------------------------------------------* > *[INFO] Total time: 7.546s* > *[INFO] Finished at: Thu Apr 02 17:51:00 IST 2015* > *[INFO] Final Memory: 30M/375M* > *[INFO] > ------------------------------------------------------------------------* > *[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-eclipse-plugin:2.9* > *:eclipse (default-cli) on project camel-example-cxf: 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 swit* > *ch.* > *[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 rea* > *d the following articles:* > *[ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE > * > *xception* > > > *Can someone please point me in the right direction ?* > > *Thanks * > > * Vivek* >