blob: 9a76a45cea651c4a8e6e09643db82ed3ad363b40 [file] [log] [blame]
<?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>7-SNAPSHOT</version>
<relativePath>../../../../parent</relativePath>
</parent>
<groupId>org.apache.stanbol</groupId>
<artifactId>org.apache.stanbol.commons.solr.extras.icu</artifactId>
<version>1.0.1-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>
<Bundle-Activator>
org.apache.stanbol.commons.solr.extras.icu.impl.IcuAnalyzerFactoryActivator
</Bundle-Activator>
<Private-Package>
org.apache.stanbol.commons.solr.extras.icu.impl;version=${project.version}
</Private-Package>
<Embed-Dependency>lucene-analyzers-icu</Embed-Dependency>
<Import-Package>
*
</Import-Package>
<!-- used instead of Export-Package to preserve the jars -->
<_exportcontents>
org.apache.lucene.analysis.icu.*;version=${solr-version}
</_exportcontents>
<!--
NOTE: can not export
org.apache.lucene.collation.*;version=${solr-version}
because those packages are already exported by commons.solr.core
-->
</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.stanbol</groupId>
<artifactId>org.apache.stanbol.commons.solr.core</artifactId>
<version>1.0.1-SNAPSHOT</version>
</dependency>
<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>