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/06/20 09:27:19 UTC

servicemix-bundles git commit: [SM-3031] Create OSGi bundle for Solr 6.1.0

Repository: servicemix-bundles
Updated Branches:
  refs/heads/master 2e1239686 -> c93185fa5


[SM-3031] Create OSGi bundle for Solr 6.1.0


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

Branch: refs/heads/master
Commit: c93185fa568e365b9925b1058692d4d7129c9e96
Parents: 2e12396
Author: Andrea Cosentino <an...@gmail.com>
Authored: Mon Jun 20 11:26:28 2016 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Mon Jun 20 11:26:28 2016 +0200

----------------------------------------------------------------------
 pom.xml                                         |   1 +
 solr-solrj-6.1.0/pom.xml                        | 183 +++++++++++++++++++
 .../src/main/resources/OSGI-INF/bundle.info     |  21 +++
 3 files changed, 205 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/c93185fa/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index dcee598..ef581c3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -49,6 +49,7 @@
         <module>orbitz-consul-client-0.12.3</module>
         <module>okhttp-3.3.1</module>
         <module>facebook4j-2.4.5</module>
+        <module>solr-solrj-6.1.0</module>
     </modules>
 
 </project>

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/c93185fa/solr-solrj-6.1.0/pom.xml
----------------------------------------------------------------------
diff --git a/solr-solrj-6.1.0/pom.xml b/solr-solrj-6.1.0/pom.xml
new file mode 100644
index 0000000..f92559b
--- /dev/null
+++ b/solr-solrj-6.1.0/pom.xml
@@ -0,0 +1,183 @@
+<?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.solr-solrj</artifactId>
+    <packaging>bundle</packaging>
+    <version>6.1.0_1-SNAPSHOT</version>
+    <name>Apache ServiceMix :: Bundles :: SolrJ</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.solr</pkgGroupId>
+        <pkgArtifactId>solr-solrj</pkgArtifactId>
+        <pkgVersion>6.1.0</pkgVersion>
+        <servicemix.osgi.export.pkg>
+            org.apache.solr
+        </servicemix.osgi.export.pkg>
+        <servicemix.osgi.import.pkg>
+            javax.net.ssl*,
+            javax.security.auth.login,
+            javax.xml*,
+            org.w3c.dom,
+            org.xml.sax*,
+            org.apache.commons.io,
+            org.apache.commons.io.input,
+            org.apache.http*,
+            org.apache.noggit;resolution:=optional,
+            org.apache.zookeeper*;resolution:=optional,
+            org.noggit;resolution:=optional,
+            org.slf4j;resolution:=optional
+        </servicemix.osgi.import.pkg>
+    </properties>
+
+    <dependencies>
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.zookeeper</groupId>
+                    <artifactId>zookeeper</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>commons-io</groupId>
+                    <artifactId>commons-io</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.noggit</groupId>
+                    <artifactId>noggit</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.apache.httpcomponents</groupId>
+                    <artifactId>httpclient</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.apache.httpcomponents</groupId>
+                    <artifactId>httpmime</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.codehaus.woodstox</groupId>
+                    <artifactId>wstx-asl</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+
+        <!-- sources -->
+        <dependency>
+            <groupId>${pkgGroupId}</groupId>
+            <artifactId>${pkgArtifactId}</artifactId>
+            <version>${pkgVersion}</version>
+            <classifier>sources</classifier>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.zookeeper</groupId>
+                    <artifactId>zookeeper</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>commons-io</groupId>
+                    <artifactId>commons-io</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.noggit</groupId>
+                    <artifactId>noggit</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.apache.httpcomponents</groupId>
+                    <artifactId>httpclient</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.apache.httpcomponents</groupId>
+                    <artifactId>httpmime</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.codehaus.woodstox</groupId>
+                    <artifactId>wstx-asl</artifactId>
+                </exclusion>
+            </exclusions>
+        </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>
+            <plugin>
+                <groupId>org.apache.felix</groupId>
+                <artifactId>maven-bundle-plugin</artifactId>
+                <version>2.5.3</version>
+                <extensions>true</extensions>
+                <inherited>false</inherited>
+                <configuration>
+                   <instructions>
+                       <Export-Package>${servicemix.osgi.export}</Export-Package>
+                       <Import-Package>${servicemix.osgi.import.pkg}</Import-Package>
+                       <Bundle-NativeCode>*</Bundle-NativeCode>
+                   </instructions>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/servicemix-bundles/blob/c93185fa/solr-solrj-6.1.0/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/solr-solrj-6.1.0/src/main/resources/OSGI-INF/bundle.info b/solr-solrj-6.1.0/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..d679ddc
--- /dev/null
+++ b/solr-solrj-6.1.0/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,21 @@
+\u001B[1mSYNOPSIS\u001B[0m
+    ${project.description}
+
+    Original Maven URL:
+        \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+    Solr is the popular, blazing fast open source enterprise search platform from the Apache Lucene project.
+    Its major features include powerful full-text search, hit highlighting, faceted search, dynamic clustering,
+    database integration, rich document (e.g., Word, PDF) handling, and geospatial search. Solr is highly scalable,
+    providing distributed search and index replication, and it powers the search and navigation features of many of
+    the world's largest internet sites.
+
+    Solr is written in Java and runs as a standalone full-text search server within a servlet container such as Tomcat.
+    Solr uses the Lucene Java search library at its core for full-text indexing and search, and has REST-like HTTP/XML
+    and JSON APIs that make it easy to use from virtually any programming language. Solr's powerful external
+    configuration allows it to be tailored to almost any type of application without Java coding, and it has an
+    extensive plugin architecture when more advanced customization is required.
+
+\u001B[1mSEE ALSO\u001B[0m
+    \u001B[36mhttp://lucene.apache.org/solr/\u001B[0m