You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2011/07/01 07:10:45 UTC

svn commit: r1141800 - in /lucene/dev/trunk/dev-tools/maven: modules/analysis/morfologik/ modules/analysis/morfologik/pom.xml.template modules/analysis/pom.xml.template pom.xml.template

Author: sarowe
Date: Fri Jul  1 05:10:44 2011
New Revision: 1141800

URL: http://svn.apache.org/viewvc?rev=1141800&view=rev
Log:
LUCENE-2341: Added Maven configuration for the new morfologik module

Added:
    lucene/dev/trunk/dev-tools/maven/modules/analysis/morfologik/
    lucene/dev/trunk/dev-tools/maven/modules/analysis/morfologik/pom.xml.template
Modified:
    lucene/dev/trunk/dev-tools/maven/modules/analysis/pom.xml.template
    lucene/dev/trunk/dev-tools/maven/pom.xml.template

Added: lucene/dev/trunk/dev-tools/maven/modules/analysis/morfologik/pom.xml.template
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/modules/analysis/morfologik/pom.xml.template?rev=1141800&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/modules/analysis/morfologik/pom.xml.template (added)
+++ lucene/dev/trunk/dev-tools/maven/modules/analysis/morfologik/pom.xml.template Fri Jul  1 05:10:44 2011
@@ -0,0 +1,89 @@
+<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.lucene</groupId>
+    <artifactId>lucene-parent</artifactId>
+    <version>@version@</version>
+    <relativePath>../../../lucene/pom.xml</relativePath>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-analyzers-morfologik</artifactId>
+  <packaging>jar</packaging>
+  <name>Lucene Morfologik Polish Lemmatizer</name>
+  <description>
+  	 A dictionary-driven lemmatizer for Polish (includes morphosyntactic annotations)
+  </description>
+  <properties>
+    <module-directory>modules/analysis/morfologik</module-directory>
+    <build-directory>../build/morfologik</build-directory>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>lucene-core</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>lucene-test-framework</artifactId>
+      <version>${project.version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>lucene-analyzers-common</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>lucene-analyzers-common</artifactId>
+      <version>${project.version}</version>
+      <type>test-jar</type>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.carrot2</groupId>
+      <artifactId>morfologik-polish</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <scope>test</scope>
+    </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>
+    <testResources>
+      <testResource>
+        <directory>${project.build.testSourceDirectory}</directory>
+        <excludes>
+          <exclude>**/*.java</exclude>
+        </excludes>
+      </testResource>
+    </testResources>
+  </build>
+</project>

Modified: lucene/dev/trunk/dev-tools/maven/modules/analysis/pom.xml.template
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/modules/analysis/pom.xml.template?rev=1141800&r1=1141799&r2=1141800&view=diff
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/modules/analysis/pom.xml.template (original)
+++ lucene/dev/trunk/dev-tools/maven/modules/analysis/pom.xml.template Fri Jul  1 05:10:44 2011
@@ -33,6 +33,7 @@
   <modules>
     <module>common</module>
     <module>icu</module>
+    <module>morfologik</module>
     <module>phonetic</module>
     <module>smartcn</module>
     <module>stempel</module>

Modified: lucene/dev/trunk/dev-tools/maven/pom.xml.template
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/pom.xml.template?rev=1141800&r1=1141799&r2=1141800&view=diff
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/pom.xml.template (original)
+++ lucene/dev/trunk/dev-tools/maven/pom.xml.template Fri Jul  1 05:10:44 2011
@@ -281,6 +281,11 @@
         <version>3.5.0</version>
       </dependency>
       <dependency>
+        <groupId>org.carrot2</groupId>
+        <artifactId>morfologik-polish</artifactId>
+        <version>1.5.2</version>
+      </dependency>
+      <dependency>
         <groupId>org.codehaus.woodstox</groupId>
         <artifactId>wstx-asl</artifactId>
         <version>3.2.7</version>