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/01/21 04:44:17 UTC

svn commit: r1061613 [1/3] - in /lucene/dev/trunk: ./ dev-tools/maven/ dev-tools/maven/lucene/ dev-tools/maven/lucene/contrib/ dev-tools/maven/lucene/contrib/ant/ dev-tools/maven/lucene/contrib/db/ dev-tools/maven/lucene/contrib/db/bdb-je/ dev-tools/ma...

Author: sarowe
Date: Fri Jan 21 03:44:13 2011
New Revision: 1061613

URL: http://svn.apache.org/viewvc?rev=1061613&view=rev
Log:
LUCENE-2657: Replace Maven POM templates with full POMs

Added:
    lucene/dev/trunk/dev-tools/maven/
    lucene/dev/trunk/dev-tools/maven/lucene/
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/ant/
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/ant/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/db/
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/db/bdb/
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/db/bdb-je/
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/db/bdb-je/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/db/bdb/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/db/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/demo/
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/demo/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/highlighter/
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/highlighter/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/instantiated/
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/instantiated/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/lucli/
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/lucli/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/memory/
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/memory/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/misc/
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/misc/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/queries/
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/queries/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/queryparser/
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/queryparser/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/spatial/
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/spatial/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/spellchecker/
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/spellchecker/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/swing/
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/swing/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/wordnet/
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/wordnet/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/xml-query-parser/
    lucene/dev/trunk/dev-tools/maven/lucene/contrib/xml-query-parser/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/lucene/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/lucene/src/
    lucene/dev/trunk/dev-tools/maven/lucene/src/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/modules/
    lucene/dev/trunk/dev-tools/maven/modules/analysis/
    lucene/dev/trunk/dev-tools/maven/modules/analysis/common/
    lucene/dev/trunk/dev-tools/maven/modules/analysis/common/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/modules/analysis/icu/
    lucene/dev/trunk/dev-tools/maven/modules/analysis/icu/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/modules/analysis/phonetic/
    lucene/dev/trunk/dev-tools/maven/modules/analysis/phonetic/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/modules/analysis/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/modules/analysis/smartcn/
    lucene/dev/trunk/dev-tools/maven/modules/analysis/smartcn/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/modules/analysis/stempel/
    lucene/dev/trunk/dev-tools/maven/modules/analysis/stempel/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/modules/benchmark/
    lucene/dev/trunk/dev-tools/maven/modules/benchmark/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/modules/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/solr/
    lucene/dev/trunk/dev-tools/maven/solr/contrib/
    lucene/dev/trunk/dev-tools/maven/solr/contrib/analysis-extras/
    lucene/dev/trunk/dev-tools/maven/solr/contrib/analysis-extras/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/solr/contrib/clustering/
    lucene/dev/trunk/dev-tools/maven/solr/contrib/clustering/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/solr/contrib/dataimporthandler/
    lucene/dev/trunk/dev-tools/maven/solr/contrib/dataimporthandler/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/solr/contrib/dataimporthandler/src/
    lucene/dev/trunk/dev-tools/maven/solr/contrib/dataimporthandler/src/extras/
    lucene/dev/trunk/dev-tools/maven/solr/contrib/dataimporthandler/src/extras/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/solr/contrib/dataimporthandler/src/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/solr/contrib/extraction/
    lucene/dev/trunk/dev-tools/maven/solr/contrib/extraction/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/solr/contrib/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/solr/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/solr/src/
    lucene/dev/trunk/dev-tools/maven/solr/src/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/solr/src/solrj/
    lucene/dev/trunk/dev-tools/maven/solr/src/solrj/pom.xml   (with props)
    lucene/dev/trunk/dev-tools/maven/solr/src/webapp/
    lucene/dev/trunk/dev-tools/maven/solr/src/webapp/pom.xml   (with props)
