Repository: servicemix-bundles
Updated Branches:
  refs/heads/master a8b0edd98 -> d7af80509


[SM-3353] Create OSGi bundles for Avro 1.8.2


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

Branch: refs/heads/master
Commit: d7af80509c09e6925f3e68b091f5b983cd2fa8c9
Parents: a8b0edd
Author: Andrea Cosentino <anco...@gmail.com>
Authored: Sat May 20 10:38:11 2017 +0200
Committer: Andrea Cosentino <anco...@gmail.com>
Committed: Sat May 20 10:38:11 2017 +0200

----------------------------------------------------------------------
 avro-1.8.2/pom.xml                              | 120 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  11 ++
 avro-ipc-1.8.2/pom.xml                          | 115 ++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  11 ++
 pom.xml                                         |   2 +
 5 files changed, 259 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/d7af8050/avro-1.8.2/pom.xml
----------------------------------------------------------------------
diff --git a/avro-1.8.2/pom.xml b/avro-1.8.2/pom.xml
new file mode 100644
index 0000000..b061b3b
--- /dev/null
+++ b/avro-1.8.2/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.2_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.2</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/d7af8050/avro-1.8.2/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/avro-1.8.2/src/main/resources/OSGI-INF/bundle.info 
b/avro-1.8.2/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..e68ffdb
--- /dev/null
+++ b/avro-1.8.2/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™ 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/d7af8050/avro-ipc-1.8.2/pom.xml
----------------------------------------------------------------------
diff --git a/avro-ipc-1.8.2/pom.xml b/avro-ipc-1.8.2/pom.xml
new file mode 100644
index 0000000..7daaaac
--- /dev/null
+++ b/avro-ipc-1.8.2/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.2_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.2</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/d7af8050/avro-ipc-1.8.2/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/avro-ipc-1.8.2/src/main/resources/OSGI-INF/bundle.info 
b/avro-ipc-1.8.2/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..e68ffdb
--- /dev/null
+++ b/avro-ipc-1.8.2/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™ 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/d7af8050/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 86cc37e..37a503c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,6 +63,8 @@
         <module>elasticsearch-client-5.4.0</module>
         <module>hystrix-1.5.12</module>
         <module>hystrix-event-stream-1.5.12</module>
+        <module>avro-1.8.2</module>
+        <module>avro-ipc-1.8.2</module>
     </modules>
 
 </project>

Reply via email to