Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

[SWITCHYARD-340] OSGi Support #242

Closed
wants to merge 1 commit into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 21, 2013
  1. @gnodet
This page is out of date. Refresh to see the latest.
View
1  .gitignore
@@ -13,3 +13,4 @@ core/bin/
.xml
.DS_Store
.metadata/
+.idea
View
13 bean-service/pom.xml
@@ -29,8 +29,19 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>switchyard-quickstart-bean-service</artifactId>
- <packaging>jar</packaging>
+ <packaging>bundle</packaging>
<name>Quickstart : Bean Service</name>
+ <properties>
+ <switchyard.osgi.export.pkg>
+ org.switchyard.quickstarts.bean.service*
+ </switchyard.osgi.export.pkg>
+ <switchyard.osgi.require.capability>
+ org.ops4j.pax.cdi.extension; filter:="(extension=switchyard-component-bean)",
+ org.ops4j.pax.cdi.extension; filter:="(extension=deltaspike-core-api)",
+ osgi.extender; filter:="(osgi.extender=pax.cdi)"
+ </switchyard.osgi.require.capability>
+ <switchyard.osgi.provide.capability />
+ </properties>
<dependencies>
<dependency>
<groupId>org.switchyard</groupId>
View
11 camel-amqp-binding/pom.xml
@@ -28,9 +28,20 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>switchyard-quickstart-camel-amqp-binding</artifactId>
+ <packaging>bundle</packaging>
<name>Quickstart : Camel AMQP Binding</name>
<properties>
<maven.exec.mainClass>org.switchyard.quickstarts.camel.amqp.binding.QpidServer</maven.exec.mainClass>
+
+ <switchyard.osgi.export.pkg>
+ org.switchyard.quickstarts.camel.amqp.binding*
+ </switchyard.osgi.export.pkg>
+ <switchyard.osgi.require.capability>
+ org.ops4j.pax.cdi.extension; filter:="(extension=switchyard-component-bean)",
+ org.ops4j.pax.cdi.extension; filter:="(extension=deltaspike-core-api)",
+ osgi.extender; filter:="(osgi.extender=pax.cdi)"
+ </switchyard.osgi.require.capability>
+ <switchyard.osgi.provide.capability />
</properties>
<dependencies>
<dependency>
View
11 camel-binding/pom.xml
@@ -29,9 +29,20 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>switchyard-quickstart-camel-binding</artifactId>
+ <packaging>bundle</packaging>
<name>Quickstart : Camel Binding</name>
<properties>
<switchyard.version>1.0.0-SNAPSHOT</switchyard.version>
+
+ <switchyard.osgi.export.pkg>
+ org.switchyard.quickstarts.camel.binding*
+ </switchyard.osgi.export.pkg>
+ <switchyard.osgi.require.capability>
+ org.ops4j.pax.cdi.extension; filter:="(extension=switchyard-component-bean)",
+ org.ops4j.pax.cdi.extension; filter:="(extension=deltaspike-core-api)",
+ osgi.extender; filter:="(osgi.extender=pax.cdi)"
+ </switchyard.osgi.require.capability>
+ <switchyard.osgi.provide.capability />
</properties>
<dependencies>
<dependency>
View
11 camel-bus-cdi/pom.xml
@@ -29,9 +29,20 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>switchyard-quickstart-camel-bus-cdi</artifactId>
+ <packaging>bundle</packaging>
<name>Quickstart : Camel Exchange Bus CDI</name>
<properties>
<switchyard.version>1.0.0-SNAPSHOT</switchyard.version>
+
+ <switchyard.osgi.export.pkg>
+ org.switchyard.quickstarts.camel.bus*
+ </switchyard.osgi.export.pkg>
+ <switchyard.osgi.require.capability>
+ org.ops4j.pax.cdi.extension; filter:="(extension=switchyard-component-bean)",
+ org.ops4j.pax.cdi.extension; filter:="(extension=deltaspike-core-api)",
+ osgi.extender; filter:="(osgi.extender=pax.cdi)"
+ </switchyard.osgi.require.capability>
+ <switchyard.osgi.provide.capability />
</properties>
<dependencies>
<dependency>
View
11 camel-ftp-binding/pom.xml
@@ -29,9 +29,20 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>switchyard-quickstart-camel-ftp-binding</artifactId>
+ <packaging>bundle</packaging>
<name>Quickstart : Camel FTP Binding</name>
<properties>
<switchyard.version>1.0.0-SNAPSHOT</switchyard.version>
+
+ <switchyard.osgi.export.pkg>
+ org.switchyard.quickstarts.camel.ftp.binding*
+ </switchyard.osgi.export.pkg>
+ <switchyard.osgi.require.capability>
+ org.ops4j.pax.cdi.extension; filter:="(extension=switchyard-component-bean)",
+ org.ops4j.pax.cdi.extension; filter:="(extension=deltaspike-core-api)",
+ osgi.extender; filter:="(osgi.extender=pax.cdi)"
+ </switchyard.osgi.require.capability>
+ <switchyard.osgi.provide.capability />
</properties>
<dependencies>
<dependency>
View
5 camel-jaxb/pom.xml
@@ -29,9 +29,14 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>switchyard-quickstart-camel-jaxb</artifactId>
+ <packaging>bundle</packaging>
<name>Quickstart : Camel JAXB</name>
<properties>
<switchyard.version>1.0.0-SNAPSHOT</switchyard.version>
+
+ <switchyard.osgi.export.pkg>
+ org.switchyard.quickstarts.camel.jaxb*
+ </switchyard.osgi.export.pkg>
</properties>
<dependencies>
<dependency>
View
12 camel-jms-binding/pom.xml
@@ -29,7 +29,19 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>switchyard-quickstart-camel-jms-binding</artifactId>
+ <packaging>bundle</packaging>
<name>Quickstart : Camel JMS Binding</name>
+ <properties>
+ <switchyard.osgi.export.pkg>
+ org.switchyard.quickstarts.camel.jms.binding*
+ </switchyard.osgi.export.pkg>
+ <switchyard.osgi.require.capability>
+ org.ops4j.pax.cdi.extension; filter:="(extension=switchyard-component-bean)",
+ org.ops4j.pax.cdi.extension; filter:="(extension=deltaspike-core-api)",
+ osgi.extender; filter:="(osgi.extender=pax.cdi)"
+ </switchyard.osgi.require.capability>
+ <switchyard.osgi.provide.capability />
+ </properties>
<dependencies>
<dependency>
<groupId>org.switchyard</groupId>
View
12 camel-jpa-binding/pom.xml
@@ -29,7 +29,19 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>switchyard-quickstart-camel-jpa-binding</artifactId>
+ <packaging>bundle</packaging>
<name>Quickstart : Camel JPA Binding</name>
+ <properties>
+ <switchyard.osgi.export.pkg>
+ org.switchyard.quickstarts.camel.jpa.binding*
+ </switchyard.osgi.export.pkg>
+ <switchyard.osgi.require.capability>
+ org.ops4j.pax.cdi.extension; filter:="(extension=switchyard-component-bean)",
+ org.ops4j.pax.cdi.extension; filter:="(extension=deltaspike-core-api)",
+ osgi.extender; filter:="(osgi.extender=pax.cdi)"
+ </switchyard.osgi.require.capability>
+ <switchyard.osgi.provide.capability />
+ </properties>
<dependencies>
<dependency>
<groupId>org.switchyard.components</groupId>
View
12 camel-mail-binding/pom.xml
@@ -29,7 +29,19 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>switchyard-quickstart-camel-mail-binding</artifactId>
+ <packaging>bundle</packaging>
<name>Quickstart : Camel Mail Binding</name>
+ <properties>
+ <switchyard.osgi.export.pkg>
+ org.switchyard.quickstarts.camel.mail.binding*
+ </switchyard.osgi.export.pkg>
+ <switchyard.osgi.require.capability>
+ org.ops4j.pax.cdi.extension; filter:="(extension=switchyard-component-bean)",
+ org.ops4j.pax.cdi.extension; filter:="(extension=deltaspike-core-api)",
+ osgi.extender; filter:="(osgi.extender=pax.cdi)"
+ </switchyard.osgi.require.capability>
+ <switchyard.osgi.provide.capability />
+ </properties>
<dependencies>
<dependency>
<groupId>org.switchyard</groupId>
View
11 camel-netty-binding/pom.xml
@@ -29,9 +29,20 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>switchyard-quickstart-camel-netty-binding</artifactId>
+ <packaging>bundle</packaging>
<name>Quickstart : Camel Netty Binding</name>
<properties>
<maven.exec.mainClass>org.switchyard.quickstarts.camel.netty.binding.TCPClient</maven.exec.mainClass>
+
+ <switchyard.osgi.export.pkg>
+ org.switchyard.quickstarts.camel.netty.binding*
+ </switchyard.osgi.export.pkg>
+ <switchyard.osgi.require.capability>
+ org.ops4j.pax.cdi.extension; filter:="(extension=switchyard-component-bean)",
+ org.ops4j.pax.cdi.extension; filter:="(extension=deltaspike-core-api)",
+ osgi.extender; filter:="(osgi.extender=pax.cdi)"
+ </switchyard.osgi.require.capability>
+ <switchyard.osgi.provide.capability />
</properties>
<dependencies>
<dependency>
View
11 camel-quartz-binding/pom.xml
@@ -29,9 +29,20 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>switchyard-quickstart-camel-quartz-binding</artifactId>
+ <packaging>bundle</packaging>
<name>Quickstart : Camel Quartz Binding</name>
<properties>
<switchyard.version>1.0.0-SNAPSHOT</switchyard.version>
+
+ <switchyard.osgi.export.pkg>
+ org.switchyard.quickstarts.camel.quartz.binding*
+ </switchyard.osgi.export.pkg>
+ <switchyard.osgi.require.capability>
+ org.ops4j.pax.cdi.extension; filter:="(extension=switchyard-component-bean)",
+ org.ops4j.pax.cdi.extension; filter:="(extension=deltaspike-core-api)",
+ osgi.extender; filter:="(osgi.extender=pax.cdi)"
+ </switchyard.osgi.require.capability>
+ <switchyard.osgi.provide.capability />
</properties>
<dependencies>
<dependency>
View
5 camel-service/pom.xml
@@ -30,9 +30,12 @@
</parent>
<artifactId>switchyard-quickstart-camel-service</artifactId>
<name>Quickstart : Camel Service</name>
- <packaging>jar</packaging>
+ <packaging>bundle</packaging>
<properties>
<switchyard.version>1.0.0-SNAPSHOT</switchyard.version>
+ <switchyard.osgi.export.pkg>
+ org.switchyard.quickstarts.camel.service*
+ </switchyard.osgi.export.pkg>
</properties>
<dependencies>
<dependency>
Something went wrong with that request. Please try again.