Removed:
    lucene/dev/trunk/lucene/contrib/ant/pom.xml.template
    lucene/dev/trunk/lucene/contrib/db/bdb-je/pom.xml.template
    lucene/dev/trunk/lucene/contrib/db/bdb/pom.xml.template
    lucene/dev/trunk/lucene/contrib/highlighter/pom.xml.template
    lucene/dev/trunk/lucene/contrib/instantiated/pom.xml.template
    lucene/dev/trunk/lucene/contrib/lucli/pom.xml.template
    lucene/dev/trunk/lucene/contrib/memory/pom.xml.template
    lucene/dev/trunk/lucene/contrib/misc/pom.xml.template
    lucene/dev/trunk/lucene/contrib/queries/pom.xml.template
    lucene/dev/trunk/lucene/contrib/queryparser/pom.xml.template
    lucene/dev/trunk/lucene/contrib/spatial/pom.xml.template
    lucene/dev/trunk/lucene/contrib/spellchecker/pom.xml.template
    lucene/dev/trunk/lucene/contrib/swing/pom.xml.template
    lucene/dev/trunk/lucene/contrib/wordnet/pom.xml.template
    lucene/dev/trunk/lucene/contrib/xml-query-parser/pom.xml.template
    lucene/dev/trunk/lucene/lucene-contrib-pom.xml.template
    lucene/dev/trunk/lucene/lucene-core-pom.xml.template
    lucene/dev/trunk/lucene/lucene-demos-pom.xml.template
    lucene/dev/trunk/lucene/lucene-parent-pom.xml.template
    lucene/dev/trunk/modules/analysis/common/pom.xml.template
    lucene/dev/trunk/modules/analysis/icu/pom.xml.template
    lucene/dev/trunk/modules/analysis/phonetic/pom.xml.template
    lucene/dev/trunk/modules/analysis/smartcn/pom.xml.template
    lucene/dev/trunk/modules/analysis/stempel/pom.xml.template
    lucene/dev/trunk/modules/benchmark/pom.xml.template
    lucene/dev/trunk/solr/contrib/clustering/solr-clustering-pom.xml.template
    lucene/dev/trunk/solr/contrib/dataimporthandler/solr-dataimporthandler-extras-pom.xml.template
    lucene/dev/trunk/solr/contrib/dataimporthandler/solr-dataimporthandler-pom.xml.template
    lucene/dev/trunk/solr/contrib/extraction/solr-cell-pom.xml.template
    lucene/dev/trunk/solr/src/maven/
Modified:
    lucene/dev/trunk/   (props changed)
    lucene/dev/trunk/build.xml
    lucene/dev/trunk/lucene/   (props changed)
    lucene/dev/trunk/lucene/CHANGES.txt
    lucene/dev/trunk/lucene/build.xml
    lucene/dev/trunk/lucene/common-build.xml
    lucene/dev/trunk/lucene/contrib/   (props changed)
    lucene/dev/trunk/lucene/contrib/ant/   (props changed)
    lucene/dev/trunk/lucene/contrib/contrib-build.xml
    lucene/dev/trunk/lucene/contrib/db/   (props changed)
    lucene/dev/trunk/lucene/contrib/db/bdb/   (props changed)
    lucene/dev/trunk/lucene/contrib/db/bdb-je/   (props changed)
    lucene/dev/trunk/lucene/contrib/demo/   (props changed)
    lucene/dev/trunk/lucene/contrib/demo/build.xml
    lucene/dev/trunk/lucene/contrib/highlighter/   (props changed)
    lucene/dev/trunk/lucene/contrib/instantiated/   (props changed)
    lucene/dev/trunk/lucene/contrib/lucli/   (props changed)
    lucene/dev/trunk/lucene/contrib/memory/   (props changed)
    lucene/dev/trunk/lucene/contrib/misc/   (props changed)
    lucene/dev/trunk/lucene/contrib/queries/   (props changed)
    lucene/dev/trunk/lucene/contrib/queryparser/   (props changed)
    lucene/dev/trunk/lucene/contrib/spatial/   (props changed)
    lucene/dev/trunk/lucene/contrib/spellchecker/   (props changed)
    lucene/dev/trunk/lucene/contrib/swing/   (props changed)
    lucene/dev/trunk/lucene/contrib/wordnet/   (props changed)
    lucene/dev/trunk/lucene/contrib/xml-query-parser/   (props changed)
    lucene/dev/trunk/lucene/src/   (props changed)
    lucene/dev/trunk/modules/   (props changed)
    lucene/dev/trunk/modules/analysis/   (props changed)
    lucene/dev/trunk/modules/analysis/common/   (props changed)
    lucene/dev/trunk/modules/analysis/icu/   (props changed)
    lucene/dev/trunk/modules/analysis/phonetic/   (props changed)
    lucene/dev/trunk/modules/analysis/smartcn/   (props changed)
    lucene/dev/trunk/modules/analysis/stempel/   (props changed)
    lucene/dev/trunk/modules/benchmark/   (props changed)
    lucene/dev/trunk/modules/benchmark/build.xml
    lucene/dev/trunk/modules/build.xml
    lucene/dev/trunk/solr/   (props changed)
    lucene/dev/trunk/solr/CHANGES.txt
    lucene/dev/trunk/solr/build.xml
    lucene/dev/trunk/solr/common-build.xml
    lucene/dev/trunk/solr/contrib/   (props changed)
    lucene/dev/trunk/solr/contrib/analysis-extras/   (props changed)
    lucene/dev/trunk/solr/contrib/clustering/   (props changed)
    lucene/dev/trunk/solr/contrib/dataimporthandler/   (props changed)
    lucene/dev/trunk/solr/contrib/dataimporthandler/src/   (props changed)
    lucene/dev/trunk/solr/contrib/dataimporthandler/src/extras/   (props changed)
    lucene/dev/trunk/solr/contrib/extraction/   (props changed)
    lucene/dev/trunk/solr/src/   (props changed)
    lucene/dev/trunk/solr/src/solrj/   (props changed)
    lucene/dev/trunk/solr/src/webapp/   (props changed)

