Apache Lucene open-source search software
LUCENE-2981: Removed ant, bdb, bdb-je, lucli, and swing contribs from the Maven configuration.
Steven Rowe00c35bfec344
diff --git a/dev-tools/maven/lucene/contrib/ant/pom.xml.template b/dev-tools/maven/lucene/contrib/ant/pom.xml.templatedeleted file mode 100644index e300d0f8ada..00000000000--- a/dev-tools/maven/lucene/contrib/ant/pom.xml.template+++ /dev/null@@ -1,114 +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-ant</artifactId>- <packaging>jar</packaging>- <name>Lucene Contrib Ant</name>- <description>Ant task to create Lucene indexes</description>- <properties>- <module-directory>lucene/contrib/ant</module-directory>- <build-directory>../../build/contrib/ant</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>jtidy</groupId>- <artifactId>jtidy</artifactId>- </dependency>- <dependency>- <groupId>org.apache.ant</groupId>- <artifactId>ant</artifactId>- </dependency>- <dependency>- <groupId>org.apache.ant</groupId>- <artifactId>ant-junit</artifactId>- <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>- <resources>- <resource>- <directory>src/resources</directory>- </resource>- </resources>- <testResources>- <testResource>- <directory>${project.build.testSourceDirectory}</directory>- <excludes>- <exclude>**/*.java</exclude>- </excludes>- </testResource>- </testResources>- <plugins>- <plugin>- <groupId>org.codehaus.mojo</groupId>- <artifactId>appassembler-maven-plugin</artifactId>- <configuration>- <extraJvmArguments>-Xmx128M</extraJvmArguments>- <repositoryLayout>flat</repositoryLayout>- <platforms>- <platform>windows</platform>- <platform>unix</platform>- </platforms>- <programs>- <program>- <mainClass>org.apache.lucene.ant.HtmlDocument</mainClass>- <name>HtmlDocument</name>- </program>- </programs>- </configuration>- </plugin>- </plugins>- </build>-</project>diff --git a/dev-tools/maven/lucene/contrib/db/bdb-je/pom.xml.template b/dev-tools/maven/lucene/contrib/db/bdb-je/pom.xml.templatedeleted file mode 100644index a5d7647b526..00000000000--- a/dev-tools/maven/lucene/contrib/db/bdb-je/pom.xml.template+++ /dev/null@@ -1,75 +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-bdb-je</artifactId>- <packaging>jar</packaging>- <name>Lucene Contrib bdb-je</name>- <description>Berkeley DB based Directory implementation</description>- <properties>- <module-directory>lucene/contrib/db/bdb-je</module-directory>- <build-directory>../../../build/contrib/db/bdb-je</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>com.sleepycat</groupId>- <artifactId>berkeleydb-je</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>diff --git a/dev-tools/maven/lucene/contrib/db/bdb/pom.xml.template b/dev-tools/maven/lucene/contrib/db/bdb/pom.xml.templatedeleted file mode 100644index d5d5123ab5f..00000000000--- a/dev-tools/maven/lucene/contrib/db/bdb/pom.xml.template+++ /dev/null@@ -1,86 +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-bdb</artifactId>- <packaging>jar</packaging>- <name>Lucene Contrib bdb</name>- <description>Berkeley DB based Directory implementation</description>- <properties>- <module-directory>lucene/contrib/db/bdb</module-directory>- <build-directory>../../../build/contrib/db/bdb</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>com.sleepycat</groupId>- <artifactId>berkeleydb</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>- <plugins>- <plugin>- <groupId>org.apache.maven.plugins</groupId>- <artifactId>maven-surefire-plugin</artifactId>- <configuration>- <!-- TODO: figure out how to conditionally turn on tests, -->- <!-- depending on whether BDB is installed. -->- <skipTests>true</skipTests>- </configuration>- </plugin>- </plugins>- </build>-</project>diff --git a/dev-tools/maven/lucene/contrib/db/pom.xml.template b/dev-tools/maven/lucene/contrib/db/pom.xml.templatedeleted file mode 100644index aa3b0daa77f..00000000000--- a/dev-tools/maven/lucene/contrib/db/pom.xml.template+++ /dev/null@@ -1,49 +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-db-aggregator</artifactId>- <name>Lucene Database aggregator POM</name>- <packaging>pom</packaging>- <modules>- <module>bdb</module>- <module>bdb-je</module>- </modules>- <build>- <directory>../../build/contrib/db/lucene-db-aggregator</directory>- <plugins>- <plugin>- <groupId>org.apache.maven.plugins</groupId>- <artifactId>maven-deploy-plugin</artifactId>- <configuration>- <skip>true</skip>- </configuration>- </plugin>- </plugins>- </build>-</project>diff --git a/dev-tools/maven/lucene/contrib/lucli/pom.xml.template b/dev-tools/maven/lucene/contrib/lucli/pom.xml.templatedeleted file mode 100644index efa4c53a882..00000000000--- a/dev-tools/maven/lucene/contrib/lucli/pom.xml.template+++ /dev/null@@ -1,107 +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-lucli</artifactId>- <packaging>jar</packaging>- <name>Lucene Lucli</name>- <description>Lucene Command Line Interface</description>- <properties>- <module-directory>lucene/contrib/lucli</module-directory>- <build-directory>../../build/contrib/lucli</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>jline</groupId>- <artifactId>jline</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>- <plugins>- <plugin>- <groupId>org.apache.maven.plugins</groupId>- <artifactId>maven-javadoc-plugin</artifactId>- <configuration>- <skip>true</skip> <!-- There are no public or protected classes -->- </configuration>- </plugin>- <plugin>- <groupId>org.codehaus.mojo</groupId>- <artifactId>appassembler-maven-plugin</artifactId>- <configuration>- <extraJvmArguments>-Xmx128M</extraJvmArguments>- <repositoryLayout>flat</repositoryLayout>- <platforms>- <platform>windows</platform>- <platform>unix</platform>- </platforms>- <programs>- <program>- <mainClass>lucli.Lucli</mainClass>- <name>lucli</name>- </program>- </programs>- </configuration>- </plugin>- </plugins>- </build>-</project>diff --git a/dev-tools/maven/lucene/contrib/pom.xml.template b/dev-tools/maven/lucene/contrib/pom.xml.templateindex f16895b084d..abf7b3eb6fc 100644--- a/dev-tools/maven/lucene/contrib/pom.xml.template+++ b/dev-tools/maven/lucene/contrib/pom.xml.template@@ -31,19 +31,15 @@<name>Lucene Contrib aggregator POM</name><packaging>pom</packaging><modules>- <module>ant</module>- <module>db</module><module>demo</module><module>highlighter</module><module>instantiated</module>- <module>lucli</module><module>memory</module><module>misc</module><module>queries</module><module>queryparser</module><module>spatial</module><module>spellchecker</module>- <module>swing</module><module>wordnet</module><module>xml-query-parser</module></modules>diff --git a/dev-tools/maven/lucene/contrib/swing/pom.xml.template b/dev-tools/maven/lucene/contrib/swing/pom.xml.templatedeleted file mode 100644index bb5178d1b60..00000000000--- a/dev-tools/maven/lucene/contrib/swing/pom.xml.template+++ /dev/null@@ -1,100 +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-swing</artifactId>- <packaging>jar</packaging>- <name>Lucene Swing</name>- <description>Swing Models</description>- <properties>- <module-directory>lucene/contrib/swing</module-directory>- <build-directory>../../build/contrib/swing</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>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>- <plugins>- <plugin>- <groupId>org.codehaus.mojo</groupId>- <artifactId>appassembler-maven-plugin</artifactId>- <configuration>- <extraJvmArguments>-Xmx128M</extraJvmArguments>- <repositoryLayout>flat</repositoryLayout>- <platforms>- <platform>windows</platform>- <platform>unix</platform>- </platforms>- <programs>- <program>- <mainClass>org.apache.lucene.swing.models.ListSearcherSimulator</mainClass>- <name>ListSearchSimulator</name>- </program>- <program>- <mainClass>org.apache.lucene.swing.models.TableSearcherSimulator</mainClass>- <name>TableSearchSimulator</name>- </program>- </programs>- </configuration>- </plugin>- </plugins>- </build>-</project>diff --git a/dev-tools/maven/pom.xml.template b/dev-tools/maven/pom.xml.templateindex f2d98038cc3..5c026af66d1 100644--- a/dev-tools/maven/pom.xml.template+++ b/dev-tools/maven/pom.xml.template@@ -130,16 +130,6 @@<artifactId>guava</artifactId><version>r05</version></dependency>- <dependency>- <groupId>com.sleepycat</groupId>- <artifactId>berkeleydb</artifactId>- <version>4.7.25</version>- </dependency>- <dependency>- <groupId>com.sleepycat</groupId>- <artifactId>berkeleydb-je</artifactId>- <version>3.3.93</version>- </dependency><dependency><groupId>commons-beanutils</groupId><artifactId>commons-beanutils</artifactId>@@ -205,11 +195,6 @@<artifactId>jline</artifactId><version>0.9.1</version></dependency>- <dependency>- <groupId>jtidy</groupId>- <artifactId>jtidy</artifactId>- <version>4aug2000r7-dev</version>- </dependency><dependency><groupId>junit</groupId><artifactId>junit</artifactId>@@ -583,25 +568,6 @@<id>bootstrap</id><build><plugins>- <plugin>- <groupId>org.apache.maven.plugins</groupId>- <artifactId>maven-antrun-plugin</artifactId>- <executions>- <execution>- <id>get-jars-and-poms</id>- <phase>install</phase>- <goals>- <goal>run</goal>- </goals>- <configuration>- <target>- <ant dir="lucene/contrib/db/bdb" target="get-db-jar"/>- <ant dir="lucene/contrib/db/bdb-je" target="get-je-jar"/>- </target>- </configuration>- </execution>- </executions>- </plugin><plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-install-plugin</artifactId>@@ -634,34 +600,6 @@<file>modules/benchmark/lib/xercesImpl-2.9.1-patched-XERCESJ-1257.jar</file></configuration></execution>- <execution>- <id>install-berkeleydb</id>- <phase>install</phase>- <goals>- <goal>install-file</goal>- </goals>- <configuration>- <groupId>com.sleepycat</groupId>- <artifactId>berkeleydb</artifactId>- <version>4.7.25</version>- <packaging>jar</packaging>- <file>lucene/contrib/db/bdb/lib/db-4.7.25.jar</file>- </configuration>- </execution>- <execution>- <id>install-berkeleydb-je</id>- <phase>install</phase>- <goals>- <goal>install-file</goal>- </goals>- <configuration>- <groupId>com.sleepycat</groupId>- <artifactId>berkeleydb-je</artifactId>- <version>3.3.93</version>- <packaging>jar</packaging>- <file>lucene/contrib/db/bdb-je/lib/je-3.3.93.jar</file>- </configuration>- </execution><execution><id>install-solr-commons-csv</id><phase>install</phase>