Repository: servicemix-bundles Updated Branches: refs/heads/master 85bbf6075 -> 55f3edb5e
[SMX4-1965] Add jersey-core bundle for jersey 1.19 Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/55f3edb5 Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/55f3edb5 Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/55f3edb5 Branch: refs/heads/master Commit: 55f3edb5ef3ad86e56d6a79c48fbeb26240527e7 Parents: 85bbf60 Author: Ioannis Canellos <[email protected]> Authored: Fri Mar 20 11:55:36 2015 +0200 Committer: Ioannis Canellos <[email protected]> Committed: Fri Mar 20 12:01:34 2015 +0200 ---------------------------------------------------------------------- jersey-core-1.19/pom.xml | 124 +++++++++++++++++++ .../src/main/resources/OSGI-INF/bundle.info | 13 ++ pom.xml | 3 +- 3 files changed, 139 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/55f3edb5/jersey-core-1.19/pom.xml ---------------------------------------------------------------------- diff --git a/jersey-core-1.19/pom.xml b/jersey-core-1.19/pom.xml new file mode 100644 index 0000000..d14abed --- /dev/null +++ b/jersey-core-1.19/pom.xml @@ -0,0 +1,124 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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"> + + <!-- + + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> + + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.servicemix.bundles</groupId> + <artifactId>bundles-pom</artifactId> + <version>12-SNAPSHOT</version> + <relativePath>../bundles-pom/pom.xml</relativePath> + </parent> + + <groupId>org.apache.servicemix.bundles</groupId> + <artifactId>org.apache.servicemix.bundles.jersey-core</artifactId> + <version>1.19_1-SNAPSHOT</version> + <packaging>bundle</packaging> + <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name> + <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description> + + <properties> + <pkgGroupId>com.sun.jersey</pkgGroupId> + <pkgArtifactId>jersey-core</pkgArtifactId> + <pkgVersion>1.19</pkgVersion> + <servicemix.osgi.export> + javax.ws.rs*;version=1.1.1;-split-package:=merge-first, + *;version="1.19.0";-split-package:=merge-first + </servicemix.osgi.export> + <servicemix.osgi.import.pkg> + javax.activation, + javax.imageio, + javax.imageio.spi, + javax.imageio.stream, + javax.mail;resolution:=optional, + javax.mail.internet;resolution:=optional, + javax.mail.util;resolution:=optional, + javax.ws.rs, + javax.ws.rs.core, + javax.ws.rs.ext, + javax.xml.bind, + javax.xml.bind.annotation, + javax.xml.parsers, + javax.xml.stream, + javax.xml.transform, + javax.xml.transform.dom, + javax.xml.transform.sax, + javax.xml.transform.stream, + javax.xml.validation, + org.osgi.framework;version="[1.3,2)", + org.w3c.dom, + org.xml.sax, + org.xml.sax.helpers + </servicemix.osgi.import.pkg> + </properties> + + <dependencies> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>${pkgArtifactId}</artifactId> + <version>${pkgVersion}</version> + <optional>true</optional> + </dependency> + + <!-- sources --> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>${pkgArtifactId}</artifactId> + <version>${pkgVersion}</version> + <classifier>sources</classifier> + <optional>true</optional> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-shade-plugin</artifactId> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>shade</goal> + </goals> + <configuration> + <artifactSet> + <includes> + <include>${pkgGroupId}:${pkgArtifactId}</include> + </includes> + </artifactSet> + <filters> + <filter> + <artifact>${pkgGroupId}:${pkgArtifactId}</artifact> + <excludes> + <exclude>**</exclude> + </excludes> + </filter> + </filters> + <promoteTransitiveDependencies>true</promoteTransitiveDependencies> + <createDependencyReducedPom>true</createDependencyReducedPom> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/55f3edb5/jersey-core-1.19/src/main/resources/OSGI-INF/bundle.info ---------------------------------------------------------------------- diff --git a/jersey-core-1.19/src/main/resources/OSGI-INF/bundle.info b/jersey-core-1.19/src/main/resources/OSGI-INF/bundle.info new file mode 100644 index 0000000..8b5217b --- /dev/null +++ b/jersey-core-1.19/src/main/resources/OSGI-INF/bundle.info @@ -0,0 +1,13 @@ +\u001B[1mSYNOPSIS\u001B[0m + ${project.description} + + Original Maven URL: + \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}-core/${pkgVersion}\u001B[0m + +\u001B[1mDESCRIPTION\u001B[0m + Jersey is the open source, production quality, JAX-RS (JSR 311) Reference Implementation for building RESTful Web + services. But, it is also more than the Reference Implementation. Jersey provides an API so that developers may + extend Jersey to suit their needs. + +\u001B[1mSEE ALSO\u001B[0m + \u001B[36mhttp://jersey.java.net//\u001B[0m http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/55f3edb5/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 07a7f40..98a45bb 100644 --- a/pom.xml +++ b/pom.xml @@ -60,6 +60,7 @@ <module>hbase-0.98.5-hadoop2</module> <module>hbase-0.99.0</module> <module>hbase-0.99.2</module> + <module>jersey-core-1.19</module> <module>kafka-clients-0.8.2.0</module> <module>kafka_2.10-0.8.2.0</module> <module>jsmpp-2.1.0</module> @@ -106,7 +107,7 @@ <module>xstream-1.4.8</module> <module>lightcouch-0.1.6</module> <module>htmlunit-2.15</module> - <module>opensaml-3.1.0</module> +transform.stream, <module>opensaml-3.1.0</module> <module>swagger-jaxrs-1.3.2</module> <module>swagger-jaxrs-1.3.4</module> <module>swagger-jaxrs-1.3.5</module>
