Additional geronimo deployment plan support
-------------------------------------------

                 Key: SM-1085
                 URL: https://issues.apache.org/activemq/browse/SM-1085
             Project: ServiceMix
          Issue Type: New Feature
          Components: geronimo
            Reporter: Kristian Koehler
         Attachments: geronimo-plugin.patch

Hi

the attached patch includes an optional geronimo deployment plan for jbi 
deployment units. with this patch it's possible to deploy servicemix deployment 
units and specified additional dependencies. For example if you tried to deploy 
the camel service unit an ClassNotFound exception is thrown because the class 
org/apache/camel/Component isn't part of the deployment unit. With the patch 
it's possible to sepcified the neccessary dependency.

Sample geronimo-jbi.xml:

<sjbi:jbi xmlns:sjbi="http://servicemix.apache.org/xml/ns/jbi-1.0"; 
xmlns:ger="http://geronimo.apache.org/xml/ns/deployment-1.2";>
  <ger:environment>
    <ger:moduleId>
      <ger:groupId>servicemix-components</ger:groupId>
      <ger:artifactId>servicemix-camel</ger:artifactId>
      <ger:version>0.0</ger:version>
      <ger:type>car</ger:type>
    </ger:moduleId>
    <ger:dependencies>
      <ger:dependency>
        <ger:groupId>org.apache.camel</ger:groupId>
        <ger:artifactId>camel-core</ger:artifactId>
        <ger:version>1.1.0</ger:version>
        <ger:type>jar</ger:type>
        <ger:import>classes</ger:import>
      </ger:dependency>
    </ger:dependencies>
    <ger:hidden-classes/>
    <ger:non-overridable-classes/>
  </ger:environment>
</sjbi:jbi>

Currently only environment entries are supported.

Kristian

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to