You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2009/11/06 15:14:52 UTC
[jira] Created: (SMX4-421) JBI Maven plugin can not build SA if
several Camel SUs are included
JBI Maven plugin can not build SA if several Camel SUs are included
-------------------------------------------------------------------
Key: SMX4-421
URL: https://issues.apache.org/activemq/browse/SMX4-421
Project: ServiceMix 4
Issue Type: Bug
Affects Versions: 4.1.0
Reporter: Sergey Beryozkin
Fix For: 4.1.0
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] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SMX4-421) JBI Maven plugin can not build SA if
several Camel SUs are included
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved SMX4-421.
---------------------------------------
Resolution: Duplicate
https://issues.apache.org/activemq/browse/SM-1906
> JBI Maven plugin can not build SA if several Camel SUs are included
> -------------------------------------------------------------------
>
> Key: SMX4-421
> URL: https://issues.apache.org/activemq/browse/SMX4-421
> Project: ServiceMix 4
> Issue Type: Bug
> Affects Versions: 4.1.0
> Reporter: Sergey Beryozkin
> Fix For: 4.1.0
>
>
> 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] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SMX4-421) JBI Maven plugin can not build SA if
several Camel SUs are included
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55209#action_55209 ]
Freeman Fang commented on SMX4-421:
-----------------------------------
Hi Sergey,
another workaround is
add
<properties>
<componentName>servicemix-camel</componentName>
</properties>
into your su pom.xml
if you still want to use 4.1 version.
Freeman
> JBI Maven plugin can not build SA if several Camel SUs are included
> -------------------------------------------------------------------
>
> Key: SMX4-421
> URL: https://issues.apache.org/activemq/browse/SMX4-421
> Project: ServiceMix 4
> Issue Type: Bug
> Affects Versions: 4.1.0
> Reporter: Sergey Beryozkin
> Assignee: Freeman Fang
> Fix For: 4.1.0
>
>
> 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] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SMX4-421) JBI Maven plugin can not build SA if
several Camel SUs are included
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55203#action_55203 ]
Jean-Baptiste Onofré commented on SMX4-421:
-------------------------------------------
FYI, waiting the fix, the workaround is to use JBI maven plugin 4.0 in place of the 4.1 version.
> JBI Maven plugin can not build SA if several Camel SUs are included
> -------------------------------------------------------------------
>
> Key: SMX4-421
> URL: https://issues.apache.org/activemq/browse/SMX4-421
> Project: ServiceMix 4
> Issue Type: Bug
> Affects Versions: 4.1.0
> Reporter: Sergey Beryozkin
> Fix For: 4.1.0
>
>
> 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] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (SMX4-421) JBI Maven plugin can not build SA if
several Camel SUs are included
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang reassigned SMX4-421:
---------------------------------
Assignee: Freeman Fang
> JBI Maven plugin can not build SA if several Camel SUs are included
> -------------------------------------------------------------------
>
> Key: SMX4-421
> URL: https://issues.apache.org/activemq/browse/SMX4-421
> Project: ServiceMix 4
> Issue Type: Bug
> Affects Versions: 4.1.0
> Reporter: Sergey Beryozkin
> Assignee: Freeman Fang
> Fix For: 4.1.0
>
>
> 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] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SMX4-421) JBI Maven plugin can not build SA if
several Camel SUs are included
Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMX4-421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55200#action_55200 ]
Jean-Baptiste Onofré commented on SMX4-421:
-------------------------------------------
Your bug is a duplicate from another one:
https://issues.apache.org/activemq/browse/SM-1906
I close it as a duplicate.
You can follow the JBI maven plugin fix on the SM-1906 (tooling component).
> JBI Maven plugin can not build SA if several Camel SUs are included
> -------------------------------------------------------------------
>
> Key: SMX4-421
> URL: https://issues.apache.org/activemq/browse/SMX4-421
> Project: ServiceMix 4
> Issue Type: Bug
> Affects Versions: 4.1.0
> Reporter: Sergey Beryozkin
> Fix For: 4.1.0
>
>
> 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] ------------------------------------------------------------------------
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.