Andrea Cosentino created CAMEL-7729:
---------------------------------------

             Summary: Can't import camel in eclipse
                 Key: CAMEL-7729
                 URL: https://issues.apache.org/jira/browse/CAMEL-7729
             Project: Camel
          Issue Type: Bug
         Environment: Ubuntu 14.04
            Reporter: Andrea Cosentino
            Priority: Minor


Hi,

I've just fetch the original repository of camel from github and try to import 
in eclipse by this command:

{code}
mvn process-test-sources eclipse:eclipse
{code}

and even with this command

{code}
mvn eclipse:clean eclipse:eclipse
{code}

I get the following error:

{code}
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Camel ............................................. SUCCESS [0.523s]
[INFO] Camel :: Parent ................................... SUCCESS [0.482s]
[INFO] Camel :: Buildtools ............................... SUCCESS [0.197s]
[INFO] Camel :: Tooling .................................. SUCCESS [0.079s]
[INFO] Camel :: SPI Annotations .......................... FAILURE [0.331s]
[INFO] Camel :: Annotation Processor ..................... SKIPPED
[INFO] Camel :: Maven Plugins ............................ SKIPPED
[INFO] Camel :: Maven Plugins :: Camel Package ........... SKIPPED
[INFO] Camel :: Core ..................................... SKIPPED
[INFO] Camel :: Components ............................... SKIPPED
[INFO] Camel :: Test ..................................... SKIPPED
[INFO] Camel :: Core XML ................................. SKIPPED
[INFO] Camel :: Core OSGi ................................ SKIPPED
[INFO] Camel :: Spring ................................... SKIPPED
[INFO] Camel :: Test :: Spring ........................... SKIPPED
[INFO] Camel :: TestNG ................................... SKIPPED
[INFO] Camel :: Blueprint ................................ SKIPPED
[INFO] Camel :: Test Blueprint ........................... SKIPPED
[INFO] Camel :: Test :: Spring ........................... SKIPPED
[INFO] Camel :: JUEL ..................................... SKIPPED
[INFO] Camel :: BAM ...................................... SKIPPED
[INFO] Camel :: Groovy ................................... SKIPPED
[INFO] Camel :: JXPath ................................... SKIPPED
[INFO] Camel :: Velocity ................................. SKIPPED
[INFO] Camel :: Scala .................................... SKIPPED
[INFO] Camel :: HTTP ..................................... SKIPPED
[INFO] Camel :: HTTP4 (HttpClient 4.x) ................... SKIPPED
[INFO] Camel :: Jackson .................................. SKIPPED
[INFO] Camel :: Spring JavaConfig ........................ SKIPPED
[INFO] Camel :: JAXB ..................................... SKIPPED
[INFO] Camel :: Jetty .................................... SKIPPED
[INFO] Camel :: CXF :: Transport ......................... SKIPPED
[INFO] Camel :: CXF ...................................... SKIPPED
[INFO] Camel :: Web ...................................... SKIPPED
[INFO] Camel :: Web :: Standalone ........................ SKIPPED
[INFO] Camel :: JMS ...................................... SKIPPED
[INFO] Camel :: AHC ...................................... SKIPPED
[INFO] Camel :: AHC-WS ................................... SKIPPED
[INFO] Camel :: AMQP ..................................... SKIPPED
[INFO] Camel :: APNS ..................................... SKIPPED
[INFO] Camel :: Servlet .................................. SKIPPED
[INFO] Camel :: Atmosphere WebSocket Servlet ............. SKIPPED
[INFO] Camel :: Atom ..................................... SKIPPED
[INFO] Camel :: Avro ..................................... SKIPPED
[INFO] Camel :: AWS ...................................... SKIPPED
[INFO] Camel :: Base64 ................................... SKIPPED
[INFO] Camel :: BeanIO ................................... SKIPPED
[INFO] Camel :: Bean validator ........................... SKIPPED
[INFO] Camel :: Barcode .................................. SKIPPED
[INFO] Camel :: Bindy .................................... SKIPPED
[INFO] Camel :: Maven Plugins :: Camel API Component Plugin  SKIPPED
[INFO] Camel :: Box.com .................................. SKIPPED
[INFO] Camel :: Cache .................................... SKIPPED
[INFO] Camel :: Castor ................................... SKIPPED
[INFO] Camel :: CDI ...................................... SKIPPED
[INFO] Camel :: CMIS ..................................... SKIPPED
[INFO] Camel :: Stream ................................... SKIPPED
[INFO] Camel :: Cometd ................................... SKIPPED
[INFO] Camel :: Context .................................. SKIPPED
[INFO] Camel :: CouchDB .................................. SKIPPED
[INFO] Camel :: Crypto ................................... SKIPPED
[INFO] Camel :: CSV ...................................... SKIPPED
[INFO] Camel :: Disruptor ................................ SKIPPED
[INFO] Camel :: DNS ...................................... SKIPPED
[INFO] Camel :: Dozer .................................... SKIPPED
[INFO] Camel :: Maven Plugins :: Camel Maven Run ......... SKIPPED
[INFO] Camel :: Dropbox .................................. SKIPPED
[INFO] Camel :: Eclipse .................................. SKIPPED
[INFO] Camel :: EJB ...................................... SKIPPED
[INFO] Camel :: ElasticSearch ............................ SKIPPED
[INFO] Camel :: Event Admin .............................. SKIPPED
[INFO] Camel :: Exec ..................................... SKIPPED
[INFO] Camel :: Facebook ................................. SKIPPED
[INFO] Camel :: FlatPack ................................. SKIPPED
[INFO] Camel :: FOP ...................................... SKIPPED
[INFO] Camel :: Freemarker ............................... SKIPPED
[INFO] Camel :: SSH ...................................... SKIPPED
[INFO] Camel :: FTP ...................................... SKIPPED
[INFO] Camel :: GAE ...................................... SKIPPED
[INFO] Camel :: Geocoder ................................. SKIPPED
[INFO] Camel :: Gora ..................................... SKIPPED
[INFO] Camel :: Gson ..................................... SKIPPED
[INFO] Camel :: Guava-EventBus ........................... SKIPPED
[INFO] Camel :: Guice .................................... SKIPPED
[INFO] Camel :: HawtDB ................................... SKIPPED
[INFO] Camel :: HazelCast ................................ SKIPPED
[INFO] Camel :: Hbase .................................... SKIPPED
[INFO] Camel :: HDFS ..................................... SKIPPED
[INFO] Camel :: HDFS2 .................................... SKIPPED
[INFO] Camel :: MINA-2 ................................... SKIPPED
[INFO] Camel :: HL7 ...................................... SKIPPED
[INFO] Camel :: iBatis ................................... SKIPPED
[INFO] Camel :: iCal ..................................... SKIPPED
[INFO] Camel :: Infinispan ............................... SKIPPED
[INFO] Camel :: IRC ...................................... SKIPPED
[INFO] Camel :: Javaspace ................................ SKIPPED
[INFO] Camel :: Jasypt ................................... SKIPPED
[INFO] Camel :: JClouds .................................. SKIPPED
[INFO] Camel :: JCR ...................................... SKIPPED
[INFO] Camel :: JDBC ..................................... SKIPPED
[INFO] Camel :: JGroups .................................. SKIPPED
[INFO] Camel :: Jing ..................................... SKIPPED
[INFO] Camel :: JMX ...................................... SKIPPED
[INFO] Camel :: JoSQL .................................... SKIPPED
[INFO] Camel :: JPA ...................................... SKIPPED
[INFO] Camel :: JSon Path ................................ SKIPPED
[INFO] Camel :: Jsch ..................................... SKIPPED
[INFO] Camel :: Java Toolbox for AS/400 .................. SKIPPED
[INFO] Camel :: Kafka .................................... SKIPPED
[INFO] Camel :: Kestrel .................................. SKIPPED
[INFO] Camel :: Krati .................................... SKIPPED
[INFO] Camel :: LDAP ..................................... SKIPPED
[INFO] Camel :: LevelDB .................................. SKIPPED
[INFO] Camel :: LinkedIn Component Parent ................ SKIPPED
[INFO] Camel :: LinkedIn Component API ................... SKIPPED
[INFO] Camel :: LinkedIn Component ....................... SKIPPED
[INFO] Camel :: Lucene ................................... SKIPPED
[INFO] Camel :: Mail ..................................... SKIPPED
[INFO] Camel :: Metrics .................................. SKIPPED
[INFO] Camel :: MINA ..................................... SKIPPED
[INFO] Camel :: MongoDB .................................. SKIPPED
[INFO] Camel :: MQTT ..................................... SKIPPED
[INFO] Camel :: MSV ...................................... SKIPPED
[INFO] Camel :: Mustache ................................. SKIPPED
[INFO] Camel :: MVEL ..................................... SKIPPED
[INFO] Camel :: MyBatis .................................. SKIPPED
[INFO] Camel :: Nagios ................................... SKIPPED
[INFO] Camel :: Netty .................................... SKIPPED
[INFO] Camel :: Netty4 ................................... SKIPPED
[INFO] Camel :: Netty HTTP ............................... SKIPPED
[INFO] Camel :: OGNL ..................................... SKIPPED
[INFO] Camel :: OpenShift ................................ SKIPPED
[INFO] Camel :: OptaPlanner .............................. SKIPPED
[INFO] Camel :: Pax Logging .............................. SKIPPED
[INFO] Camel :: Printer .................................. SKIPPED
[INFO] Camel :: Protobuf ................................. SKIPPED
[INFO] Camel :: Quartz ................................... SKIPPED
[INFO] Camel :: Quartz2 .................................. SKIPPED
[INFO] Camel :: QuickFIX/J ............................... SKIPPED
[INFO] Camel :: RabbitMQ ................................. SKIPPED
[INFO] Camel :: Restlet .................................. SKIPPED
[INFO] Camel :: RMI ...................................... SKIPPED
[INFO] Camel :: Routebox ................................. SKIPPED
[INFO] Camel :: RSS ...................................... SKIPPED
[INFO] Camel :: Ruby ..................................... SKIPPED
[INFO] Camel :: RX ....................................... SKIPPED
[INFO] Camel :: SAP NetWeaver ............................ SKIPPED
[INFO] Camel :: SAXON .................................... SKIPPED
[INFO] Camel :: Salesforce :: Parent ..................... SKIPPED
[INFO] Camel :: Salesforce ............................... SKIPPED
[INFO] Camel :: Salesforce :: Maven plugin ............... SKIPPED
[INFO] Camel :: Script ................................... SKIPPED
[INFO] Camel :: Servlet Listener ......................... SKIPPED
[INFO] Camel :: Shiro .................................... SKIPPED
[INFO] Camel :: SIP ...................................... SKIPPED
[INFO] Camel :: SMPP ..................................... SKIPPED
[INFO] Camel :: SNMP ..................................... SKIPPED
[INFO] Camel :: Simple JMS ............................... SKIPPED
[INFO] Camel :: SOAP ..................................... SKIPPED
[INFO] Camel :: Solr ..................................... SKIPPED
[INFO] Camel :: Spark REST ............................... SKIPPED
[INFO] Camel :: Splunk ................................... SKIPPED
[INFO] Camel :: Spring Batch ............................. SKIPPED
[INFO] Camel :: Spring Integration ....................... SKIPPED
[INFO] Camel :: Spring LDAP .............................. SKIPPED
[INFO] Camel :: Redis .................................... SKIPPED
[INFO] Camel :: Spring Security .......................... SKIPPED
[INFO] Camel :: Spring Web Services ...................... SKIPPED
[INFO] Camel :: SQL ...................................... SKIPPED
[INFO] Camel :: StAX ..................................... SKIPPED
[INFO] Camel :: Stomp .................................... SKIPPED
[INFO] Camel :: StringTemplate ........................... SKIPPED
[INFO] Camel :: Syslog ................................... SKIPPED
[INFO] Camel :: Swagger .................................. SKIPPED
[INFO] Camel :: TagSoup .................................. SKIPPED
[INFO] Camel :: Twitter .................................. SKIPPED
[INFO] Camel :: URLRewrite ............................... SKIPPED
[INFO] Camel :: Vertx .................................... SKIPPED
[INFO] Camel :: Weather .................................. SKIPPED
[INFO] Camel :: WebSocket ................................ SKIPPED
[INFO] Camel :: XMLBeans ................................. SKIPPED
[INFO] Camel :: XML JSON ................................. SKIPPED
[INFO] Camel :: XML RPC .................................. SKIPPED
[INFO] Camel :: XML Security ............................. SKIPPED
[INFO] Camel :: XMPP ..................................... SKIPPED
[INFO] Camel :: XStream .................................. SKIPPED
[INFO] Camel :: Yammer ................................... SKIPPED
[INFO] Camel :: Zip File ................................. SKIPPED
[INFO] Camel :: Zookeeper ................................ SKIPPED
[INFO] Camel :: Jibx ..................................... SKIPPED
[INFO] Camel :: Platforms ................................ SKIPPED
[INFO] Camel :: Platforms :: Apache Karaf ................ SKIPPED
[INFO] Camel :: Platforms :: Apache Karaf :: Commands .... SKIPPED
[INFO] Camel :: Platforms :: Apache Karaf :: Features .... SKIPPED
[INFO] Camel :: Maven Plugins :: Camel Maven Guice ....... SKIPPED
[INFO] Camel :: Archetypes ............................... SKIPPED
[INFO] Camel :: Archetypes :: Camel Router with ActiveMQ . SKIPPED
[INFO] Camel :: Archetypes :: Component .................. SKIPPED
[INFO] Camel :: Archetypes :: Blueprint (OSGi) Based Router  SKIPPED
[INFO] Camel :: Archetypes :: Component .................. SKIPPED
[INFO] Camel :: Archetypes :: Scala Component ............ SKIPPED
[INFO] Camel :: Archetypes :: CXF :: Code First :: Blueprint (OSGi)  SKIPPED
[INFO] Camel :: Archetypes :: CXF :: Contract First :: Blueprint (OSGi)  SKIPPED
[INFO] Camel :: Archetypes :: Data Format ................ SKIPPED
[INFO] Camel :: Archetypes :: Groovy Router .............. SKIPPED
[INFO] Camel :: Archetypes :: Java Router ................ SKIPPED
[INFO] Camel :: Archetypes :: Scala Router ............... SKIPPED
[INFO] Camel :: Archetypes :: Spring XML Based Router .... SKIPPED
[INFO] Camel :: Archetypes :: Spring DM (OSGi) Based Router  SKIPPED
[INFO] Camel :: Archetypes :: Camel Routes WAR ........... SKIPPED
[INFO] Camel :: Archetypes :: Camel Router with web console  SKIPPED
[INFO] Camel :: Manual ................................... SKIPPED
[INFO] Camel :: Integration Tests :: Test Bundles ........ SKIPPED
[INFO] Camel :: Integration Tests :: Test Bundles: mock-javamail-1.7  SKIPPED
[INFO] Camel :: Integration Tests ........................ SKIPPED
[INFO] Camel :: Integration Tests :: Standalone .......... SKIPPED
[INFO] Camel :: Integration Tests :: Non OSGi ............ SKIPPED
[INFO] Camel :: Integration Tests :: CDI ................. SKIPPED
[INFO] Camel :: Integration Tests :: Spring 3.2 .......... SKIPPED
[INFO] Camel :: Integration Tests :: Blueprint CXF Tests . SKIPPED
[INFO] Camel :: Integration Tests :: Partial Classpath ... SKIPPED
[INFO] Camel :: Integration Tests :: TypeConverter Scan .. SKIPPED
[INFO] Camel :: Examples ................................. SKIPPED
[INFO] Camel :: Example :: ActiveMQ :: Tomcat ............ SKIPPED
[INFO] Camel :: Example :: Aggregate ..................... SKIPPED
[INFO] Camel :: Example :: BAM ........................... SKIPPED
[INFO] Camel :: Example :: Cafe .......................... SKIPPED
[INFO] Camel :: Example :: CDI ........................... SKIPPED
[INFO] Camel :: Example :: CXF ........................... SKIPPED
[INFO] Camel :: Example :: CXF :: Blueprint .............. SKIPPED
[INFO] Camel :: Example :: CXF :: OSGI ................... SKIPPED
[INFO] Camel :: Example :: CXF :: Proxy .................. SKIPPED
[INFO] Camel :: Example :: CXF :: Tomcat ................. SKIPPED
[INFO] Camel :: Example :: Console ....................... SKIPPED
[INFO] Camel :: Example :: Docs .......................... SKIPPED
[INFO] Camel :: Example :: ETL ........................... SKIPPED
[INFO] Camel :: Example :: FTP ........................... SKIPPED
[INFO] Camel :: Example :: GAE ........................... SKIPPED
[INFO] Camel :: Example :: GAuth ......................... SKIPPED
[INFO] Camel :: Example :: Guice :: JMS .................. SKIPPED
[INFO] Camel :: Example :: JDBC .......................... SKIPPED
[INFO] Camel :: Example :: JMX ........................... SKIPPED
[INFO] Camel :: Example :: JMS-File ...................... SKIPPED
[INFO] Camel :: Example :: Load Balancing ................ SKIPPED
[INFO] Camel :: Example :: Loan-Broker ................... SKIPPED
[INFO] Camel :: Example :: Management .................... SKIPPED
[INFO] Camel :: Example :: MyBatis ....................... SKIPPED
[INFO] Camel :: Example :: Netty HTTP .................... SKIPPED
[INFO] Camel :: Example :: Netty HTTP :: Shared Netty HTTP Server  SKIPPED
[INFO] Camel :: Example :: Netty HTTP :: My Application One  SKIPPED
[INFO] Camel :: Example :: Netty HTTP :: My Application Two  SKIPPED
[INFO] Camel :: Example :: OSGi .......................... SKIPPED
[INFO] Camel :: Example :: OSGi RMI ...................... SKIPPED
[INFO] Camel :: Example :: POJO Messaging ................ SKIPPED
[INFO] Camel :: Example :: Report Incident ............... SKIPPED
[INFO] Camel :: Example :: Report Incident :: WS-Security  SKIPPED
[INFO] Camel :: Example :: Restlet :: JDBC ............... SKIPPED
[INFO] Camel :: Example :: Route :: Throttling ........... SKIPPED
[INFO] Camel :: Example :: Servlet REST Blueprint ........ SKIPPED
[INFO] Camel :: Example :: Servlet REST Tomcat ........... SKIPPED
[INFO] Camel :: Example :: Servlet Tomcat ................ SKIPPED
[INFO] Camel :: Example :: Servlet Tomcat :: Blueprint Web  SKIPPED
[INFO] Camel :: Example :: Servlet Tomcat without Spring . SKIPPED
[INFO] Camel :: Example :: Simple Jira Bot ............... SKIPPED
[INFO] Camel :: Example :: Simple Jira Bot :: Java DSL ... SKIPPED
[INFO] Camel :: Example :: Simple Jira Bot :: XML Configuration  SKIPPED
[INFO] Camel :: Example :: Spark REST Tomcat ............. SKIPPED
[INFO] Camel :: Example :: Splunk ........................ SKIPPED
[INFO] Camel :: Example :: Spring ........................ SKIPPED
[INFO] Camel :: Example :: Spring :: JavaConfig .......... SKIPPED
[INFO] Camel :: Example :: Spring :: JMS ................. SKIPPED
[INFO] Camel :: Example :: Spring :: Web Services ........ SKIPPED
[INFO] Camel :: Example :: Spring :: XQuery .............. SKIPPED
[INFO] Camel :: Example :: Spring :: Security ............ SKIPPED
[INFO] Camel :: Example :: SSH ........................... SKIPPED
[INFO] Camel :: Example :: SSH :: Security ............... SKIPPED
[INFO] Camel :: Example :: SQL ........................... SKIPPED
[INFO] Camel :: Example :: SQL :: Blueprint .............. SKIPPED
[INFO] Camel :: Example :: Tracer ........................ SKIPPED
[INFO] Camel :: Example :: Twitter WebSocket ............. SKIPPED
[INFO] Camel :: Example :: Twitter WebSocket using OSGi Blueprint  SKIPPED
[INFO] Camel :: Assembly ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.404s
[INFO] Finished at: Thu Aug 21 09:52:57 CEST 2014
[INFO] Final Memory: 133M/471M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-eclipse-plugin:2.9:eclipse (default-cli) on 
project spi-annotations: Unable to resolve resource location: 
/camel-eclipse-checkstyle -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.maven.plugins:maven-eclipse-plugin:2.9:eclipse (default-cli) on 
project spi-annotations: Unable to resolve resource location: 
/camel-eclipse-checkstyle
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to resolve 
resource location: /camel-eclipse-checkstyle
        at 
org.apache.maven.plugin.eclipse.EclipsePlugin.writeAdditionalConfig(EclipsePlugin.java:1333)
        at 
org.apache.maven.plugin.eclipse.EclipsePlugin.writeConfiguration(EclipsePlugin.java:1234)
        at 
org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(AbstractIdeSupportMojo.java:511)
        at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
        ... 19 more
[ERROR] 
[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 :spi-annotations
{code}

and it seems to be related to this issue: 
https://issues.apache.org/jira/browse/CAMEL-3018

Maybe I'm doing something wrong, but I always been importing camel in that way.

Thanks,
Andrea



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to