You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by bu...@apache.org on 2007/06/16 06:45:15 UTC

svn commit: r547860 - in /lucene/java/trunk: ./ contrib/ contrib/analyzers/ contrib/ant/ contrib/benchmark/ contrib/db/ contrib/db/bdb-je/ contrib/db/bdb/ contrib/gdata-server/ contrib/highlighter/ contrib/lucli/ contrib/memory/ contrib/miscellaneous/ ...

Author: buschmi
Date: Fri Jun 15 21:45:13 2007
New Revision: 547860

URL: http://svn.apache.org/viewvc?view=rev&rev=547860
Log:
LUCENE-622: Add ant target and pom.xml files for building maven artifacts of the Lucene core and the contrib modules. 

Added:
    lucene/java/trunk/contrib/analyzers/pom.xml
    lucene/java/trunk/contrib/ant/pom.xml
    lucene/java/trunk/contrib/benchmark/pom.xml
    lucene/java/trunk/contrib/db/bdb-je/pom.xml
    lucene/java/trunk/contrib/db/bdb/pom.xml
    lucene/java/trunk/contrib/highlighter/pom.xml
    lucene/java/trunk/contrib/lucli/pom.xml
    lucene/java/trunk/contrib/memory/pom.xml
    lucene/java/trunk/contrib/miscellaneous/pom.xml
    lucene/java/trunk/contrib/queries/pom.xml
    lucene/java/trunk/contrib/regex/pom.xml
    lucene/java/trunk/contrib/similarity/pom.xml
    lucene/java/trunk/contrib/snowball/pom.xml
    lucene/java/trunk/contrib/spellchecker/pom.xml
    lucene/java/trunk/contrib/surround/pom.xml
    lucene/java/trunk/contrib/swing/pom.xml
    lucene/java/trunk/contrib/wordnet/pom.xml
    lucene/java/trunk/contrib/xml-query-parser/pom.xml
    lucene/java/trunk/lucene-contrib-pom.xml
    lucene/java/trunk/lucene-core-pom.xml
    lucene/java/trunk/lucene-demos-pom.xml
    lucene/java/trunk/lucene-parent-pom.xml
Modified:
    lucene/java/trunk/CHANGES.txt
    lucene/java/trunk/build.xml
    lucene/java/trunk/common-build.xml
    lucene/java/trunk/contrib/contrib-build.xml
    lucene/java/trunk/contrib/db/bdb-je/build.xml
    lucene/java/trunk/contrib/db/bdb/build.xml
    lucene/java/trunk/contrib/db/build.xml
    lucene/java/trunk/contrib/gdata-server/build.xml

Modified: lucene/java/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/java/trunk/CHANGES.txt?view=diff&rev=547860&r1=547859&r2=547860
==============================================================================
--- lucene/java/trunk/CHANGES.txt (original)
+++ lucene/java/trunk/CHANGES.txt Fri Jun 15 21:45:13 2007
@@ -313,6 +313,10 @@
     dependencies are met, and test compilation errors fail the build.
     (Steven Parkes, Chris Hostetter)
 
+10. LUCENE-622: Add ant target and pom.xml files for building maven artifacts 
+    of the Lucene core and the contrib modules. 
+    (Sami Siren, Karl Wettin, Michael Busch)
+
 ======================= Release 2.1.0 2007-02-14 =======================
 
 Changes in runtime behavior

Modified: lucene/java/trunk/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/build.xml?view=diff&rev=547860&r1=547859&r2=547860
==============================================================================
--- lucene/java/trunk/build.xml (original)
+++ lucene/java/trunk/build.xml Fri Jun 15 21:45:13 2007
@@ -305,6 +305,7 @@
         <!-- Package is not called first if packaging src standalone, so the dist.dir may not exist -->
         <mkdir dir="${build.dir}"/>
         <mkdir dir="${dist.dir}"/>
+        <mkdir dir="${maven.dist.dir}"/>
     </target>
   <!-- ================================================================== -->
   <!-- Packages the sources with zip                                      -->