Modified: lucene/dev/trunk/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/build.xml?rev=1061613&r1=1061612&r2=1061613&view=diff
==============================================================================
--- lucene/dev/trunk/build.xml (original)
+++ lucene/dev/trunk/build.xml Fri Jan 21 03:44:13 2011
@@ -38,6 +38,13 @@
     </sequential>
   </target>
 
+  <target name="get-maven-poms" 
+          description="Copy Maven POMs from dev-tools/maven/ to their target locations">
+    <copy todir=".">
+      <fileset dir="${basedir}/dev-tools/maven"/>
+    </copy>
+  </target>
+
   <target name="generate-maven-artifacts" description="Generate Maven Artifacts for Lucene and Solr">
     <property name="maven.dist.dir"  location="dist/maven" />
     <mkdir dir="${maven.dist.dir}" />

Added: lucene/dev/trunk/dev-tools/maven/lucene/contrib/ant/pom.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/contrib/ant/pom.xml?rev=1061613&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/contrib/ant/pom.xml (added)
+++ lucene/dev/trunk/dev-tools/maven/lucene/contrib/ant/pom.xml Fri Jan 21 03:44:13 2011
@@ -0,0 +1,115 @@
+<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>4.0-SNAPSHOT</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-core</artifactId>
+      <version>${project.version}</version>
+      <type>test-jar</type>
+      <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>

Added: lucene/dev/trunk/dev-tools/maven/lucene/contrib/db/bdb-je/pom.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/contrib/db/bdb-je/pom.xml?rev=1061613&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/contrib/db/bdb-je/pom.xml (added)
+++ lucene/dev/trunk/dev-tools/maven/lucene/contrib/db/bdb-je/pom.xml Fri Jan 21 03:44:13 2011
@@ -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>4.0-SNAPSHOT</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-core</artifactId>
+      <version>${project.version}</version>
+      <type>test-jar</type>
+      <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>

Added: lucene/dev/trunk/dev-tools/maven/lucene/contrib/db/bdb/pom.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/contrib/db/bdb/pom.xml?rev=1061613&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/contrib/db/bdb/pom.xml (added)
+++ lucene/dev/trunk/dev-tools/maven/lucene/contrib/db/bdb/pom.xml Fri Jan 21 03:44:13 2011
@@ -0,0 +1,87 @@
+<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>4.0-SNAPSHOT</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-core</artifactId>
+      <version>${project.version}</version>
+      <type>test-jar</type>
+      <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>

Added: lucene/dev/trunk/dev-tools/maven/lucene/contrib/db/pom.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/contrib/db/pom.xml?rev=1061613&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/contrib/db/pom.xml (added)
+++ lucene/dev/trunk/dev-tools/maven/lucene/contrib/db/pom.xml Fri Jan 21 03:44:13 2011
@@ -0,0 +1,49 @@
+<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>4.0-SNAPSHOT</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>

