2011-10-31 18:23:01 -04:00
|
|
|
<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">
|
|
|
|
<!--
|
|
|
|
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.solr</groupId>
|
|
|
|
<artifactId>solr-parent</artifactId>
|
|
|
|
<version>@version@</version>
|
|
|
|
<relativePath>../../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
<groupId>org.apache.solr</groupId>
|
|
|
|
<artifactId>solr-langid</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
<name>Apache Solr Language Identifier</name>
|
|
|
|
<description>
|
|
|
|
This module is intended to be used while indexing documents.
|
|
|
|
It is implemented as an UpdateProcessor to be placed in an UpdateChain.
|
|
|
|
Its purpose is to identify language from documents and tag the document with language code.
|
|
|
|
</description>
|
|
|
|
<properties>
|
|
|
|
<module-directory>solr/contrib/solr-langid</module-directory>
|
|
|
|
<build-directory>../../build/contrib/solr-langid</build-directory>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
2012-01-18 18:03:41 -05:00
|
|
|
<dependency>
|
|
|
|
<!-- lucene-test-framework dependency must be declared before lucene-core -->
|
|
|
|
<!-- This dependency cannot be put into solr-parent, because local -->
|
|
|
|
<!-- dependencies are always ordered before inherited dependencies. -->
|
|
|
|
<groupId>org.apache.lucene</groupId>
|
|
|
|
<artifactId>lucene-test-framework</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2011-10-31 18:23:01 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>solr-core</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>solr-test-framework</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>solr-jsonic</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>${project.groupId}</groupId>
|
|
|
|
<artifactId>solr-langdetect</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.tika</groupId>
|
|
|
|
<artifactId>tika-parsers</artifactId>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<directory>${build-directory}</directory>
|
|
|
|
<outputDirectory>${build-directory}/classes/java</outputDirectory>
|
|
|
|
<testOutputDirectory>${build-directory}/classes/test</testOutputDirectory>
|
|
|
|
<sourceDirectory>src/java</sourceDirectory>
|
|
|
|
<testSourceDirectory>src/test</testSourceDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/resources</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<directory>src/test-files</directory>
|
|
|
|
</testResource>
|
|
|
|
<testResource>
|
|
|
|
<directory>../../core/src/test-files</directory>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<java.util.logging.config.file>../../../../testlogging.properties</java.util.logging.config.file>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|