@@ -360,6 +361,25 @@
 
   <target name="dist-all" depends="dist, dist-src"/>
 
+  <target name="generate-maven-artifacts" depends="maven.ant.tasks-check, package">
+    <sequential>
+      <m2-deploy pom.xml="lucene-parent-pom.xml"/>
+      <m2-deploy pom.xml="lucene-core-pom.xml"/>
+      <m2-deploy pom.xml="lucene-demos-pom.xml"/>
+      <m2-deploy pom.xml="lucene-contrib-pom.xml"/>
+      <contrib-crawl target="dist-maven"/>
+      <!-- do md5 checksums -->
+      <checksum forceOverwrite="yes" fileext=".md5">
+        <fileset dir="${maven.dist.dir}" excludes="**/*.md5"/>
+      </checksum>
+	
+      <!-- do sha1 checksums -->
+      <checksum forceOverwrite="yes" algorithm="SHA" fileext=".sha1">
+        <fileset dir="${maven.dist.dir}" excludes="**/*.sha1, **/*.md5"/>
+      </checksum>
+    </sequential>
+  </target>
+	
   <!-- ================================================================== -->
   <!-- Build the JavaCC files into the source tree                        -->
   <!-- ================================================================== -->

Modified: lucene/java/trunk/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/common-build.xml?view=diff&rev=547860&r1=547859&r2=547860
==============================================================================
--- lucene/java/trunk/common-build.xml (original)
+++ lucene/java/trunk/common-build.xml Fri Jun 15 21:45:13 2007
@@ -17,7 +17,7 @@
     limitations under the License.
  -->
 	
-<project name="common">
+<project name="common" xmlns:artifact="antlib:org.apache.maven.artifact.ant">
   <description>
     This file is designed for importing into a main build file, and not intended
     for standalone use.
@@ -55,6 +55,7 @@
   <property name="src.dir" location="src/java"/>
   <property name="build.dir" location="build"/>
   <property name="dist.dir" location="dist"/>
+  <property name="maven.dist.dir" location="dist/maven"/>
 
   <property name="javacc.home" location="${common.dir}"/>
 
@@ -97,6 +98,11 @@
     classname="junit.framework.TestCase"
     />
 
+  <available
+    property="maven.ant.tasks.present"
+    classname="org.apache.maven.artifact.ant.Pom"
+  />
+	
   <target name="clean"
     description="Removes contents of build and dist directories">
     <delete dir="${build.dir}"/>
@@ -151,8 +157,7 @@
     </fail>
 
   </target>
-
-
+	
   <target name="compile-core" depends="init, clover"
           description="Compiles core classes">
     <compile
@@ -170,7 +175,36 @@
     description="Packages the JAR file">
     <jarify />
   </target>
+	
+  <target name="maven.ant.tasks-check">
+	<fail unless="maven.ant.tasks.present">
+	  ##################################################################
+      Maven ant tasks not found.
+      Please make sure the maven-ant-tasks jar is in ANT_HOME/lib, or made 
+      available to Ant using other mechanisms like -lib or CLASSPATH.
+      ##################################################################
+  	</fail>
+  </target>
 
+  <property name="pom.xml" value="pom.xml"/>
+
+  <macrodef name="m2-deploy" description="Builds a Maven artifact">
+    <attribute name="pom.xml" default="${pom.xml}"/>
+    <sequential>
+      <copy file="@{pom.xml}" tofile="${build.dir}/@{pom.xml}">
+        <filterset begintoken="@" endtoken="@"> 
+          <filter token="version" value="${version}"/>
+        </filterset>
+      </copy>
+      <artifact:pom id="maven.project" file="${build.dir}/@{pom.xml}" />
+      <artifact:install file="${build.dir}/${maven.project.build.finalName}.jar">
+        <localRepository location="${maven.dist.dir}"/>
+        <pom refid="maven.project"/>
+      </artifact:install>
+    </sequential>
+  </macrodef>  	
+	
+	
   <macrodef name="jarify" description="Builds a JAR file">
     <attribute name="title" default="Lucene Search Engine: ${ant.project.name}" />
     <element name="manifest-attributes" optional="yes"/>