Added: lucene/dev/trunk/dev-tools/maven/lucene/contrib/demo/pom.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/contrib/demo/pom.xml?rev=1061613&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/contrib/demo/pom.xml (added)
+++ lucene/dev/trunk/dev-tools/maven/lucene/contrib/demo/pom.xml Fri Jan 21 03:44:13 2011
@@ -0,0 +1,124 @@
+<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>4.0-SNAPSHOT</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-demo</artifactId>
+  <packaging>war</packaging>
+  <name>Lucene Demos</name>
+  <description>This is the demo for Apache Lucene Java</description>
+  <properties>
+    <module-directory>lucene/contrib/demo</module-directory>
+    <build-directory>../../build/contrib/demo</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-core</artifactId>
+      <version>${project.version}</version>
+      <type>test-jar</type>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>lucene-analyzers-common</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>servlet-api</artifactId>
+      <scope>provided</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>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-war-plugin</artifactId>
+        <configuration>
+          <warSourceDirectory>src/jsp</warSourceDirectory>
+          <attachClasses>true</attachClasses>
+          <classesClassifier/>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>appassembler-maven-plugin</artifactId>
+        <configuration>
+          <extraJvmArguments>-Xmx128M</extraJvmArguments>
+          <repositoryLayout>flat</repositoryLayout>
+          <assembleDirectory>${build-directory}</assembleDirectory>
+          <platforms>
+            <platform>windows</platform>
+            <platform>unix</platform>
+          </platforms>
+          <programs>
+            <program>
+              <mainClass>org.apache.lucene.demo.DeleteFiles</mainClass>
+              <name>DeleteFiles</name>
+            </program>
+            <program>
+              <mainClass>org.apache.lucene.demo.IndexFiles</mainClass>
+              <name>IndexFiles</name>
+            </program>
+            <program>
+              <mainClass>org.apache.lucene.demo.IndexHTML</mainClass>
+              <name>IndexHTML</name>
+            </program>
+            <program>
+              <mainClass>org.apache.lucene.demo.SearchFiles</mainClass>
+              <name>SearchFiles</name>
+            </program>
+          </programs>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: lucene/dev/trunk/dev-tools/maven/lucene/contrib/highlighter/pom.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/contrib/highlighter/pom.xml?rev=1061613&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/contrib/highlighter/pom.xml (added)
+++ lucene/dev/trunk/dev-tools/maven/lucene/contrib/highlighter/pom.xml Fri Jan 21 03:44:13 2011
@@ -0,0 +1,84 @@
+<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>4.0-SNAPSHOT</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-highlighter</artifactId>
+  <packaging>jar</packaging>
+  <name>Lucene Highlighter</name>
+  <description>
+    This is the highlighter for apache lucene java
+  </description>
+  <properties>
+    <module-directory>lucene/contrib/highlighter</module-directory>
+    <build-directory>../../build/contrib/highlighter</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-core</artifactId>
+      <version>${project.version}</version>
+      <type>test-jar</type>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>lucene-memory</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>lucene-queries</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>
+  </build>
+</project>

Added: lucene/dev/trunk/dev-tools/maven/lucene/contrib/instantiated/pom.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/contrib/instantiated/pom.xml?rev=1061613&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/contrib/instantiated/pom.xml (added)
+++ lucene/dev/trunk/dev-tools/maven/lucene/contrib/instantiated/pom.xml Fri Jan 21 03:44:13 2011
@@ -0,0 +1,72 @@
+<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>4.0-SNAPSHOT</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-instantiated</artifactId>
+  <packaging>jar</packaging>
+  <name>Lucene InstantiatedIndex</name>
+  <description>InstantiatedIndex, alternative RAM store for small corpora.</description>
+  <properties>
+    <module-directory>lucene/contrib/instantiated</module-directory>
+    <build-directory>../../build/contrib/instantiated</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-core</artifactId>
+      <version>${project.version}</version>
+      <type>test-jar</type>
+      <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>

