You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2009/11/07 10:30:52 UTC
[jira] Assigned: (SMX4-421) JBI Maven plugin can not build SA if
several Camel SUs are included
[ 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.