@@ -407,6 +441,7 @@
   </macrodef>
 
 </project>
+
 
 
 

Added: lucene/java/trunk/contrib/analyzers/pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/analyzers/pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/contrib/analyzers/pom.xml (added)
+++ lucene/java/trunk/contrib/analyzers/pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,35 @@
+<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-contrib</artifactId>
+    <version>@version@</version>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-analyzers</artifactId>
+  <name>Lucene Analyzers</name>
+  <version>@version@</version>
+  <description>Additional Analyzers</description>
+  <packaging>jar</packaging>
+</project>

Added: lucene/java/trunk/contrib/ant/pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/ant/pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/contrib/ant/pom.xml (added)
+++ lucene/java/trunk/contrib/ant/pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,48 @@
+<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-contrib</artifactId>
+    <version>@version@</version>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-ant</artifactId>
+  <packaging>jar</packaging>
+  <version>@version@</version>
+  <name>Lucene Contrib Ant</name>
+  <description>Ant task to create Lucene indexes</description>
+  <dependencies>
+    <dependency>
+      <groupId>jtidy</groupId>
+      <artifactId>jtidy</artifactId>
+      <version>4aug2000r7-dev</version>
+    </dependency>
+    <dependency>
+      <groupId>ant</groupId>
+      <artifactId>ant</artifactId>
+      <version>1.6.5</version>
+    </dependency>
+  </dependencies>
+</project>

