You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ac...@apache.org on 2016/05/23 08:28:49 UTC

servicemix-bundles git commit: [SM-2995] Create OSGi bundle for Avro 1.8.1

Repository: servicemix-bundles
Updated Branches:
  refs/heads/master b68fa496c -> 80e0604a2


[SM-2995] Create OSGi bundle for Avro 1.8.1


Project: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/repo
Commit: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/commit/80e0604a
Tree: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/tree/80e0604a
Diff: http://git-wip-us.apache.org/repos/asf/servicemix-bundles/diff/80e0604a

Branch: refs/heads/master
Commit: 80e0604a2213ba4233fdc109d73e56294ecff2f5
Parents: b68fa49
Author: Andrea Cosentino <an...@gmail.com>
Authored: Mon May 23 10:27:40 2016 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Mon May 23 10:27:40 2016 +0200

----------------------------------------------------------------------
 avro-1.8.1/pom.xml                              | 120 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  11 ++
 avro-ipc-1.8.1/pom.xml                          | 115 ++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  11 ++
 pom.xml                                         |   4 +-
 5 files changed, 260 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/80e0604a/avro-1.8.1/pom.xml
----------------------------------------------------------------------
diff --git a/avro-1.8.1/pom.xml b/avro-1.8.1/pom.xml
new file mode 100644
index 0000000..2078b48
--- /dev/null
+++ b/avro-1.8.1/pom.xml
@@ -0,0 +1,120 @@
+<?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</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.avro</artifactId>
+    <version>1.8.1_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>
+      <tag>HEAD</tag>
+  </scm>
+
+    <properties>
+        <pkgGroupId>org.apache.avro</pkgGroupId>
+        <pkgArtifactId>avro</pkgArtifactId>
+        <pkgVersion>1.8.1</pkgVersion>
+        <servicemix.osgi.export>
+            !org.apache.avro.ipc;version="${project.version}",
+            org.apache.avro*;version="${project.version}";-noimport:=true;-split-package:=merge-first
+        </servicemix.osgi.export>
+        <servicemix.osgi.import.pkg>
+            javax.annotation,
+            com.thoughtworks.paranamer;version="[2.3,3)",
+            org.apache.commons.compress*,
+            org.codehaus.jackson*;version="[1.8,2)",
+            org.slf4j;resolution:=optional,
+            org.joda.time;resolution:=optional,
+            org.xerial.snappy;version="[1.0,2)";resolution:=optional,
+            sun.misc;resolution:=optional
+        </servicemix.osgi.import.pkg>
+        <servicemix.osgi.private.pkg>
+            avro.shaded*
+        </servicemix.osgi.private.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>false</optional>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+                <version>1.4</version>
+                <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/80e0604a/avro-1.8.1/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/avro-1.8.1/src/main/resources/OSGI-INF/bundle.info b/avro-1.8.1/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..e68ffdb
--- /dev/null
+++ b/avro-1.8.1/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,11 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}-core/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    Apache Avro\u2122 is a data serialization system.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://avro.apache.org\u001B[0m

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/80e0604a/avro-ipc-1.8.1/pom.xml
----------------------------------------------------------------------
diff --git a/avro-ipc-1.8.1/pom.xml b/avro-ipc-1.8.1/pom.xml
new file mode 100644
index 0000000..88ed630
--- /dev/null
+++ b/avro-ipc-1.8.1/pom.xml
@@ -0,0 +1,115 @@
+<?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</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.avro-ipc</artifactId>
+    <version>1.8.1_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>
+      <tag>HEAD</tag>
+  </scm>
+
+    <properties>
+        <pkgGroupId>org.apache.avro</pkgGroupId>
+        <pkgArtifactId>avro-ipc</pkgArtifactId>
+        <pkgVersion>1.8.1</pkgVersion>
+        <servicemix.osgi.export>
+            org.apache.avro.ipc*;version="${project.version}";-noimport:=true;-split-package:=merge-first
+        </servicemix.osgi.export>
+        <servicemix.osgi.import.pkg>
+            javax.security*,
+            org.apache.avro*;version="[1.7,2)",
+            javax.servlet*;resolution:=optional,
+            org.apache.velocity*;resolution:=optional,
+            org.jboss.netty*;resolution:=optional,
+            org.mortbay*;resolution:=optional,
+            org.slf4j;resolution:=optional
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <optional>false</optional>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <optional>false</optional>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+                <version>1.4</version>
+                <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/80e0604a/avro-ipc-1.8.1/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/avro-ipc-1.8.1/src/main/resources/OSGI-INF/bundle.info b/avro-ipc-1.8.1/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..e68ffdb
--- /dev/null
+++ b/avro-ipc-1.8.1/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,11 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}-core/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    Apache Avro\u2122 is a data serialization system.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://avro.apache.org\u001B[0m

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/80e0604a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index e7dd4f4..67e9930 100644
--- a/pom.xml
+++ b/pom.xml
@@ -62,7 +62,9 @@
         <module>solr-solrj-5.5.1</module>
         <module>orbitz-consul-client-0.11.3</module>
         <module>libphonenumber-7.4.0</module>
-        <module>brave-zipkin-3.7.0</module> 
+        <module>brave-zipkin-3.7.0</module>
+        <module>avro-1.8.1</module>
+        <module>avro-ipc-1.8.1</module> 
     </modules>
 
 </project>