Added: lucene/dev/trunk/dev-tools/maven/lucene/contrib/lucli/pom.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/contrib/lucli/pom.xml?rev=1061613&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/contrib/lucli/pom.xml (added)
+++ lucene/dev/trunk/dev-tools/maven/lucene/contrib/lucli/pom.xml Fri Jan 21 03:44:13 2011
@@ -0,0 +1,108 @@
+<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>4.0-SNAPSHOT</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-core</artifactId>
+      <version>${project.version}</version>
+      <type>test-jar</type>
+      <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>

Added: lucene/dev/trunk/dev-tools/maven/lucene/contrib/memory/pom.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/contrib/memory/pom.xml?rev=1061613&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/contrib/memory/pom.xml (added)
+++ lucene/dev/trunk/dev-tools/maven/lucene/contrib/memory/pom.xml Fri Jan 21 03:44:13 2011
@@ -0,0 +1,74 @@
+<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>4.0-SNAPSHOT</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-memory</artifactId>
+  <packaging>jar</packaging>
+  <name>Lucene Memory</name>
+  <description>
+    High-performance single-document index to compare against Query
+  </description>
+  <properties>
+    <module-directory>lucene/contrib/memory</module-directory>
+    <build-directory>../../build/contrib/memory</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-core</artifactId>
+      <version>${project.version}</version>
+      <type>test-jar</type>
+      <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>

Added: lucene/dev/trunk/dev-tools/maven/lucene/contrib/misc/pom.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/contrib/misc/pom.xml?rev=1061613&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/contrib/misc/pom.xml (added)
+++ lucene/dev/trunk/dev-tools/maven/lucene/contrib/misc/pom.xml Fri Jan 21 03:44:13 2011
@@ -0,0 +1,121 @@
+<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>4.0-SNAPSHOT</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-misc</artifactId>
+  <packaging>jar</packaging>
+  <name>Lucene Miscellaneous</name>
+  <description>Miscellaneous Lucene extensions</description>
+  <properties>
+    <module-directory>lucene/contrib/misc</module-directory>
+    <build-directory>../../build/contrib/misc</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-core</artifactId>
+      <version>${project.version}</version>
+      <type>test-jar</type>
+      <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.index.FieldNormModifier</mainClass>
+              <name>FieldNormModifier</name>
+            </program>
+            <program>
+              <mainClass>org.apache.lucene.index.IndexSplitter</mainClass>
+              <name>IndexSplitter</name>
+            </program>
+            <program>
+              <mainClass>org.apache.lucene.index.MultiPassIndexSplitter</mainClass>
+              <name>MultiPassIndexSplitter</name>
+            </program>
+            <program>
+              <mainClass>org.apache.lucene.misc.GetTermInfo</mainClass>
+              <name>GetTermInfo</name>
+            </program>
+            <program>
+              <mainClass>org.apache.lucene.misc.HighFreqTerms</mainClass>
+              <name>HighFreqTerms</name>
+            </program>
+            <program>
+              <mainClass>org.apache.lucene.misc.IndexMergeTool</mainClass>
+              <name>IndexMergeTool</name>
+            </program>
+            <program>
+              <mainClass>org.apache.lucene.misc.LengthNormModifier</mainClass>
+              <name>LengthNormModifier</name>
+            </program>
+          </programs>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: lucene/dev/trunk/dev-tools/maven/lucene/contrib/pom.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/contrib/pom.xml?rev=1061613&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/contrib/pom.xml (added)
+++ lucene/dev/trunk/dev-tools/maven/lucene/contrib/pom.xml Fri Jan 21 03:44:13 2011
@@ -0,0 +1,62 @@
+<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>4.0-SNAPSHOT</version>
+    <relativePath>../pom.xml</relativePath>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-contrib-aggregator</artifactId>
+  <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>
+  <build>
+    <directory>build/lucene-contrib-aggregator</directory>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-deploy-plugin</artifactId>
+        <configuration>
+          <skip>true</skip>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: lucene/dev/trunk/dev-tools/maven/lucene/contrib/queries/pom.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/contrib/queries/pom.xml?rev=1061613&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/contrib/queries/pom.xml (added)
+++ lucene/dev/trunk/dev-tools/maven/lucene/contrib/queries/pom.xml Fri Jan 21 03:44:13 2011
@@ -0,0 +1,78 @@
+<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>4.0-SNAPSHOT</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-queries</artifactId>
+  <packaging>jar</packaging>
+  <name>Lucene Queries</name>
+  <description>
+    Queries - various query object exotica not in core
+  </description>
+  <properties>
+    <module-directory>lucene/contrib/queries</module-directory>
+    <build-directory>../../build/contrib/queries</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-core</artifactId>
+      <version>${project.version}</version>
+      <type>test-jar</type>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>jakarta-regexp</groupId>
+      <artifactId>jakarta-regexp</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>