Added: lucene/java/trunk/contrib/benchmark/pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/benchmark/pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/contrib/benchmark/pom.xml (added)
+++ lucene/java/trunk/contrib/benchmark/pom.xml Fri Jun 15 21:45:13 2007
@@ -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-contrib</artifactId>
+    <version>@version@</version>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-benchmark</artifactId>
+  <name>Lucene Benchmark</name>
+  <version>@version@</version>
+  <description>Lucene Benchmarking Contributions</description>
+  <packaging>jar</packaging>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-demos</artifactId>
+      <version>@version@</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-beanutils</groupId>
+      <artifactId>commons-beanutils</artifactId>
+      <version>${commons-beanutils-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-collections</groupId>
+      <artifactId>commons-collections</artifactId>
+      <version>${commons-collections-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-digester</groupId>
+      <artifactId>commons-digester</artifactId>
+      <version>${commons-digester-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <version>${commons-logging-version}</version>
+    </dependency>
+  </dependencies>
+</project>

Modified: lucene/java/trunk/contrib/contrib-build.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/contrib-build.xml?view=diff&rev=547860&r1=547859&r2=547860
==============================================================================
--- lucene/java/trunk/contrib/contrib-build.xml (original)
+++ lucene/java/trunk/contrib/contrib-build.xml Fri Jun 15 21:45:13 2007
@@ -17,13 +17,14 @@
     limitations under the License.
  -->
 
-<project name="contrib-build">
+<project name="contrib-build" xmlns:artifact="antlib:org.apache.maven.artifact.ant">
   <echo>Building ${ant.project.name}...</echo>
 
   <!-- TODO: adjust build.dir/dist.dir appropriately when a contrib project is run individually -->
   <property name="build.dir" location="../../build/contrib/${ant.project.name}"/>
   <property name="dist.dir" location="../../dist/contrib/${ant.project.name}"/>
-
+  <property name="maven.dist.dir" location="../../dist/maven"/>
+	
   <import file="../common-build.xml"/>
 
   <property name="lucene.jar" location="${common.dir}/build/lucene-core-${version}.jar"/>
@@ -67,4 +68,18 @@
     <antcall target="common.test" inheritRefs="true" />
   </target>
   <target name="build-artifacts-and-tests" depends="jar, compile-test" />
+	
+  <available 
+    type="file" 
+    file="${pom.xml}" 
+    property="pom.xml.present">
+  </available>
+			
+  <target name="dist-maven" if="pom.xml.present" depends="compile-core">
+    <artifact:pom file="${common.dir}/build/lucene-parent-pom.xml" id="maven.project"/>
+    <artifact:pom file="${common.dir}/build/lucene-core-pom.xml" id="maven.project"/>
+    <artifact:pom file="${common.dir}/build/lucene-contrib-pom.xml" id="maven.project"/>
+    <m2-deploy/>
+  </target>
+
 </project>

Modified: lucene/java/trunk/contrib/db/bdb-je/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/db/bdb-je/build.xml?view=diff&rev=547860&r1=547859&r2=547860
==============================================================================
--- lucene/java/trunk/contrib/db/bdb-je/build.xml (original)
+++ lucene/java/trunk/contrib/db/bdb-je/build.xml Fri Jun 15 21:45:13 2007
@@ -19,7 +19,8 @@
 
   <property name="build.dir" location="../../../build/contrib/db/bdb-je" />
   <property name="dist.dir" location="../../../dist/contrib/db/bdb-je" />
-
+  <property name="maven.dist.dir" location="../../../dist/maven" />
+	
   <import file="../../contrib-build.xml" />
 
   <target name="get-je-jar" unless="je.jar.exists">

Added: lucene/java/trunk/contrib/db/bdb-je/pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/db/bdb-je/pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/contrib/db/bdb-je/pom.xml (added)
+++ lucene/java/trunk/contrib/db/bdb-je/pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,42 @@
+<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-contrib</artifactId>
+    <version>@version@</version>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-bdb-je</artifactId>
+  <packaging>jar</packaging>
+  <version>@version@</version>
+  <name>lucene-contrib-bdb-je</name>
+  <description>Berkeley DB based Directory implementation</description>
+  <dependencies>
+    <dependency>
+      <groupId>sleepycat</groupId>
+      <artifactId>je</artifactId>
+      <version>1.7.0</version>
+    </dependency>
+  </dependencies>
+</project>

Modified: lucene/java/trunk/contrib/db/bdb/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/db/bdb/build.xml?view=diff&rev=547860&r1=547859&r2=547860
==============================================================================
--- lucene/java/trunk/contrib/db/bdb/build.xml (original)
+++ lucene/java/trunk/contrib/db/bdb/build.xml Fri Jun 15 21:45:13 2007
@@ -19,6 +19,7 @@
 
   <property name="build.dir" location="../../../build/contrib/db/bdb" />
   <property name="dist.dir" location="../../../dist/contrib/db/bdb" />
+  <property name="maven.dist.dir" location="../../../dist/maven" />
 
   <import file="../../contrib-build.xml" />
 

Added: lucene/java/trunk/contrib/db/bdb/pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/db/bdb/pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/contrib/db/bdb/pom.xml (added)
+++ lucene/java/trunk/contrib/db/bdb/pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,35 @@
+<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-contrib</artifactId>
+    <version>@version@</version>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-bdb</artifactId>
+  <packaging>jar</packaging>
+  <version>@version@</version>
+  <name>lucene-contrib-bdb</name>
+  <description>Berkeley DB based Directory implementation</description>
+</project>

Modified: lucene/java/trunk/contrib/db/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/db/build.xml?view=diff&rev=547860&r1=547859&r2=547860
==============================================================================
--- lucene/java/trunk/contrib/db/build.xml (original)
+++ lucene/java/trunk/contrib/db/build.xml Fri Jun 15 21:45:13 2007
@@ -54,4 +54,9 @@
 
   <target name="build-artifacts-and-tests" depends="default,compile-test" />
 
+  <target name="dist-maven" depends="default">
+    <ant dir="bdb" target="dist-maven" />
+    <ant dir="bdb-je" target="dist-maven" />
+  </target>  	
+	
 </project>

Modified: lucene/java/trunk/contrib/gdata-server/build.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/gdata-server/build.xml?view=diff&rev=547860&r1=547859&r2=547860
==============================================================================
--- lucene/java/trunk/contrib/gdata-server/build.xml (original)
+++ lucene/java/trunk/contrib/gdata-server/build.xml Fri Jun 15 21:45:13 2007
@@ -130,4 +130,5 @@
   </target>
 
   <target name="build-artifacts-and-tests" depends="default,compile-test" />        
+  <target name="dist-maven"/>
 </project>

Added: lucene/java/trunk/contrib/highlighter/pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/highlighter/pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/contrib/highlighter/pom.xml (added)
+++ lucene/java/trunk/contrib/highlighter/pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,38 @@
+<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-contrib</artifactId>
+    <version>@version@</version>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-highlighter</artifactId>
+  <name>Lucene Highlighter</name>
+  <version>@version@</version>
+  <description>
+    This is the highlighter for apache lucene java
+  </description>
+  <packaging>jar</packaging>
+</project>

Added: lucene/java/trunk/contrib/lucli/pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/lucli/pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/contrib/lucli/pom.xml (added)
+++ lucene/java/trunk/contrib/lucli/pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,43 @@
+<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-contrib</artifactId>
+    <version>@version@</version>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-lucli</artifactId>
+  <packaging>jar</packaging>
+  <version>@version@</version>
+  <name>lucene-contrib-lucli</name>
+  <description>Lucene Command Line Interface</description>
+  <dependencies>
+    <dependency>
+      <groupId>jline</groupId>
+      <artifactId>jline</artifactId>
+      <version>0.9.91</version>
+    </dependency>
+  </dependencies>
+</project>

Added: lucene/java/trunk/contrib/memory/pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/memory/pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/contrib/memory/pom.xml (added)
+++ lucene/java/trunk/contrib/memory/pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,38 @@
+<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-contrib</artifactId>
+    <version>@version@</version>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-memory</artifactId>
+  <name>Lucene Memory</name>
+  <version>@version@</version>
+  <description>
+    High-performance single-document index to compare against Query
+  </description>
+  <packaging>jar</packaging>
+</project>

Added: lucene/java/trunk/contrib/miscellaneous/pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/miscellaneous/pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/contrib/miscellaneous/pom.xml (added)
+++ lucene/java/trunk/contrib/miscellaneous/pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,36 @@
+<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-contrib</artifactId>
+    <version>@version@</version>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-misc</artifactId>
+  <name>Lucene Miscellaneous</name>
+  <version>@version@</version>
+  <description>Miscellaneous Lucene extensions</description>
+  <packaging>jar</packaging>
+</project>

Added: lucene/java/trunk/contrib/queries/pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/queries/pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/contrib/queries/pom.xml (added)
+++ lucene/java/trunk/contrib/queries/pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,38 @@
+<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-contrib</artifactId>
+    <version>@version@</version>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-queries</artifactId>
+  <name>Lucene Queries</name>
+  <version>@version@</version>
+  <description>
+    Queries - various query object exotica not in core
+  </description>
+  <packaging>jar</packaging>
+</project>

Added: lucene/java/trunk/contrib/regex/pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/regex/pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/contrib/regex/pom.xml (added)
+++ lucene/java/trunk/contrib/regex/pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,43 @@
+<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-contrib</artifactId>
+    <version>@version@</version>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-regex</artifactId>
+  <name>Lucene Regex</name>
+  <version>@version@</version>
+  <description>Regular expression query</description>
+  <packaging>jar</packaging>
+  <dependencies>
+    <dependency>
+      <groupId>jakarta-regexp</groupId>
+      <artifactId>jakarta-regexp</artifactId>
+      <version>${jakarta-regexp-version}</version>
+    </dependency>
+  </dependencies>
+</project>

Added: lucene/java/trunk/contrib/similarity/pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/similarity/pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/contrib/similarity/pom.xml (added)
+++ lucene/java/trunk/contrib/similarity/pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,36 @@
+<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-contrib</artifactId>
+    <version>@version@</version>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-similarity</artifactId>
+  <packaging>jar</packaging>
+  <version>@version@</version>
+  <name>lucene-contrib-similarity</name>
+  <description>Custom Document similarity measures</description>
+</project>

Added: lucene/java/trunk/contrib/snowball/pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/snowball/pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/contrib/snowball/pom.xml (added)
+++ lucene/java/trunk/contrib/snowball/pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,36 @@
+<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-contrib</artifactId>
+    <version>@version@</version>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-snowball</artifactId>
+  <name>Lucene Snowball</name>
+  <version>@version@</version>
+  <description>Snowball Analyzers</description>
+  <packaging>jar</packaging>
+</project>

Added: lucene/java/trunk/contrib/spellchecker/pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/spellchecker/pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/contrib/spellchecker/pom.xml (added)
+++ lucene/java/trunk/contrib/spellchecker/pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,36 @@
+<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-contrib</artifactId>
+    <version>@version@</version>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-spellchecker</artifactId>
+  <name>Lucene Spellchecker</name>
+  <version>@version@</version>
+  <description>Spell Checker</description>
+  <packaging>jar</packaging>
+</project>

Added: lucene/java/trunk/contrib/surround/pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/surround/pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/contrib/surround/pom.xml (added)
+++ lucene/java/trunk/contrib/surround/pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,36 @@
+<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-contrib</artifactId>
+    <version>@version@</version>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-surround</artifactId>
+  <name>Lucene Surround</name>
+  <version>@version@</version>
+  <description>Surround query parser</description>
+  <packaging>jar</packaging>
+</project>

Added: lucene/java/trunk/contrib/swing/pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/swing/pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/contrib/swing/pom.xml (added)
+++ lucene/java/trunk/contrib/swing/pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,36 @@
+<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-contrib</artifactId>
+    <version>@version@</version>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-swing</artifactId>
+  <name>Lucene Swing</name>
+  <version>@version@</version>
+  <description>Swing Models</description>
+  <packaging>jar</packaging>
+</project>

Added: lucene/java/trunk/contrib/wordnet/pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/wordnet/pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/contrib/wordnet/pom.xml (added)
+++ lucene/java/trunk/contrib/wordnet/pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,37 @@
+<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-contrib</artifactId>
+    <version>@version@</version>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-wordnet</artifactId>
+  <name>Lucene Wordnet</name>
+  <version>@version@</version>
+  <description>WordNet</description>
+  <packaging>jar</packaging>
+
+</project>

Added: lucene/java/trunk/contrib/xml-query-parser/pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/xml-query-parser/pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/contrib/xml-query-parser/pom.xml (added)
+++ lucene/java/trunk/contrib/xml-query-parser/pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,43 @@
+<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-contrib</artifactId>
+    <version>@version@</version>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-xml-query-parser</artifactId>
+  <name>Lucene XML Query Parser</name>
+  <version>@version@</version>
+  <description>XML query parser</description>
+  <packaging>jar</packaging>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-queries</artifactId>
+      <version>@version@</version>
+    </dependency>
+  </dependencies>
+</project>

Added: lucene/java/trunk/lucene-contrib-pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/lucene-contrib-pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/lucene-contrib-pom.xml (added)
+++ lucene/java/trunk/lucene-contrib-pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,48 @@
+<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>
+  </parent>
+  <artifactId>lucene-contrib</artifactId>
+  <name>Lucene Java Contrib POM</name>
+  <version>@version@</version>
+  <packaging>pom</packaging>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-core</artifactId>
+      <version>@version@</version>
+    </dependency>
+  </dependencies>
+  <properties>
+    <commons-logging-version>1.0.4</commons-logging-version>
+    <commons-digester-version>1.7</commons-digester-version>
+    <commons-collections-version>3.1</commons-collections-version>
+    <commons-beanutils-version>1.7.0</commons-beanutils-version>
+    <jakarta-regexp-version>1.4</jakarta-regexp-version>
+  </properties>
+</project>

Added: lucene/java/trunk/lucene-core-pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/lucene-core-pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/lucene-core-pom.xml (added)
+++ lucene/java/trunk/lucene-core-pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,36 @@
+<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.
+  -->
+
+  <parent>
+    <groupId>org.apache.lucene</groupId>
+    <artifactId>lucene-parent</artifactId>
+    <version>@version@</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-core</artifactId>
+  <name>Lucene Core</name>
+  <version>@version@</version>
+  <description>Apache Lucene Java Core</description>
+  <packaging>jar</packaging>
+</project>

Added: lucene/java/trunk/lucene-demos-pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/lucene-demos-pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/lucene-demos-pom.xml (added)
+++ lucene/java/trunk/lucene-demos-pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,43 @@
+<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>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-demos</artifactId>
+  <name>Lucene Demos</name>
+  <version>@version@</version>
+  <description>This is the demo for Apache Lucene Java</description>
+  <packaging>jar</packaging>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-core</artifactId>
+      <version>@version@</version>
+    </dependency>
+  </dependencies>
+</project>

Added: lucene/java/trunk/lucene-parent-pom.xml
URL: http://svn.apache.org/viewvc/lucene/java/trunk/lucene-parent-pom.xml?view=auto&rev=547860
==============================================================================
--- lucene/java/trunk/lucene-parent-pom.xml (added)
+++ lucene/java/trunk/lucene-parent-pom.xml Fri Jun 15 21:45:13 2007
@@ -0,0 +1,85 @@
+<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>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-parent</artifactId>
+  <name>Lucene Java POM</name>
+  <version>@version@</version>
+  <description>Apache Lucene Java POM</description>
+  <url>http://lucene.apache.org/java</url>
+  <packaging>pom</packaging>
+  <issueManagement>
+    <system>JIRA</system>
+    <url>http://issues.apache.org/jira/browse/LUCENE</url>
+  </issueManagement>
+  <ciManagement>
+    <system>Hudson</system>
+    <url>
+      http://lucene.zones.apache.org:8080/hudson/job/Lucene-Nightly/
+    </url>
+  </ciManagement>
+  <mailingLists>
+    <mailingList>
+      <name>Java User List</name>
+      <subscribe>java-user-subscribe@lucene.apache.org</subscribe>
+      <unsubscribe>java-user-unsubscribe@lucene.apache.org</unsubscribe>
+      <archive>
+        http://mail-archives.apache.org/mod_mbox/java-user/
+      </archive>
+    </mailingList>
+    <mailingList>
+      <name>Java Developer List</name>
+      <subscribe>java-dev-subscribe@lucene.apache.org</subscribe>
+      <unsubscribe>java-dev-unsubscribe@lucene.apache.org</unsubscribe>
+      <archive>
+        http://mail-archives.apache.org/mod_mbox/java-dev/
+      </archive>
+    </mailingList>
+    <mailingList>
+      <name>Java Commits List</name>
+      <subscribe>java-commits-subscribe@lucene.apache.org</subscribe>
+      <unsubscribe>
+        java-commits-unsubscribe@lucene.apache.org
+      </unsubscribe>
+      <archive>
+        http://mail-archives.apache.org/mod_mbox/java-commits/
+      </archive>
+    </mailingList>
+  </mailingLists>
+  <inceptionYear>2004</inceptionYear>
+  <licenses>
+    <license>
+      <name>Apache 2</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+    </license>
+  </licenses>
+  <scm>
+    <connection>
+      scm:svn:http://svn.apache.org/repos/asf/lucene/java
+    </connection>
+    <developerConnection>
+      scm:svn:https://svn.apache.org/repos/asf/lucene/java
+    </developerConnection>
+  </scm>
+</project>