Apache Lucene open-source search software
LUCENE-4345: Maven configuration for new classification module
Steven Rowed6570e8a411c
diff --git a/dev-tools/maven/lucene/classification/pom.xml.template b/dev-tools/maven/lucene/classification/pom.xml.templatenew file mode 100644index 00000000000..b5bd4b5409e--- /dev/null+++ b/dev-tools/maven/lucene/classification/pom.xml.template@@ -0,0 +1,70 @@+<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>../pom.xml</relativePath>+ </parent>+ <groupId>org.apache.lucene</groupId>+ <artifactId>lucene-classification</artifactId>+ <packaging>jar</packaging>+ <name>Lucene Classification</name>+ <description>Lucene Classification</description>+ <properties>+ <module-directory>lucene/classification</module-directory>+ <top-level>../../..</top-level>+ <module-path>${top-level}/${module-directory}</module-path>+ </properties>+ <scm>+ <connection>scm:svn:${vc-anonymous-base-url}/${module-directory}</connection>+ <developerConnection>scm:svn:${vc-dev-base-url}/${module-directory}</developerConnection>+ <url>${vc-browse-base-url}/${module-directory}</url>+ </scm>+ <dependencies>+ <dependency>+ <!-- lucene-test-framework dependency must be declared before lucene-core -->+ <groupId>${project.groupId}</groupId>+ <artifactId>lucene-test-framework</artifactId>+ <version>${project.version}</version>+ <scope>test</scope>+ </dependency>+ <dependency>+ <groupId>${project.groupId}</groupId>+ <artifactId>lucene-core</artifactId>+ <version>${project.version}</version>+ </dependency>+ </dependencies>+ <build>+ <sourceDirectory>${module-path}/src/java</sourceDirectory>+ <testSourceDirectory>${module-path}/src/test</testSourceDirectory>+ <testResources>+ <testResource>+ <directory>${project.build.testSourceDirectory}</directory>+ <excludes>+ <exclude>**/*.java</exclude>+ </excludes>+ </testResource>+ </testResources>+ </build>+</project>diff --git a/dev-tools/maven/lucene/pom.xml.template b/dev-tools/maven/lucene/pom.xml.templateindex 8e372a983e8..c902eb00bc1 100644--- a/dev-tools/maven/lucene/pom.xml.template+++ b/dev-tools/maven/lucene/pom.xml.template@@ -45,6 +45,7 @@<module>test-framework</module><module>analysis</module><module>benchmark</module>+ <module>classification</module><module>demo</module><module>facet</module><module>grouping</module>