Hi,
Here is what I get when launching "mvn -o -e install" :
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The service unit pltmairie_esb_inoutfile_write_lw_su does not have a
depe
ndency which is packaged as a jbi-component or a project property
'componentName
'
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The service unit
pltmair
ie_esb_inoutfile_write_lw_su does not have a dependency which is packaged as
a j
bi-component or a project property 'componentName'
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:475)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
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: The service unit
pltm
airie_esb_inoutfile_write_lw_su does not have a dependency which is packaged
as
a jbi-component or a project property 'componentName'
at
org.apache.servicemix.maven.plugin.jbi.GenerateServiceAssemblyDescrip
torMojo.getComponentName(GenerateServiceAssemblyDescriptorMojo.java:408)
at
org.apache.servicemix.maven.plugin.jbi.GenerateServiceAssemblyDescrip
torMojo.generateJbiDescriptor(GenerateServiceAssemblyDescriptorMojo.java:213)
at
org.apache.servicemix.maven.plugin.jbi.GenerateServiceAssemblyDescrip
torMojo.execute(GenerateServiceAssemblyDescriptorMojo.java:157)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
... 16 more
And here is an extract of the pom.xml causing troubles :
<dependencies>
<dependency>
<groupId>pltmairie</groupId>
<artifactId>pltmairie_esb_inoutfile_read_http_su</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>pltmairie</groupId>
<artifactId>pltmairie_esb_inoutfile_read_eip_su</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>pltmairie</groupId>
<artifactId>pltmairie_esb_inoutfile_read_lw_su</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>pltmairie</groupId>
<artifactId>pltmairie_esb_inoutfile_read_lw</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>pltmairie</groupId>
<artifactId>pltmairie_esb_inoutfile_write_http_su</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>pltmairie</groupId>
<artifactId>pltmairie_esb_inoutfile_write_eip_su</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>pltmairie</groupId>
<artifactId>pltmairie_esb_inoutfile_write_lw_su</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>pltmairie</groupId>
<artifactId>pltmairie_esb_inoutfile_write_lw</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
If I launch "mvn -o install" separatly for *_read_* and *_write_* SUs it
builds fine.
Any Idea of what goes wrong?
--
View this message in context:
http://www.nabble.com/SA-with-multiple-SUs-tf4393374s12049.html#a12526768
Sent from the ServiceMix - User mailing list archive at Nabble.com.