This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicemix-bundles.git
The following commit(s) were added to refs/heads/master by this push:
new ef29d93ae SM-5797: Create OSGi bundles for avro 1.12.0
ef29d93ae is described below
commit ef29d93ae66ade8cb7f6602540294e72695bbba5
Author: JB Onofré <[email protected]>
AuthorDate: Fri Nov 15 11:23:24 2024 +0100
SM-5797: Create OSGi bundles for avro 1.12.0
---
avro-1.12.0/pom.xml | 119 +++++++++++++++++++++
.../src/main/resources/OSGI-INF/bundle.info | 11 ++
avro-ipc-1.12.0/pom.xml | 114 ++++++++++++++++++++
.../src/main/resources/OSGI-INF/bundle.info | 11 ++
pom.xml | 2 +
5 files changed, 257 insertions(+)
diff --git a/avro-1.12.0/pom.xml b/avro-1.12.0/pom.xml
new file mode 100644
index 000000000..bc468927c
--- /dev/null
+++ b/avro-1.12.0/pom.xml
@@ -0,0 +1,119 @@
+<?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>16</version>
+ <relativePath>../bundles-pom/pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>org.apache.servicemix.bundles.avro</artifactId>
+ <version>1.12.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://gitbox.apache.org/repos/asf/servicemix-bundles.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/servicemix-bundles.git</developerConnection>
+ <url>https://gitbox.apache.org/repos/asf?p=servicemix-bundles.git</url>
+ </scm>
+
+ <properties>
+ <pkgGroupId>org.apache.avro</pkgGroupId>
+ <pkgArtifactId>avro</pkgArtifactId>
+ <pkgVersion>1.12.0</pkgVersion>
+
<servicemix.osgi.source.version>1.12.0.1</servicemix.osgi.source.version>
+ <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="[2,3)",
+ 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>
+ <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>
diff --git a/avro-1.12.0/src/main/resources/OSGI-INF/bundle.info
b/avro-1.12.0/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 000000000..e68ffdb39
--- /dev/null
+++ b/avro-1.12.0/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
diff --git a/avro-ipc-1.12.0/pom.xml b/avro-ipc-1.12.0/pom.xml
new file mode 100644
index 000000000..5a8280544
--- /dev/null
+++ b/avro-ipc-1.12.0/pom.xml
@@ -0,0 +1,114 @@
+<?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>16</version>
+ <relativePath>../bundles-pom/pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>org.apache.servicemix.bundles.avro-ipc</artifactId>
+ <version>1.12.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://gitbox.apache.org/repos/asf/servicemix-bundles.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/servicemix-bundles.git</developerConnection>
+ <url>https://gitbox.apache.org/repos/asf?p=servicemix-bundles.git</url>
+ </scm>
+
+ <properties>
+ <pkgGroupId>org.apache.avro</pkgGroupId>
+ <pkgArtifactId>avro-ipc</pkgArtifactId>
+ <pkgVersion>1.12.0</pkgVersion>
+
<servicemix.osgi.source.version>1.12.0.1</servicemix.osgi.source.version>
+ <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>
+ <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>
diff --git a/avro-ipc-1.12.0/src/main/resources/OSGI-INF/bundle.info
b/avro-ipc-1.12.0/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 000000000..e68ffdb39
--- /dev/null
+++ b/avro-ipc-1.12.0/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
diff --git a/pom.xml b/pom.xml
index dd1b47e79..b39def01a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -163,6 +163,8 @@
<module>hadoop-client-3.4.1</module>
<module>elasticsearch-java-8.15.3</module>
<module>hppc-0.10.0</module>
+ <module>avro-1.12.0</module>
+ <module>avro-ipc-1.12.0</module>
</modules>
</project>