Repository: servicemix-bundles Updated Branches: refs/heads/master 36aece424 -> dc59fc78c
[SM-3315] Create OSGi bundle for libthrift 0.10.0 Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/dc59fc78 Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/dc59fc78 Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/dc59fc78 Branch: refs/heads/master Commit: dc59fc78cf3bf582ba62afb0eab2d14613fe0860 Parents: 36aece4 Author: Jean-Baptiste Onofré <[email protected]> Authored: Tue May 2 09:06:18 2017 +0200 Committer: Jean-Baptiste Onofré <[email protected]> Committed: Tue May 2 09:06:18 2017 +0200 ---------------------------------------------------------------------- libthrift-0.10.0/pom.xml | 112 +++++++++++++++++++ .../src/main/resources/OSGI-INF/bundle.info | 14 +++ pom.xml | 1 + 3 files changed, 127 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/dc59fc78/libthrift-0.10.0/pom.xml ---------------------------------------------------------------------- diff --git a/libthrift-0.10.0/pom.xml b/libthrift-0.10.0/pom.xml new file mode 100644 index 0000000..5fc779f --- /dev/null +++ b/libthrift-0.10.0/pom.xml @@ -0,0 +1,112 @@ +<?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>13</version> + <relativePath>../bundles-pom/pom.xml</relativePath> + </parent> + + <groupId>org.apache.servicemix.bundles</groupId> + <artifactId>org.apache.servicemix.bundles.libthrift</artifactId> + <version>0.10.0_1-SNAPSHOT</version> + <packaging>bundle</packaging> + <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name> + <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.</description> + + <scm> + <connection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</connection> + <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/servicemix-bundles.git</developerConnection> + <url>https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git</url> + </scm> + + <properties> + <pkgGroupId>org.apache.thrift</pkgGroupId> + <pkgArtifactId>libthrift</pkgArtifactId> + <pkgVersion>0.10.0</pkgVersion> + <servicemix.osgi.export.pkg> + org.apache.thrift + </servicemix.osgi.export.pkg> + <servicemix.osgi.import.pkg> + org.apache.http*;version="[4,5)", + org.slf4j*;version="[1.4,2)";resolution:=optional, + org.apache.log4j;resolution:=optional, + javax.net*, + javax.security*, + javax.servlet*;resolution:=optional + </servicemix.osgi.import.pkg> + </properties> + + <dependencies> + <dependency> + <groupId>${pkgGroupId}</groupId> + <artifactId>${pkgArtifactId}</artifactId> + <version>${pkgVersion}</version> + <optional>false</optional> + </dependency> + + <!-- sources --> + <!-- Not available + <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> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/dc59fc78/libthrift-0.10.0/src/main/resources/OSGI-INF/bundle.info ---------------------------------------------------------------------- diff --git a/libthrift-0.10.0/src/main/resources/OSGI-INF/bundle.info b/libthrift-0.10.0/src/main/resources/OSGI-INF/bundle.info new file mode 100644 index 0000000..64df9ad --- /dev/null +++ b/libthrift-0.10.0/src/main/resources/OSGI-INF/bundle.info @@ -0,0 +1,14 @@ +\u001B[1mSYNOPSIS\u001B[0m + ${project.description} + + Original Maven URL: + \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m + +\u001B[1mDESCRIPTION\u001B[0m + Thrift is a software framework for scalable cross-language services development. + It combines a software stack with a code generation engine to build services that + work efficiently and seamlessly between C++, Java, Python, PHP, Ruby, Erlang, + Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smalltalk, and OCaml. + +\u001B[1mSEE ALSO\u001B[0m + \u001B[36mhttp://thrift.apache.org/\u001B[0m http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/dc59fc78/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 1c0ee0e..6650221 100644 --- a/pom.xml +++ b/pom.xml @@ -88,6 +88,7 @@ <module>lucene-sandbox-6.5.1</module> <module>solr-solrj-6.5.1</module> <module>jasper-6.0.53</module> + <module>libthrift-0.10.0</module> </modules> </project>
