You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by to...@apache.org on 2013/03/28 10:15:34 UTC

svn commit: r1462001 - in /stanbol/trunk/commons: pom.xml solr/extras/icu/ solr/extras/icu/pom.xml

Author: tommaso
Date: Thu Mar 28 09:15:33 2013
New Revision: 1462001

URL: http://svn.apache.org/r1462001
Log:
STANBOL-1000 - added stanbol.commons.solr.extras.icu to explicitly handle lucene-analyzers-icu with its icu4j dependency

Added:
    stanbol/trunk/commons/solr/extras/icu/
    stanbol/trunk/commons/solr/extras/icu/pom.xml   (with props)
Modified:
    stanbol/trunk/commons/pom.xml

Modified: stanbol/trunk/commons/pom.xml
URL: http://svn.apache.org/viewvc/stanbol/trunk/commons/pom.xml?rev=1462001&r1=1462000&r2=1462001&view=diff
==============================================================================
--- stanbol/trunk/commons/pom.xml (original)
+++ stanbol/trunk/commons/pom.xml Thu Mar 28 09:15:33 2013
@@ -94,6 +94,7 @@
     <module>solr/extras/smartcn</module> <!-- support for the smartcn (Chinese) analyzer -->
     <module>solr/extras/paoding</module> <!-- alternative support for Chinese -->
     <module>solr/extras/kuromoji</module> <!-- support for Japanese -->
+    <module>solr/extras/icu</module> <!-- support for ICU -->
     <module>solr/extras/stempel</module> <!-- support for the Polish stemmer -->
     
     <module>jobs</module> <!-- Stanbol Background Jobs Framework -->

Added: stanbol/trunk/commons/solr/extras/icu/pom.xml
URL: http://svn.apache.org/viewvc/stanbol/trunk/commons/solr/extras/icu/pom.xml?rev=1462001&view=auto
==============================================================================
--- stanbol/trunk/commons/solr/extras/icu/pom.xml (added)
+++ stanbol/trunk/commons/solr/extras/icu/pom.xml Thu Mar 28 09:15:33 2013
@@ -0,0 +1,94 @@
+<?xml version="1.0"?>
+  <!--
+    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.
+  -->
+<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/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.stanbol</groupId>
+    <artifactId>stanbol-parent</artifactId>
+    <version>4-SNAPSHOT</version>
+    <relativePath>../../../../parent</relativePath>
+  </parent>
+
+  <groupId>org.apache.stanbol</groupId>
+  <artifactId>org.apache.stanbol.commons.solr.extras.icu</artifactId>
+  <version>0.12.0-SNAPSHOT</version>
+  <packaging>bundle</packaging>
+
+  <name>Apache Stanbol Commons Solr Extras: Lucene ICU Bundle</name>
+  <description>This provides an Bundle for the Lucene ICU analyzer.
+  If this Bundle is added the Apache Stanbol Commons Solr modules can use those
+  analyzers.</description>
+
+  <scm>
+    <connection>
+      scm:svn:http://svn.apache.org/repos/asf/stanbol/trunk/commons/solr/extras/icu
+    </connection>
+    <developerConnection>
+      scm:svn:https://svn.apache.org/repos/asf/stanbol/trunk/commons/solr/extras/icu
+    </developerConnection>
+    <url>http://stanbol.apache.org</url>
+  </scm>
+
+  <build>
+    <!-- make it an OSGi bundle -->
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Embed-Dependency>lucene-analyzers-icu, icu4j</Embed-Dependency>
+            <Import-Package>
+              *
+            </Import-Package>
+            <!-- used instead of Export-Package to preserve the jars -->
+            <_exportcontents>
+              org.apache.lucene.analysis.icu.*;version=${solr-version}
+              org.apache.lucene.collation.*;version=${solr-version}
+            </_exportcontents>
+          </instructions>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-scr-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </build>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-analyzers-icu</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>com.ibm.icu</groupId>
+      <artifactId>icu4j</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-core</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-analyzers-common</artifactId>
+    </dependency>
+  </dependencies>
+
+</project>

Propchange: stanbol/trunk/commons/solr/extras/icu/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native