Added: lucene/dev/trunk/dev-tools/maven/lucene/contrib/queryparser/pom.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/contrib/queryparser/pom.xml?rev=1061613&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/contrib/queryparser/pom.xml (added)
+++ lucene/dev/trunk/dev-tools/maven/lucene/contrib/queryparser/pom.xml Fri Jan 21 03:44:13 2011
@@ -0,0 +1,79 @@
+<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>4.0-SNAPSHOT</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-queryparser</artifactId>
+  <packaging>jar</packaging>
+  <name>Lucene Query Parser</name>
+  <description>
+    This is the Flexible Query Parser for apache lucene java
+  </description>
+  <properties>
+    <module-directory>lucene/contrib/queryparser</module-directory>
+    <build-directory>../../build/contrib/queryparser</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-core</artifactId>
+      <version>${project.version}</version>
+      <type>test-jar</type>
+      <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>
+  </build>
+</project>

Added: lucene/dev/trunk/dev-tools/maven/lucene/contrib/spatial/pom.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/contrib/spatial/pom.xml?rev=1061613&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/contrib/spatial/pom.xml (added)
+++ lucene/dev/trunk/dev-tools/maven/lucene/contrib/spatial/pom.xml Fri Jan 21 03:44:13 2011
@@ -0,0 +1,77 @@
+<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>4.0-SNAPSHOT</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>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>lucene-core</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>lucene-core</artifactId>
+      <version>${project.version}</version>
+      <type>test-jar</type>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>lucene-queries</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>
+  </build>
+</project>

Added: lucene/dev/trunk/dev-tools/maven/lucene/contrib/spellchecker/pom.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/contrib/spellchecker/pom.xml?rev=1061613&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/contrib/spellchecker/pom.xml (added)
+++ lucene/dev/trunk/dev-tools/maven/lucene/contrib/spellchecker/pom.xml Fri Jan 21 03:44:13 2011
@@ -0,0 +1,77 @@
+<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>4.0-SNAPSHOT</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-spellchecker</artifactId>
+  <packaging>jar</packaging>
+  <name>Lucene Spellchecker</name>
+  <description>Spell Checker</description>
+  <properties>
+    <module-directory>lucene/contrib/spellchecker</module-directory>
+    <build-directory>../../build/contrib/spellchecker</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-core</artifactId>
+      <version>${project.version}</version>
+      <type>test-jar</type>
+      <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>
+  </build>
+</project>

Added: lucene/dev/trunk/dev-tools/maven/lucene/contrib/swing/pom.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/contrib/swing/pom.xml?rev=1061613&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/contrib/swing/pom.xml (added)
+++ lucene/dev/trunk/dev-tools/maven/lucene/contrib/swing/pom.xml Fri Jan 21 03:44:13 2011
@@ -0,0 +1,101 @@
+<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>4.0-SNAPSHOT</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-core</artifactId>
+      <version>${project.version}</version>
+      <type>test-jar</type>
+      <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>

Added: lucene/dev/trunk/dev-tools/maven/lucene/contrib/wordnet/pom.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/contrib/wordnet/pom.xml?rev=1061613&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/contrib/wordnet/pom.xml (added)
+++ lucene/dev/trunk/dev-tools/maven/lucene/contrib/wordnet/pom.xml Fri Jan 21 03:44:13 2011
@@ -0,0 +1,105 @@
+<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>4.0-SNAPSHOT</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-wordnet</artifactId>
+  <packaging>jar</packaging>
+  <name>Lucene Wordnet</name>
+  <description>WordNet</description>
+  <properties>
+    <module-directory>lucene/contrib/wordnet</module-directory>
+    <build-directory>../../build/contrib/wordnet</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-core</artifactId>
+      <version>${project.version}</version>
+      <type>test-jar</type>
+      <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.wordnet.SynExpand</mainClass>
+              <name>SynExpand</name>
+            </program>
+            <program>
+              <mainClass>org.apache.lucene.wordnet.SynExpand</mainClass>
+              <name>SynExpand</name>
+            </program>
+            <program>
+              <mainClass>org.apache.lucene.wordnet.Syns2Index</mainClass>
+              <name>Syns2Index</name>
+            </program>
+          </programs>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>

