Hi I'm new to using Apache ServiceMix and Maven so go easy ....

I'm trying to build the source (3.2.1 - downloaded the zip) in windows XP
and I am stuck at the following problem.

An abbreviated output is:

[INFO]
------------------------------------------------------------------------
[INFO] Building ServiceMix :: Geronimo :: Deployer service
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
Downloading:
http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/reposito
ry/org/apache/axis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/axis2
/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/a
xis2/axis2-jaxws-api/1.3-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://repository.codehaus.org/org/apache/axis2/axis2-jaxws-api/1.3
-r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-jaxws-api/1.3-
r562247/axis2-jaxws-api-1.3-r562247.pom
Downloading:
http://svn.apache.org/repos/asf/geronimo/server/tags/2.0.1/reposito
ry/org/apache/axis2/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/axis2
/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/a
xis2/axis2-saaj-api/1.3-r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://repository.codehaus.org/org/apache/axis2/axis2-saaj-api/1.3-
r562247/axis2-saaj-api-1.3-r562247.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/axis2/axis2-saaj-api/1.3-r
562247/axis2-saaj-api-1.3-r562247.pom
[INFO] [xmlbeans:xmlbeans {execution: default}]
[INFO] All schema objects are up to date.
[INFO] [build:copy {execution: default}]
[INFO] [groovy:execute {execution: default}]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Invalid value for 'source' parameter; contains nested elements

[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Invalid value for
'sourc
e' parameter; contains nested elements
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:564)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:480)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:459)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.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(DelegatingMethodAcces
sorImpl.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
'so
urce' parameter; contains nested elements
        at org.codehaus.mojo.groovy.MojoSupport.execute(MojoSupport.java:79)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:447)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:539)
        ... 16 more
Caused by: org.apache.maven.plugin.MojoExecutionException: Invalid value for
'so
urce' parameter; contains nested elements
        at
org.codehaus.mojo.groovy.execute.ExecuteMojo.process(ExecuteMojo.java
:150)
        at
org.codehaus.mojo.groovy.ComponentMojoSupport.doExecute(ComponentMojo
Support.java:68)
        at org.codehaus.mojo.groovy.MojoSupport.execute(MojoSupport.java:71)
        ... 18 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 minutes 3 seconds
[INFO] Finished at: Wed Feb 06 15:34:38 EST 2008
[INFO] Final Memory: 85M/153M
[INFO]
------------------------------------------------------------------------

The command I ran was mvn -DdownloadSources=true -Dmaven.test.skip=true
install -e

other variables of interest may be:

JAVA_HOME = C:\Progra~1\Java\jdk1.5.0_12
MAVEN_OPTS=-Xmx768m

I have tried running the project in two parts, the -Pstep1 project installs
fine but the install or the -Pstep2 install always fails at this point.

Any help would be much appreciated.

-- 
View this message in context: 
http://www.nabble.com/building-errors-in-servicemix-%27Invalid-value-for-%27source%27-parameter--contains-nested-elements%27-tp15305418s12049p15305418.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to