You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by GitBox <gi...@apache.org> on 2022/12/02 08:39:39 UTC

[GitHub] [servicemix-bundles] essobedo opened a new pull request, #190: [SM-5414] Create OSGi bundle for elasticsearch-java 8.5.2

essobedo opened a new pull request, #190:
URL: https://github.com/apache/servicemix-bundles/pull/190

   https://issues.apache.org/jira/browse/SM-5414
   
   ## Motivation
   
   A new client for elastic search is available with an Apache License 2.0 but the jar is not OSGI compatible
   
   ## Modifications
   
   * Add a new module for elasticsearch-java 8.5.2


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@servicemix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [servicemix-bundles] essobedo commented on pull request #190: [SM-5414] Create OSGi bundle for elasticsearch-java 8.5.2

Posted by GitBox <gi...@apache.org>.
essobedo commented on PR #190:
URL: https://github.com/apache/servicemix-bundles/pull/190#issuecomment-1334926586

   @jbonofre yes of course do whatever is better for you, no problem 🙏 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@servicemix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [servicemix-bundles] essobedo commented on a diff in pull request #190: [SM-5414] Create OSGi bundle for elasticsearch-java 8.5.2

Posted by GitBox <gi...@apache.org>.
essobedo commented on code in PR #190:
URL: https://github.com/apache/servicemix-bundles/pull/190#discussion_r1037912907


##########
elasticsearch-java-8.5.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>15</version>
+        <relativePath>../bundles-pom/pom.xml</relativePath>
+    </parent>
+
+    <groupId>org.apache.servicemix.bundles</groupId>
+    <artifactId>org.apache.servicemix.bundles.elasticsearch-java</artifactId>
+    <version>8.5.2_1-SNAPSHOT</version>
+    <packaging>bundle</packaging>
+    <name>Apache ServiceMix :: Bundles :: Elasticsearch Java Client</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>
+    <tag>HEAD</tag>
+  </scm>
+
+    <properties>
+        <pkgGroupId>co.elastic.clients</pkgGroupId>
+        <pkgArtifactId>elasticsearch-java</pkgArtifactId>
+        <pkgVersion>8.5.2</pkgVersion>
+        <servicemix.osgi.source.version>8.5.2.1</servicemix.osgi.source.version>
+        <servicemix.osgi.export.pkg>
+           co.elastic.clients*,
+           org.elasticsearch.client*
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+           !org.elasticsearch.client*,
+           !javax.annotation*,
+           jakarta.json.bind*;resolution:=optional,
+           com.fasterxml.jackson*;resolution:=optional,

Review Comment:
   Please note that I added them as optional because it is up to the end user to use either [Jackson](https://github.com/FasterXML/jackson) or [JSON-B](https://github.com/eclipse-ee4j/jsonb-api)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@servicemix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [servicemix-bundles] asfgit closed pull request #190: [SM-5414] Create OSGi bundle for elasticsearch-java 8.5.2

Posted by GitBox <gi...@apache.org>.
asfgit closed pull request #190: [SM-5414] Create OSGi bundle for elasticsearch-java 8.5.2
URL: https://github.com/apache/servicemix-bundles/pull/190


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@servicemix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org