Added: lucene/dev/trunk/dev-tools/maven/lucene/contrib/xml-query-parser/pom.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/contrib/xml-query-parser/pom.xml?rev=1061613&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/contrib/xml-query-parser/pom.xml (added)
+++ lucene/dev/trunk/dev-tools/maven/lucene/contrib/xml-query-parser/pom.xml Fri Jan 21 03:44:13 2011
@@ -0,0 +1,82 @@
+<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>4.0-SNAPSHOT</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-xml-query-parser</artifactId>
+  <packaging>jar</packaging>
+  <name>Lucene XML Query Parser</name>
+  <description>XML query parser</description>
+  <properties>
+    <module-directory>lucene/contrib/xml-query-parser</module-directory>
+    <build-directory>../../build/contrib/xml-query-parser</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-core</artifactId>
+      <version>${project.version}</version>
+      <type>test-jar</type>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>lucene-queries</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>servlet-api</artifactId>
+      <scope>provided</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>

Added: lucene/dev/trunk/dev-tools/maven/lucene/pom.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/pom.xml?rev=1061613&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/pom.xml (added)
+++ lucene/dev/trunk/dev-tools/maven/lucene/pom.xml Fri Jan 21 03:44:13 2011
@@ -0,0 +1,41 @@
+<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-solr-grandparent</artifactId>
+    <version>4.0-SNAPSHOT</version>
+    <relativePath>../pom.xml</relativePath>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-parent</artifactId>
+  <packaging>pom</packaging>
+  <name>Lucene parent POM</name>
+  <description>Lucene parent POM</description>
+  <modules>
+    <module>src</module>
+    <module>contrib</module>
+  </modules>
+  <build>
+    <directory>build/lucene-parent</directory>
+  </build>
+</project>

Added: lucene/dev/trunk/dev-tools/maven/lucene/src/pom.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/dev-tools/maven/lucene/src/pom.xml?rev=1061613&view=auto
==============================================================================
--- lucene/dev/trunk/dev-tools/maven/lucene/src/pom.xml (added)
+++ lucene/dev/trunk/dev-tools/maven/lucene/src/pom.xml Fri Jan 21 03:44:13 2011
@@ -0,0 +1,126 @@
+<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>4.0-SNAPSHOT</version>
+    <relativePath>../pom.xml</relativePath>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-core</artifactId>
+  <packaging>jar</packaging>
+  <name>Lucene Core</name>
+  <description>Apache Lucene Java Core</description>
+  <properties>
+    <module-directory>lucene</module-directory>
+    <build-directory>../build</build-directory>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.ant</groupId>
+      <artifactId>ant</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.ant</groupId>
+      <artifactId>ant-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>java</sourceDirectory>
+    <testSourceDirectory>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-jar-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>test-jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <systemPropertyVariables>
+            <lucene.version>${project.version}</lucene.version>
+          </systemPropertyVariables>
+        </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>org.apache.lucene.index.CheckIndex</mainClass>
+              <name>CheckIndex</name>
+            </program>
+            <program>
+              <mainClass>org.apache.lucene.index.IndexReader</mainClass>
+              <name>IndexReader</name>
+            </program>
+            <program>
+              <mainClass>org.apache.lucene.store.LockStressTest</mainClass>
+              <name>LockStressTest</name>
+            </program>
+            <program>
+              <mainClass>org.apache.lucene.store.LockVerifyServer</mainClass>
+              <name>IndexReader</name>
+            </program>
+            <program>
+              <mainClass>org.apache.lucene.util.English</mainClass>
+              <name>English</name>
+            </program>
+          </programs>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>