o.k., in detail: I've done it like it is described in the User Guide section
'Importing ServiceMix into Eclipse'. This means I've unzipped the servicemix
source distribution into the directory c:\servicemix\src. In this directory ist
the pom-File
<servicemix>
src
|__archetypes
|__build
|__common
|__core
...
pom.xml
>From this directory I started the command 'mvn eclipse:eclipse'. The option -X
>shows the same stacktrace:
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Invalid value for
'source' parameter; contains nested elements
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:48
0)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:896)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:739)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:510)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
a:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Invalid value for
'source' parameter; contains nested element
s
at org.codehaus.mojo.groovy.MojoSupport.execute(MojoSupport.java:79)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 20 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Invalid value for
'source' parameter; contains nested element
s
at
org.codehaus.mojo.groovy.execute.ExecuteMojo.process(ExecuteMojo.java:150)
at
org.codehaus.mojo.groovy.ComponentMojoSupport.doExecute(ComponentMojoSupport.java:68)
at org.codehaus.mojo.groovy.MojoSupport.execute(MojoSupport.java:71)
... 22 more
Regards
Roland
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 16. Januar 2008 13:34
An: [email protected]
Betreff: Re: AW: Installation problem with ServiceMix into Eclipse - additional
information
Hello,
what do you mean by
>>i've tried to install ServiceMix into Eclipse via Maven
have u run mvn -X?
i might have missed it, but r u runnig maven from eclipse?
i might have missed also this, but what's your directory structure? what's
below c:\servicemix\src?
where's pom.xml?
when you run mvn for your project, it assumes that you have this directory
structure
<yourproject>
src
|__main
|___ java
|___ resources
|__test
|___ java
|___ resources
regards
marco
This communication is confidential, may be privileged and is meant only for the
intended recipient. If you are
not the intended recipient, please notify the sender by reply and delete this
message from your system. Any
unauthorised dissemination, distribution or copying hereof is prohibited.
BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK Limited,
BNP Paribas UK Limited,
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are
authorised and regulated by
the Financial Services Authority.
BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank are
authorised by the CECEI
and AMF. BNP Paribas London Branch, BNP Paribas Securities Services London
Branch and BNP Paribas
Private Bank London Branch are regulated by the Financial Services Authority
for the conduct of their UK
business. BNP Paribas Securities Services London Branch is also a member of
the London Stock Exchange.