Apache Lucene open-source search software
LUCENE-3795 maven build (and removed old spatial contrib from maven)
David Wayne Smiley7234d8e256fb
diff --git a/dev-tools/maven/lucene/contrib/pom.xml.template b/dev-tools/maven/lucene/contrib/pom.xml.templateindex 29104509a26..c8f00779932 100644--- a/dev-tools/maven/lucene/contrib/pom.xml.template+++ b/dev-tools/maven/lucene/contrib/pom.xml.template@@ -36,7 +36,6 @@<module>memory</module><module>misc</module><module>sandbox</module>- <module>spatial</module></modules><build><directory>build/lucene-contrib-aggregator</directory>diff --git a/dev-tools/maven/lucene/contrib/spatial/pom.xml.template b/dev-tools/maven/lucene/contrib/spatial/pom.xml.templatedeleted file mode 100644index 745a3573a35..00000000000--- a/dev-tools/maven/lucene/contrib/spatial/pom.xml.template+++ /dev/null@@ -1,72 +0,0 @@-<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-spatial</artifactId>- <packaging>jar</packaging>- <name>Lucene Spatial</name>- <description>Spatial search package</description>- <properties>- <module-directory>lucene/contrib/spatial</module-directory>- <build-directory>../../build/contrib/spatial</build-directory>- </properties>- <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>- <dependency>- <groupId>${project.groupId}</groupId>- <artifactId>lucene-queries</artifactId>- <version>${project.version}</version>- </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/modules/pom.xml.template b/dev-tools/maven/modules/pom.xml.templateindex ae2974ae44c..8c94eac9a73 100644--- a/dev-tools/maven/modules/pom.xml.template+++ b/dev-tools/maven/modules/pom.xml.template@@ -38,6 +38,7 @@<module>join</module><module>queries</module><module>queryparser</module>+ <module>spatial</module><module>suggest</module></modules><build>diff --git a/dev-tools/maven/modules/spatial/strategy/pom.xml.template b/dev-tools/maven/modules/spatial/strategy/pom.xml.templateindex 12dc36f5938..7a399485b32 100644--- a/dev-tools/maven/modules/spatial/strategy/pom.xml.template+++ b/dev-tools/maven/modules/spatial/strategy/pom.xml.template@@ -58,17 +58,17 @@<dependency><groupId>${project.groupId}</groupId><artifactId>lucene-queries</artifactId>- <version>${lucene.version}</version>+ <version>${project.version}</version></dependency><dependency><groupId>${project.groupId}</groupId><artifactId>lucene-analyzers-common</artifactId>- <version>${lucene.version}</version>+ <version>${project.version}</version></dependency><dependency><groupId>${project.groupId}</groupId><artifactId>lucene-benchmark</artifactId>- <version>${lucene.version}</version>+ <version>${project.version}</version><optional>true</optional></dependency></dependencies>diff --git a/dev-tools/maven/solr/core/pom.xml.template b/dev-tools/maven/solr/core/pom.xml.templateindex 3db634c065c..94e5c88999d 100644--- a/dev-tools/maven/solr/core/pom.xml.template+++ b/dev-tools/maven/solr/core/pom.xml.template@@ -108,7 +108,12 @@</dependency><dependency><groupId>org.apache.lucene</groupId>- <artifactId>lucene-spatial</artifactId>+ <artifactId>lucene-spatial-base</artifactId>+ <version>${project.version}</version>+ </dependency>+ <dependency>+ <groupId>org.apache.lucene</groupId>+ <artifactId>lucene-spatial-strategy</artifactId><version>${project.version}</version></dependency><dependency>