Apache Solr open-source search software
LUCENE-2995: Update Maven configuration for the new Suggest module
Steven Rowe58d99f341520
diff --git a/dev-tools/maven/modules/pom.xml.template b/dev-tools/maven/modules/pom.xml.templateindex 064565e3b0c..880ce44fdc0 100644--- a/dev-tools/maven/modules/pom.xml.template+++ b/dev-tools/maven/modules/pom.xml.template@@ -34,6 +34,7 @@<module>analysis</module><module>benchmark</module><module>grouping</module>+ <module>suggest</module></modules><build><directory>build/lucene-modules-aggregator</directory>diff --git a/dev-tools/maven/modules/suggest/pom.xml.template b/dev-tools/maven/modules/suggest/pom.xml.templatenew file mode 100644index 00000000000..9260799147a--- /dev/null+++ b/dev-tools/maven/modules/suggest/pom.xml.template@@ -0,0 +1,76 @@+<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-suggest</artifactId>+ <packaging>jar</packaging>+ <name>Lucene Suggest</name>+ <description>Lucene Suggest Module</description>+ <properties>+ <module-directory>modules/suggest</module-directory>+ <build-directory>build</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-analyzers-common</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>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>diff --git a/dev-tools/maven/solr/src/pom.xml.template b/dev-tools/maven/solr/src/pom.xml.templateindex 7a937a4b9b5..3e44eb8120a 100644--- a/dev-tools/maven/solr/src/pom.xml.template+++ b/dev-tools/maven/solr/src/pom.xml.template@@ -92,6 +92,11 @@<artifactId>lucene-spellchecker</artifactId><version>${project.version}</version></dependency>+ <dependency>+ <groupId>org.apache.lucene</groupId>+ <artifactId>lucene-suggest</artifactId>+ <version>${project.version}</version>+ </dependency><dependency><groupId>org.apache.solr</groupId><artifactId>solr-commons-csv</artifactId>