Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Work on supporting karaf/fuse.

  • Loading branch information...
commit e08470863f2fa831f2be271c941f853150cb1243 1 parent e3dd1e5
@EricWittmann EricWittmann authored
View
3  .gitignore
@@ -1,6 +1,7 @@
.settings
.project
+.classpath
target
.metadata
/RemoteSystemsTempFiles
-.errai
+.errai
View
1  pom.xml
@@ -446,6 +446,7 @@
<module>s-ramp-repository-jcr/modeshape</module>
<module>s-ramp-server</module>
<module>s-ramp-server-eap61</module>
+ <module>s-ramp-server-fuse61</module>
<module>s-ramp-server-tomcat7</module>
<module>s-ramp-shell</module>
<module>s-ramp-shell-api</module>
View
33 s-ramp-api/pom.xml
@@ -9,6 +9,7 @@
</parent>
<artifactId>s-ramp-api</artifactId>
+ <packaging>bundle</packaging>
<name>S-RAMP API</name>
<description>S-RAMP API is generated from the OASIS S-RAMP Specification v1.0.</description>
@@ -20,4 +21,36 @@
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
+ <Bundle-Name>${project.name}</Bundle-Name>
+ <Bundle-Version>${project.version}</Bundle-Version>
+ <Export-Package>
+ org.jboss.downloads.overlord.sramp._2013.auditing,
+ org.oasis_open.docs.s_ramp.ns.s_ramp_v1,
+ org.w3._1999._02._22_rdf_syntax_ns_,
+ org.w3._1999.xlink,
+ org.w3._2000._01.rdf_schema_,
+ org.w3._2002._07.owl_
+ </Export-Package>
+ <Import-Package>
+ javax.xml.bind,
+ javax.xml.bind.annotation,
+ javax.xml.bind.annotation.adapters,
+ javax.xml.datatype,
+ javax.xml.namespace
+ </Import-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
</project>
View
49 s-ramp-atom/pom.xml
@@ -8,6 +8,7 @@
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>s-ramp-atom</artifactId>
+ <packaging>bundle</packaging>
<name>S-RAMP ATOM</name>
<description>S-RAMP Atom API related shared code.</description>
@@ -76,4 +77,52 @@
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
+ <Bundle-Name>${project.name}</Bundle-Name>
+ <Bundle-Version>${project.version}</Bundle-Version>
+ <Export-Package>
+ org.overlord.sramp.atom.*
+ </Export-Package>
+ <Import-Package>
+ javax.ws.rs,
+ javax.ws.rs.core,
+ javax.ws.rs.ext,
+ javax.xml.bind,
+ javax.xml.bind.annotation,
+ javax.xml.datatype,
+ javax.xml.namespace,
+ org.apache.commons.compress.archivers.zip,
+ org.apache.commons.io,
+ org.jboss.downloads.overlord.sramp._2013.auditing,
+ org.jboss.resteasy.annotations.interception,
+ org.jboss.resteasy.client,
+ org.jboss.resteasy.plugins.providers,
+ org.jboss.resteasy.plugins.providers.atom,
+ org.jboss.resteasy.plugins.providers.jaxb,
+ org.jboss.resteasy.specimpl,
+ org.jboss.resteasy.spi,
+ org.oasis_open.docs.s_ramp.ns.s_ramp_v1,
+ org.overlord.sramp.common,
+ org.overlord.sramp.common.i18n,
+ org.overlord.sramp.common.ontology,
+ org.overlord.sramp.common.visitors,
+ org.w3._1999._02._22_rdf_syntax_ns_,
+ org.w3._2000._01.rdf_schema_,
+ org.w3._2002._07.owl_,
+ org.w3c.dom
+ </Import-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
</project>
View
46 s-ramp-client/pom.xml
@@ -8,6 +8,7 @@
</parent>
<artifactId>s-ramp-client</artifactId>
+ <packaging>bundle</packaging>
<name>S-RAMP Client</name>
<description>A general purpose client to communicate with any S-RAMP spec-compliant repository.</description>
@@ -134,6 +135,51 @@
</dependencies>
<build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
+ <Bundle-Name>${project.name}</Bundle-Name>
+ <Bundle-Version>${project.version}</Bundle-Version>
+ <Export-Package>
+ org.overlord.sramp.client.*
+ </Export-Package>
+ <Import-Package>
+ javax.ws.rs.core,
+ javax.xml.namespace,
+ org.apache.commons.codec.binary,
+ org.apache.commons.io,
+ org.apache.http,
+ org.apache.http.client,
+ org.apache.http.client.methods,
+ org.apache.http.impl.client,
+ org.apache.http.protocol,
+ org.jboss.downloads.overlord.sramp._2013.auditing,
+ org.jboss.resteasy.client,
+ org.jboss.resteasy.client.core.executors,
+ org.jboss.resteasy.plugins.providers.atom,
+ org.jboss.resteasy.plugins.providers.atom.app,
+ org.jboss.resteasy.plugins.providers.multipart,
+ org.joda.time,
+ org.joda.time.format,
+ org.oasis_open.docs.s_ramp.ns.s_ramp_v1,
+ org.overlord.sramp.atom,
+ org.overlord.sramp.atom.archive,
+ org.overlord.sramp.atom.beans,
+ org.overlord.sramp.atom.client,
+ org.overlord.sramp.atom.err,
+ org.overlord.sramp.common,
+ org.overlord.sramp.common.i18n,
+ org.w3._1999._02._22_rdf_syntax_ns_
+ </Import-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
View
32 s-ramp-common/pom.xml
@@ -9,6 +9,7 @@
</parent>
<artifactId>s-ramp-common</artifactId>
+ <packaging>bundle</packaging>
<name>S-RAMP Common</name>
<description>S-RAMP Common contains functionality that is core to S-RAMP concepts as described in the S-RAMP functional specification.</description>
@@ -65,4 +66,35 @@
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
+ <Bundle-Name>${project.name}</Bundle-Name>
+ <Bundle-Version>${project.version}</Bundle-Version>
+ <Export-Package>
+ org.overlord.sramp.common.*
+ </Export-Package>
+ <Import-Package>
+ javax.xml.namespace,
+ javax.xml.parsers,
+ javax.xml.xpath,
+ org.apache.commons.configuration,
+ org.apache.commons.io,
+ org.jboss.downloads.overlord.sramp._2013.auditing,
+ org.oasis_open.docs.s_ramp.ns.s_ramp_v1,
+ org.overlord.commons.config,
+ org.w3c.dom
+ </Import-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
</project>
View
1  s-ramp-distro/pom.xml
@@ -14,6 +14,7 @@
<description>Builds the official S-RAMP distribution by pulling together the binaries, source, documentation, etc... into a single bundle.</description>
<modules>
+ <module>s-ramp-distro-fuse61</module>
<module>s-ramp-distro-shell</module>
<module>s-ramp-distro-assembly</module>
<module>s-ramp-distro-assembly-cli</module>
View
163 s-ramp-distro/s-ramp-distro-fuse61/pom.xml
@@ -0,0 +1,163 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.overlord.sramp</groupId>
+ <artifactId>s-ramp-distro</artifactId>
+ <version>0.4.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>s-ramp-distro-karaf</artifactId>
+ <packaging>pom</packaging>
+ <name>S-RAMP Distribution: Karaf Support</name>
+
+ <dependencies>
+ <!-- Include the base s-ramp-server WAR to pull in all required dependencies transitively -->
+ <dependency>
+ <groupId>org.overlord.sramp</groupId>
+ <artifactId>s-ramp-server</artifactId>
+ <version>${project.version}</version>
+ <type>jar</type>
+ <classifier>classes</classifier>
+ </dependency>
+
+ <!-- Include the karaf overlay WAR -->
+ <dependency>
+ <groupId>org.overlord.sramp</groupId>
+ <artifactId>s-ramp-server-karaf23</artifactId>
+ <version>${project.version}</version>
+ <type>war</type>
+ </dependency>
+
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-beanutils</groupId>
+ <artifactId>commons-beanutils-core</artifactId>
+ <version>1.8.0</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-digester</groupId>
+ <artifactId>commons-digester</artifactId>
+ <version>1.8</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-jxpath</groupId>
+ <artifactId>commons-jxpath</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet.jsp</groupId>
+ <artifactId>jsp-api</artifactId>
+ <version>2.2</version>
+ </dependency>
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant</artifactId>
+ <version>1.6.5</version>
+ </dependency>
+ <dependency>
+ <groupId>com.datastax.cassandra</groupId>
+ <artifactId>cassandra-driver-core</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+ <dependency>
+ <groupId>org.mongodb</groupId>
+ <artifactId>mongo-java-driver</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.jms</groupId>
+ <artifactId>jms</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>javax.security.jacc</groupId>
+ <artifactId>javax.security.jacc-api</artifactId>
+ </dependency>
+ </dependencies>
+
+ <!-- Overrides for Karaf -->
+ <dependencyManagement>
+ <dependencies>
+ <!-- Upgrade to log4j 1.2.17 because the 1.2.16 bundle has a duplicate import -->
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.17</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.overlord</groupId>
+ <artifactId>overlord-commons-maven-plugin</artifactId>
+ <version>${overlord-commons.version}</version>
+ <executions>
+ <execution>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>generate-features-xml</goal>
+ </goals>
+ <configuration>
+ <outputFile>${project.build.directory}/features.xml</outputFile>
+ <attach>true</attach>
+ <features>
+ <feature>
+ <name>s-ramp-dependencies</name>
+ <version>${project.version}</version>
+ <comment>All S-RAMP dependencies</comment>
+ <dependsOnFeatures>
+ <feature>
+ <name>http</name>
+ </feature>
+ </dependsOnFeatures>
+ <excludes>
+ <exclude>org.overlord.sramp:s-ramp-*:*</exclude>
+ <exclude>org.mortbay.jetty:*:*</exclude>
+ <exclude>javax.servlet:servlet-api:*</exclude>
+ <exclude>javax.servlet:javax.servlet-api:*</exclude>
+ </excludes>
+ </feature>
+ <feature>
+ <name>s-ramp-modules</name>
+ <version>${project.version}</version>
+ <comment>All S-RAMP modules</comment>
+ <dependsOnFeatures>
+ <feature>
+ <name>s-ramp-dependencies</name>
+ <version>${project.version}</version>
+ </feature>
+ </dependsOnFeatures>
+ <includes>
+ <include>org.overlord.sramp:s-ramp-*:jar</include>
+ </includes>
+ <excludes>
+ <exclude>org.overlord.sramp:s-ramp-server*:*</exclude>
+ </excludes>
+ </feature>
+ <feature>
+ <name>s-ramp-server</name>
+ <version>${project.version}</version>
+ <comment>The S-RAMP Server (backend)</comment>
+ <dependsOnFeatures>
+ <feature>
+ <name>war</name>
+ </feature>
+ <feature>
+ <name>s-ramp-modules</name>
+ <version>${project.version}</version>
+ </feature>
+ </dependsOnFeatures>
+ <includes>
+ <include>org.overlord.sramp:s-ramp-server-karaf23:war</include>
+ </includes>
+ </feature>
+ </features>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
View
64 s-ramp-distro/s-ramp-distro-fuse61/src/main/resources/features.xml
@@ -0,0 +1,64 @@
+<features xmlns="http://karaf.apache.org/xmlns/features/v1.0.0">
+ <feature name="s-ramp-dependencies" version="0.4.0-SNAPSHOT">
+ <feature>http</feature>
+
+ <!-- Third Party Libraries -->
+ <bundle>wrap:mvn:log4j/log4j/1.2.14$Bundle-SymbolicName=log4j.log4j&amp;Bundle-Version=1.2.14&amp;Bundle-Name=Log4j</bundle>
+ <bundle>wrap:mvn:xml-apis/xml-apis/1.4.01$Bundle-SymbolicName=xml-apis.xml-apis&amp;Bundle-Version=1.4.01&amp;Bundle-Name=XML%20APIs</bundle>
+ <bundle>mvn:commons-configuration/commons-configuration/1.6</bundle>
+ <bundle>wrap:mvn:javax.servlet/servlet-api/2.5$Bundle-SymbolicName=javax.servlet.servlet-api&amp;Bundle-Version=2.5&amp;Bundle-Name=Servlet%20API</bundle>
+ <bundle>wrap:mvn:javax.servlet.jsp/jsp-api/2.2$Bundle-SymbolicName=javax.servlet.jsp.jsp-api&amp;Bundle-Version=2.2&amp;Bundle-Name=Servlet%20JSP%20API</bundle>
+ <bundle>mvn:javax.mail/mail/1.4.5</bundle>
+ <bundle>wrap:mvn:commons-beanutils/commons-beanutils-core/1.8.0$Bundle-SymbolicName=org.apache.commons.commons-beanutils-core&amp;Bundle-Version=1.8.0&amp;Bundle-Name=Commons%20Beanutils%20(core)</bundle>
+ <bundle>mvn:commons-codec/commons-codec/1.5</bundle>
+ <bundle>mvn:commons-collections/commons-collections/3.2.1</bundle>
+ <bundle>mvn:org.apache.commons/commons-compress/1.4.1</bundle>
+ <bundle>wrap:mvn:commons-digester/commons-digester/1.8$Bundle-SymbolicName=org.apache.commons.commons-digester&amp;Bundle-Version=1.8&amp;Bundle-Name=Commons%20Digester</bundle>
+ <bundle>mvn:commons-jxpath/commons-jxpath/1.3</bundle>
+ <bundle>wrap:mvn:jdom/jdom/1.0$Bundle-SymbolicName=jdom.jdom&amp;Bundle-Version=1.0&amp;Bundle-Name=JDom</bundle>
+ <bundle>mvn:commons-lang/commons-lang/2.6</bundle>
+ <bundle>mvn:commons-io/commons-io/2.1</bundle>
+ <bundle>wrap:mvn:ant/ant/1.6.5$Bundle-SymbolicName=ant.ant&amp;Bundle-Version=1.6.5&amp;Bundle-Name=Ant</bundle>
+ <bundle>mvn:org.codehaus.jackson/jackson-core-asl/1.9.9</bundle>
+ <bundle>mvn:org.codehaus.jackson/jackson-mapper-asl/1.9.9</bundle>
+ <bundle>wrap:mvn:org.tukaani/xz/1.0$Bundle-SymbolicName=org.tukaani.xz&amp;Bundle-Version=1.0&amp;Bundle-Name=XZ%20for%20Java</bundle>
+
+ <!-- RESTEasy -->
+ <bundle>wrap:mvn:org.jboss.resteasy/jaxrs-api/2.3.6.Final$Bundle-SymbolicName=org.jboss.resteasy.jaxrs-api&amp;Bundle-Version=2.3.6.Final&amp;Bundle-Name=JAX-RS%20Core%20API</bundle>
+ <bundle>wrap:mvn:org.jboss.resteasy/resteasy-jaxrs/2.3.6.Final$Bundle-SymbolicName=org.jboss.resteasy.resteasy-jaxrs&amp;Bundle-Version=2.3.6.Final&amp;Bundle-Name=RESTEasy%20JAX-RS%20Implementation</bundle>
+ <bundle>wrap:mvn:org.jboss.resteasy/resteasy-atom-provider/2.3.6.Final$Bundle-SymbolicName=org.jboss.resteasy.resteasy-atom-provider&amp;Bundle-Version=2.3.6.Final&amp;Bundle-Name=Resteasy%20Atom%20Provider</bundle>
+ <bundle>wrap:mvn:org.jboss.resteasy/resteasy-jaxb-provider/2.3.6.Final$Bundle-SymbolicName=org.jboss.resteasy.resteasy-jaxb-provider&amp;Bundle-Version=2.3.6.Final&amp;Bundle-Name=Resteasy%20JAXB%20Provider</bundle>
+
+ <!-- Overlord Commons Config -->
+ <bundle>mvn:org.overlord/overlord-commons-config/2.0.0-SNAPSHOT</bundle>
+ </feature>
+
+ <!-- S-RAMP Modules -->
+ <feature name="s-ramp-modules" version="0.4.0-SNAPSHOT">
+ <feature version="0.4.0-SNAPSHOT">s-ramp-dependencies</feature>
+ <bundle>mvn:org.overlord.sramp/s-ramp-api/0.4.0-SNAPSHOT</bundle>
+ <bundle>mvn:org.overlord.sramp/s-ramp-common/0.4.0-SNAPSHOT</bundle>
+ <bundle>mvn:org.overlord.sramp/s-ramp-atom/0.4.0-SNAPSHOT</bundle>
+ </feature>
+
+ <!-- S-RAMP Server -->
+ <feature name="s-ramp-server" version="0.4.0-SNAPSHOT">
+ <feature version="0.4.0-SNAPSHOT">s-ramp-dependencies</feature>
+ <feature>war</feature>
+ <bundle>mvn:org.overlord.sramp/s-ramp-server-karaf23/0.4.0-SNAPSHOT/war</bundle>
+ </feature>
+
+ <!-- S-RAMP UI -->
+ <feature name="s-ramp-ui" version="0.4.0-SNAPSHOT">
+ <feature version="0.4.0-SNAPSHOT">s-ramp-idp</feature>
+ <feature>war</feature>
+ <bundle>mvn:org.overlord.sramp/s-ramp-ui-war-karaf23/0.4.0-SNAPSHOT/war</bundle>
+ </feature>
+
+ <!-- All of S-RAMP -->
+ <feature name="s-ramp" version="0.4.0-SNAPSHOT">
+ <feature version="0.4.0-SNAPSHOT">s-ramp-server</feature>
+ <feature version="0.4.0-SNAPSHOT">s-ramp-ui</feature>
+ </feature>
+
+</features>
View
35 s-ramp-integration-java/pom.xml
@@ -6,7 +6,9 @@
<version>0.4.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
+
<artifactId>s-ramp-integration-java</artifactId>
+ <packaging>bundle</packaging>
<name>S-RAMP Integration: Java</name>
<description>S-RAMP Integration: Java contains classes used when integrating the S-RAMP repository with Java projects.</description>
@@ -60,6 +62,37 @@
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
-
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
+ <Bundle-Name>${project.name}</Bundle-Name>
+ <Bundle-Version>${project.version}</Bundle-Version>
+ <Export-Package>
+ org.overlord.sramp.integration.java.*
+ </Export-Package>
+ <Import-Package>
+ org.apache.bcel.classfile,
+ org.apache.maven.model,
+ org.apache.maven.model.io.xpp3,
+ org.apache.maven.project,
+ org.codehaus.plexus.util.xml.pull,
+ org.oasis_open.docs.s_ramp.ns.s_ramp_v1,
+ org.overlord.sramp.atom.archive.expand,
+ org.overlord.sramp.atom.archive.expand.registry,
+ org.overlord.sramp.common,
+ org.overlord.sramp.common.derived
+ </Import-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
View
29 s-ramp-integration-kie/pom.xml
@@ -6,7 +6,9 @@
<version>0.4.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
+
<artifactId>s-ramp-integration-kie</artifactId>
+ <packaging>bundle</packaging>
<name>S-RAMP Integration: KIE</name>
<description>S-RAMP Integration: KIE contains rules, processes etc, used when integrating the S-RAMP repository with Drools or jBPM projects.</description>
@@ -37,4 +39,31 @@
<artifactId>log4j</artifactId>
</dependency>
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
+ <Bundle-Name>${project.name}</Bundle-Name>
+ <Bundle-Version>${project.version}</Bundle-Version>
+ <Export-Package>
+ org.overlord.sramp.integration.kie.*
+ </Export-Package>
+ <Import-Package>
+ org.oasis_open.docs.s_ramp.ns.s_ramp_v1,
+ org.overlord.sramp.atom.archive.expand,
+ org.overlord.sramp.atom.archive.expand.registry,
+ org.overlord.sramp.common,
+ org.overlord.sramp.common.derived
+ </Import-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
View
35 s-ramp-integration-switchyard/pom.xml
@@ -6,7 +6,9 @@
<version>0.4.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
+
<artifactId>s-ramp-integration-switchyard</artifactId>
+ <packaging>bundle</packaging>
<name>S-RAMP Integration: SwitchYard</name>
<description>S-RAMP Integration: SwitchYard contains classes used when tightly integrating the S-RAMP repository with SwitchYard.</description>
@@ -49,4 +51,37 @@
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
+ <Bundle-Name>${project.name}</Bundle-Name>
+ <Bundle-Version>${project.version}</Bundle-Version>
+ <Export-Package>
+ org.overlord.sramp.integration.switchyard.*
+ </Export-Package>
+ <Import-Package>
+ javax.xml.namespace,
+ javax.xml.parsers,
+ javax.xml.xpath,
+ org.oasis_open.docs.s_ramp.ns.s_ramp_v1,
+ org.overlord.sramp.atom.archive.expand,
+ org.overlord.sramp.atom.archive.expand.registry,
+ org.overlord.sramp.common,
+ org.overlord.sramp.common.derived,
+ org.overlord.sramp.common.i18n,
+ org.overlord.sramp.common.query.xpath,
+ org.slf4j,
+ org.w3c.dom
+ </Import-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
View
32 s-ramp-integration-teiid/pom.xml
@@ -8,6 +8,7 @@
</parent>
<artifactId>s-ramp-integration-teiid</artifactId>
+ <packaging>bundle</packaging>
<name>S-RAMP Integration: Teiid</name>
<description>S-RAMP Integration: Teiid contains classes used when integrating the S-RAMP repository with Teiid VDBs.</description>
@@ -39,4 +40,35 @@
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
+ <Bundle-Name>${project.name}</Bundle-Name>
+ <Bundle-Version>${project.version}</Bundle-Version>
+ <Export-Package>
+ org.overlord.sramp.integration.teiid.*
+ </Export-Package>
+ <Import-Package>
+ javax.xml.namespace,
+ javax.xml.xpath,
+ org.oasis_open.docs.s_ramp.ns.s_ramp_v1,
+ org.overlord.sramp.atom.archive.expand,
+ org.overlord.sramp.atom.archive.expand.registry,
+ org.overlord.sramp.common,
+ org.overlord.sramp.common.derived,
+ org.overlord.sramp.common.i18n,
+ org.slf4j,
+ org.w3c.dom
+ </Import-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
View
39 s-ramp-repository-jcr/modeshape/pom.xml
@@ -9,6 +9,7 @@
</parent>
<artifactId>s-ramp-repository-jcr-modeshape</artifactId>
+ <packaging>bundle</packaging>
<name>S-RAMP JCR Repository ModeShape</name>
<description>S-RAMP JCR ModeShape Connector</description>
@@ -89,4 +90,42 @@
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
+ <Bundle-Name>${project.name}</Bundle-Name>
+ <Bundle-Version>${project.version}</Bundle-Version>
+ <Export-Package>
+ org.overlord.sramp.repository.jcr.modeshape.*
+ </Export-Package>
+ <Import-Package>
+ javax.jcr,
+ javax.jcr.nodetype,
+ javax.naming,
+ javax.security.auth.login,
+ javax.servlet,
+ javax.servlet.http,
+ org.apache.commons.io,
+ org.modeshape.common.collection,
+ org.modeshape.jcr,
+ org.modeshape.jcr.api,
+ org.modeshape.jcr.api.nodetype,
+ org.modeshape.jcr.security,
+ org.modeshape.jcr.value,
+ org.overlord.sramp.common,
+ org.overlord.sramp.common.i18n,
+ org.overlord.sramp.repository.jcr,
+ org.slf4j
+ </Import-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
View
45 s-ramp-repository-jcr/pom.xml
@@ -9,6 +9,7 @@
</parent>
<artifactId>s-ramp-repository-jcr</artifactId>
+ <packaging>bundle</packaging>
<name>S-RAMP JCR Repository</name>
<description>S-RAMP JCR Repository implementation</description>
@@ -62,4 +63,48 @@
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
+ <Bundle-Name>${project.name}</Bundle-Name>
+ <Bundle-Version>${project.version}</Bundle-Version>
+ <Export-Package>
+ org.overlord.sramp.repository.jcr.*
+ </Export-Package>
+ <Import-Package>
+ javax.jcr,
+ javax.jcr.lock,
+ javax.jcr.nodetype,
+ javax.jcr.query,
+ javax.jcr.version,
+ javax.xml.datatype,
+ javax.xml.namespace,
+ org.apache.commons.codec.digest,
+ org.apache.commons.io,
+ org.apache.commons.lang,
+ org.jboss.downloads.overlord.sramp._2013.auditing,
+ org.oasis_open.docs.s_ramp.ns.s_ramp_v1,
+ org.overlord.sramp.common,
+ org.overlord.sramp.common.derived,
+ org.overlord.sramp.common.i18n,
+ org.overlord.sramp.common.ontology,
+ org.overlord.sramp.common.query.xpath.ast,
+ org.overlord.sramp.common.query.xpath.visitors,
+ org.overlord.sramp.common.visitors,
+ org.overlord.sramp.repository,
+ org.overlord.sramp.repository.audit,
+ org.overlord.sramp.repository.query,
+ org.slf4j
+ </Import-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
View
33 s-ramp-repository/pom.xml
@@ -10,7 +10,7 @@
</parent>
<artifactId>s-ramp-repository</artifactId>
- <packaging>jar</packaging>
+ <packaging>bundle</packaging>
<name>S-RAMP Repository</name>
<description>S-RAMP Repository module.</description>
@@ -47,4 +47,35 @@
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
+ <Bundle-Name>${project.name}</Bundle-Name>
+ <Bundle-Version>${project.version}</Bundle-Version>
+ <Export-Package>
+ org.overlord.sramp.repository.*
+ </Export-Package>
+ <Import-Package>
+ org.jboss.downloads.overlord.sramp._2013.auditing,
+ org.joda.time,
+ org.joda.time.format,
+ org.oasis_open.docs.s_ramp.ns.s_ramp_v1,
+ org.overlord.sramp.common,
+ org.overlord.sramp.common.derived,
+ org.overlord.sramp.common.i18n,
+ org.overlord.sramp.common.ontology,
+ org.overlord.sramp.common.query.xpath,
+ org.overlord.sramp.common.query.xpath.ast
+ </Import-Package>
+ </instructions>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
View
2  s-ramp-server-eap61/pom.xml
@@ -9,6 +9,7 @@
<artifactId>s-ramp-server-eap61</artifactId>
<packaging>war</packaging>
<name>S-RAMP Server (EAP 6.1)</name>
+
<dependencies>
<!-- The base WAR being extended -->
<dependency>
@@ -18,6 +19,7 @@
<type>war</type>
</dependency>
</dependencies>
+
<build>
<plugins>
<plugin>
View
56 s-ramp-server-fuse61/pom.xml
@@ -0,0 +1,56 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.overlord.sramp</groupId>
+ <artifactId>s-ramp</artifactId>
+ <version>0.4.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>s-ramp-server-karaf23</artifactId>
+ <packaging>war</packaging>
+ <name>S-RAMP Server (Karaf 2.3)</name>
+
+ <dependencies>
+ <!-- The base WAR being extended -->
+ <dependency>
+ <groupId>org.overlord.sramp</groupId>
+ <artifactId>s-ramp-server</artifactId>
+ <version>${project.version}</version>
+ <type>war</type>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <configuration>
+ <overlays>
+ <overlay>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>s-ramp-server</artifactId>
+ <excludes>
+ <exclude>WEB-INF/lib/*.jar</exclude>
+ </excludes>
+ </overlay>
+ </overlays>
+ <archive>
+ <manifestEntries>
+ <Bundle-ManifestVersion>2</Bundle-ManifestVersion>
+ <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
+ <Bundle-Version>${project.version}</Bundle-Version>
+ <Bundle-Name>${project.name}</Bundle-Name>
+ <Web-ContextPath>/s-ramp-server</Web-ContextPath>
+ <Webapp-Context>/s-ramp-server</Webapp-Context>
+ <Import-Package>
+ javax.servlet.http,
+ javax.servlet
+ </Import-Package>
+ <Bundle-ClassPath>.,WEB-INF/classes</Bundle-ClassPath>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
View
12 s-ramp-server-fuse61/src/main/webapp/WEB-INF/jetty-web.xml
@@ -0,0 +1,12 @@
+<Configure class="org.eclipse.jetty.webapp.WebAppContext">
+
+ <Get name="securityHandler">
+ <Set name="loginService">
+ <New class="org.eclipse.jetty.security.HashLoginService">
+ <Set name="name">karaf</Set>
+ <Set name="config"><SystemProperty name="karaf.home" default="/" />etc/realm.properties</Set>
+ </New>
+ </Set>
+ </Get>
+
+</Configure>
View
58 s-ramp-server-fuse61/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
+
+ <listener>
+ <listener-class>org.overlord.sramp.server.SrampLifeCycle</listener-class>
+ </listener>
+
+ <servlet>
+ <servlet-name>Resteasy</servlet-name>
+ <servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class>
+ <init-param>
+ <param-name>javax.ws.rs.Application</param-name>
+ <param-value>org.overlord.sramp.server.atom.services.SRAMPApplication</param-value>
+ </init-param>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>Resteasy</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+ <filter>
+ <filter-name>LocaleFilter</filter-name>
+ <filter-class>org.overlord.sramp.server.filters.LocaleFilter</filter-class>
+ </filter>
+ <filter-mapping>
+ <filter-name>LocaleFilter</filter-name>
+ <servlet-name>Resteasy</servlet-name>
+ </filter-mapping>
+
+ <filter>
+ <filter-name>ServletCredentials</filter-name>
+ <filter-class>org.overlord.sramp.repository.jcr.modeshape.filters.ServletCredentialsFilter</filter-class>
+ </filter>
+ <filter-mapping>
+ <filter-name>ServletCredentials</filter-name>
+ <servlet-name>Resteasy</servlet-name>
+ </filter-mapping>
+
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>S-RAMP</web-resource-name>
+ <url-pattern>/*</url-pattern>
+ </web-resource-collection>
+ <auth-constraint>
+ <role-name>overlorduser</role-name>
+ </auth-constraint>
+ </security-constraint>
+
+ <login-config>
+ <auth-method>BASIC</auth-method>
+ <realm-name>karaf</realm-name>
+ </login-config>
+
+ <security-role>
+ <role-name>overlorduser</role-name>
+ </security-role>
+
+</web-app>
View
1  s-ramp-server-tomcat7/pom.xml
@@ -26,6 +26,5 @@
<artifactId>s-ramp-repository-jcr-modeshape</artifactId>
<version>${project.version}</version>
</dependency>
-
</dependencies>
</project>
Please sign in to comment.
Something went wrong with that request. Please try again.