You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by fabryprog <fa...@bizmate.it> on 2016/09/08 21:18:00 UTC

building camel code (init eclipse workspace)

Hello,

i am trying to build source code (master - 8 sept 2016) from this page:
http://camel.apache.org/building.html

i would use eclipse (neon) so i execute this command: 

mvn -Psetup.eclipse -Declipse.workspace.dir=/path/to/your/workspace

zZzzZZzzz

after 15 minutes this is the output

[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 02:34 min
[INFO] Finished at: 2016-09-08T23:07:29+02:00
[INFO] Final Memory: 1034M/2886M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-eclipse-plugin:2.10:eclipse
(setup.eclipse.project) on project camel-test-karaf: 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-test-karaf



Can you help me? 

King regards



--
View this message in context: http://camel.465427.n5.nabble.com/building-camel-code-init-eclipse-workspace-tp5787394.html
Sent from the Camel Development mailing list archive at Nabble.com.

Re: building camel code (init eclipse workspace)

Posted by fabryprog <fa...@bizmate.it>.
Thanks a lot claus!!!



--
View this message in context: http://camel.465427.n5.nabble.com/building-camel-code-init-eclipse-workspace-tp5787394p5787425.html
Sent from the Camel Development mailing list archive at Nabble.com.

Re: building camel code (init eclipse workspace)

Posted by Claus Ibsen <cl...@gmail.com>.
On Fri, Sep 9, 2016 at 8:48 AM, Antoine Toulme <an...@toulme.name> wrote:
> From experience, you probably want to go the m2e way and import the projects as Maven projects.
>

Yeah do not use the maven plugin to create eclipse project files.
Eclipse has out of the box support for maven, so just import the
project directly in Eclipse. And mind the Camel source code is big, so
you better just import only the module you want such as camel-core, or
camel-http or what module you look into.



>> On Sep 8, 2016, at 2:18 PM, fabryprog <fa...@bizmate.it> wrote:
>>
>> Hello,
>>
>> i am trying to build source code (master - 8 sept 2016) from this page:
>> http://camel.apache.org/building.html
>>
>> i would use eclipse (neon) so i execute this command:
>>
>> mvn -Psetup.eclipse -Declipse.workspace.dir=/path/to/your/workspace
>>
>> zZzzZZzzz
>>
>> after 15 minutes this is the output
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 02:34 min
>> [INFO] Finished at: 2016-09-08T23:07:29+02:00
>> [INFO] Final Memory: 1034M/2886M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-eclipse-plugin:2.10:eclipse
>> (setup.eclipse.project) on project camel-test-karaf: 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-test-karaf
>>
>>
>>
>> Can you help me?
>>
>> King regards
>>
>>
>>
>> --
>> View this message in context: http://camel.465427.n5.nabble.com/building-camel-code-init-eclipse-workspace-tp5787394.html
>> Sent from the Camel Development mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Re: building camel code (init eclipse workspace)

Posted by Antoine Toulme <an...@toulme.name>.
From experience, you probably want to go the m2e way and import the projects as Maven projects.

> On Sep 8, 2016, at 2:18 PM, fabryprog <fa...@bizmate.it> wrote:
> 
> Hello,
> 
> i am trying to build source code (master - 8 sept 2016) from this page:
> http://camel.apache.org/building.html
> 
> i would use eclipse (neon) so i execute this command:
> 
> mvn -Psetup.eclipse -Declipse.workspace.dir=/path/to/your/workspace
> 
> zZzzZZzzz
> 
> after 15 minutes this is the output
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 02:34 min
> [INFO] Finished at: 2016-09-08T23:07:29+02:00
> [INFO] Final Memory: 1034M/2886M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-eclipse-plugin:2.10:eclipse
> (setup.eclipse.project) on project camel-test-karaf: 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-test-karaf
> 
> 
> 
> Can you help me?
> 
> King regards
> 
> 
> 
> --
> View this message in context: http://camel.465427.n5.nabble.com/building-camel-code-init-eclipse-workspace-tp5787394.html
> Sent from the Camel Development mailing list archive at Nabble.com.