Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
4.2.0
-
None
-
None
Description
1. camelcxf-smxcxf-camel1-su pom :
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>xxx</groupId>
<artifactId>parent</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<groupId>xxx</groupId>
<!-- ******************* -->
<artifactId>camelcxf-smxcxf-camel1-su</artifactId>
<!-- ******************* -->
<packaging>jbi-service-unit</packaging>
<name>Camel1</name>
<dependencies>
<dependency>
<groupId>org.apache.servicemix</groupId>
<artifactId>servicemix-camel</artifactId>
<version>${servicemix-camel-version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>jbi-maven-plugin</artifactId>
<version>${servicemix-jbi-plugin-version}</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>
2. camelcxf-smxcxf-camel2-su pom :
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>xxx</groupId>
<artifactId>parent</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<groupId>xxx</groupId>
<!-- ******************* -->
<artifactId>camelcxf-smxcxf-camel2-su</artifactId>
<!-- ******************* -->
<packaging>jbi-service-unit</packaging>
<name>Camel2</name>
<dependencies>
<dependency>
<groupId>org.apache.servicemix</groupId>
<artifactId>servicemix-camel</artifactId>
<version>${servicemix-camel-version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>jbi-maven-plugin</artifactId>
<version>${servicemix-jbi-plugin-version}</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>
3. camelcxf-smxcxf-sa pom :
<project>
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>xxx</groupId>
<artifactId>parent</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<groupId>xxx</groupId>
<artifactId>camelcxf-smxcxf-sa</artifactId>
<packaging>jbi-service-assembly</packaging>
<name> CamelCxfSmxCxfSa :: SA</name>
<version>1.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>xxx</groupId>
<artifactId>camelcxf-smxcxf-camel1-su</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>xxx</groupId>
<artifactId>camelcxf-smxcxf-http-su</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>xxx</groupId>
<artifactId>camelcxf-smxcxf-camel2-su</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>jbi-maven-plugin</artifactId>
<version>${servicemix-jbi-plugin-version}</version>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
</project>
4. camelcxf-smxcxf-sa build problem
[INFO] [jbi:generate-jbi-service-assembly-descriptor]
[INFO] Generating jbi.xml
[INFO] Determining component name for service unit camelcxf-smxcxf-camel1-su
[INFO] Project MavenProject: org.apache.servicemix:servicemix-camel:2009.02.0-ps
c-01-00M2 @ packaged jbi-component
[INFO] Determining component name for service unit camelcxf-smxcxf-http-su
[INFO] Project MavenProject: org.apache.servicemix:servicemix-http:2009.02.0-psc
-01-00M2 @ packaged jbi-component
[INFO] Determining component name for service unit camelcxf-smxcxf-camel2-su
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The service unit camelcxf-smxcxf-camel2-su does not have a dependency whi
ch is packaged as a jbi-component or a project property 'componentName'
[INFO] ------------------------------------------------------------------------
Attachments
Issue Links
- is duplicated by
-
SM-1906 JBI Maven plugin is unable to manage several SU based on the same component in the same SA
- Resolved