You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by jb...@apache.org on 2022/08/22 15:34:07 UTC
[servicemix-bundles] branch master updated: [SM-5254] Create OSGi bundle for google-gax-grpc 2.18.1
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 85a6822be [SM-5254] Create OSGi bundle for google-gax-grpc 2.18.1
new ec4cdd6f6 This closes #179
85a6822be is described below
commit 85a6822be90c602d0e19ed07e58fdd5b237c6174
Author: Nicolas Filotto <nf...@talend.com>
AuthorDate: Fri Aug 12 13:25:39 2022 +0200
[SM-5254] Create OSGi bundle for google-gax-grpc 2.18.1
---
google-gax-grpc-2.18.1/pom.xml | 120 +++++++++++++++++++++
.../src/main/resources/OSGI-INF/bundle.info | 12 +++
pom.xml | 1 +
3 files changed, 133 insertions(+)
diff --git a/google-gax-grpc-2.18.1/pom.xml b/google-gax-grpc-2.18.1/pom.xml
new file mode 100644
index 000000000..be023c14e
--- /dev/null
+++ b/google-gax-grpc-2.18.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>15</version>
+ <relativePath>../bundles-pom/pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>org.apache.servicemix.bundles.google-gax-grpc</artifactId>
+ <version>2.18.1_1-SNAPSHOT</version>
+ <packaging>bundle</packaging>
+ <name>Apache ServiceMix :: Bundles :: Google Gax GRPC</name>
+ <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar files.</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>com.google.api</pkgGroupId>
+ <pkgArtifactId>gax-grpc</pkgArtifactId>
+ <pkgVersion>2.18.1</pkgVersion>
+ <servicemix.osgi.source.version>2.18.1.1</servicemix.osgi.source.version>
+ <servicemix.osgi.export.pkg>
+ com.google.api.gax*
+ </servicemix.osgi.export.pkg>
+ <servicemix.osgi.import.pkg>
+ !com.google.appengine*,
+ !com.google.apphosting*,
+ !com.google.longrunning*,
+ !com.google.rpc*,
+ !javax.annotation*,
+ !org.checkerframework*,
+ org.graalvm*;resolution:=optional,
+ *
+ </servicemix.osgi.import.pkg>
+ <servicemix.osgi.private.pkg>
+ com.google.appengine*,
+ com.google.apphosting*,
+ com.google.longrunning*,
+ com.google.rpc*,
+ javax.annotation*,
+ org.checkerframework*
+ </servicemix.osgi.private.pkg>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>${pkgArtifactId}</artifactId>
+ <version>${pkgVersion}</version>
+ </dependency>
+
+ <!-- sources -->
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>${pkgArtifactId}</artifactId>
+ <version>${pkgVersion}</version>
+ <classifier>sources</classifier>
+ </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>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/google-gax-grpc-2.18.1/src/main/resources/OSGI-INF/bundle.info b/google-gax-grpc-2.18.1/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 000000000..61b452cc3
--- /dev/null
+++ b/google-gax-grpc-2.18.1/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,12 @@
+\u001B[1mSYNOPSIS\u001B[0m
+ ${project.description}
+
+ Original Maven URL:
+ \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+ Google API Extensions for Java (GAX Java) is a library which aids in the development of client libraries for server
+ APIs, based on GRPC and Google API conventions.
+
+\u001B[1mSEE ALSO\u001B[0m
+ \u001B[36mhttps://github.com/googleapis/gax-java\u001B[0m
diff --git a/pom.xml b/pom.xml
index 72fdb1b79..d0df2a338 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,6 +46,7 @@
<module>postgresql-42.4.2</module>
<module>braintree-java-3.18.0</module>
<module>poi-5.2.2</module>
+ <module>google-gax-grpc-2.18.1</module>
</modules>
</project>