[solr3] Initial import

Marek Goldmann goldmann at fedoraproject.org
Thu Oct 17 12:43:55 UTC 2013


commit 11903ddecf817e11d5630e1ebabac893ad20f890
Author: Marek Goldmann <marek.goldmann at gmail.com>
Date:   Thu Oct 17 14:43:51 2013 +0200

    Initial import

 .gitignore                        |    1 +
 lucene-solr-grandparent-3.6.2.pom |  762 +++++++++++++++++++++++++++++++++++++
 solr-analysis-extras-3.6.2.pom    |  103 +++++
 solr-contrib.pom                  |   19 +
 solr-core-3.6.2.pom               |  268 +++++++++++++
 solr-parent-3.6.2.pom             |  124 ++++++
 solr-solrj-3.6.2.pom              |  124 ++++++
 solr3.spec                        |  138 +++++++
 sources                           |    1 +
 9 files changed, 1540 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..95bc26d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/apache-solr-3.6.2.tar.gz
diff --git a/lucene-solr-grandparent-3.6.2.pom b/lucene-solr-grandparent-3.6.2.pom
new file mode 100644
index 0000000..017fe94
--- /dev/null
+++ b/lucene-solr-grandparent-3.6.2.pom
@@ -0,0 +1,762 @@
+<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</groupId>
+    <artifactId>apache</artifactId>
+    <version>10</version>
+    <relativePath/>
+  </parent>
+  <groupId>org.apache.lucene</groupId>
+  <artifactId>lucene-solr-grandparent</artifactId>
+  <version>3.6.2</version>
+  <packaging>pom</packaging>
+  <name>Grandparent POM for Apache Lucene Java and Apache Solr</name>
+  <description>Parent POM for Apache Lucene Java and Apache Solr</description>
+  <url>http://lucene.apache.org/java</url>
+  <modules>
+    <module>lucene</module>
+    <module>solr</module>
+  </modules>
+  <properties>
+    <base.specification.version>3.2.0</base.specification.version>
+    <maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
+    <java.compat.version>1.5</java.compat.version>
+    <jetty.version>6.1.26</jetty.version>
+    <patched.jetty.version>6.1.26-patched-JETTY-1340</patched.jetty.version>
+    <slf4j.version>1.6.1</slf4j.version>
+    <tika.version>1.0</tika.version>
+    <httpcomponents.version>4.1.3</httpcomponents.version>
+
+    <tests.locale>random</tests.locale>
+    <tests.asserts.gracious>false</tests.asserts.gracious>
+    <tests.iter>1</tests.iter>
+    <tests.directory>random</tests.directory>
+    <tests.iter.min>1</tests.iter.min>
+    <tests.luceneMatchVersion>3.6</tests.luceneMatchVersion>
+    <tests.multiplier>1</tests.multiplier>
+    <tests.seed>random</tests.seed>
+    <tests.timezone>random</tests.timezone>
+    <tests.verbose>false</tests.verbose>
+  </properties>
+  <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>General List</name>
+      <subscribe>general-subscribe at lucene.apache.org</subscribe>
+      <unsubscribe>general-unsubscribe at lucene.apache.org</unsubscribe>
+      <archive>
+        http://mail-archives.apache.org/mod_mbox/lucene-general/
+      </archive>
+    </mailingList>
+    <mailingList>
+      <name>Java User List</name>
+      <subscribe>java-user-subscribe at lucene.apache.org</subscribe>
+      <unsubscribe>java-user-unsubscribe at lucene.apache.org</unsubscribe>
+      <archive>
+        http://mail-archives.apache.org/mod_mbox/lucene-java-user/
+      </archive>
+    </mailingList>
+    <mailingList>
+      <name>Java Developer List</name>
+      <subscribe>dev-subscribe at lucene.apache.org</subscribe>
+      <unsubscribe>dev-unsubscribe at lucene.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/lucene-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Java Commits List</name>
+      <subscribe>commits-subscribe at lucene.apache.org</subscribe>
+      <unsubscribe>commits-unsubscribe at lucene.apache.org</unsubscribe>
+      <archive>
+        http://mail-archives.apache.org/mod_mbox/lucene-java-commits/
+      </archive>
+    </mailingList>
+  </mailingLists>
+  <inceptionYear>2000</inceptionYear>
+  <scm>
+    <connection>
+      scm:svn:http://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x
+    </connection>
+    <developerConnection>
+      scm:svn:https://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x
+    </developerConnection>
+    <url>
+      http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x
+    </url>
+  </scm>
+  <licenses>
+    <license>
+      <name>Apache 2</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+    </license>
+  </licenses>
+  <repositories>
+    <repository>
+      <id>apache.snapshots</id>
+      <name>Apache Snapshot Repository</name>
+      <url>http://repository.apache.org/snapshots</url>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <snapshots>
+        <updatePolicy>never</updatePolicy>
+      </snapshots>
+    </repository>
+  </repositories>
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>com.ibm.icu</groupId>
+        <artifactId>icu4j</artifactId>
+        <version>4.8.1.1</version>
+      </dependency>
+      <dependency>
+        <groupId>com.google.guava</groupId>
+        <artifactId>guava</artifactId>
+        <version>r05</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-codec</groupId>
+        <artifactId>commons-codec</artifactId>
+        <version>1.6</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-digester</groupId>
+        <artifactId>commons-digester</artifactId>
+        <version>1.7</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-fileupload</groupId>
+        <artifactId>commons-fileupload</artifactId>
+        <version>1.2.1</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-io</groupId>
+        <artifactId>commons-io</artifactId>
+        <version>2.1</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-httpclient</groupId>
+        <artifactId>commons-httpclient</artifactId>
+        <version>3.1</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.httpcomponents</groupId>
+        <artifactId>httpclient</artifactId>
+        <version>${httpcomponents.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.httpcomponents</groupId>
+        <artifactId>httpmime</artifactId>
+        <version>${httpcomponents.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-lang</groupId>
+        <artifactId>commons-lang</artifactId>
+        <version>2.6</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-logging</groupId>
+        <artifactId>commons-logging</artifactId>
+        <version>1.1.1</version>
+      </dependency>
+      <dependency>
+        <groupId>hsqldb</groupId>
+        <artifactId>hsqldb</artifactId>
+        <version>1.8.0.10</version>
+      </dependency>
+      <dependency>
+        <groupId>jakarta-regexp</groupId>
+        <artifactId>jakarta-regexp</artifactId>
+        <version>1.4</version>
+      </dependency>
+      <dependency>
+        <groupId>javax.activation</groupId>
+        <artifactId>activation</artifactId>
+        <version>1.1</version>
+      </dependency>
+      <dependency>
+        <groupId>javax.mail</groupId>
+        <artifactId>mail</artifactId>
+        <version>1.4.1</version>
+      </dependency>
+      <dependency>
+        <groupId>jline</groupId>
+        <artifactId>jline</artifactId>
+        <version>0.9.1</version>
+      </dependency>
+      <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <version>4.10</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.ant</groupId>
+        <artifactId>ant</artifactId>
+        <version>1.7.1</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.ant</groupId>
+        <artifactId>ant-junit</artifactId>
+        <version>1.7.1</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.commons</groupId>
+        <artifactId>commons-compress</artifactId>
+        <version>1.2</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.geronimo.specs</groupId>
+        <artifactId>geronimo-stax-api_1.0_spec</artifactId>
+        <version>1.0.1</version>
+      </dependency>
+      <dependency>
+        <groupId>net.arnx</groupId>
+        <artifactId>jsonic</artifactId>
+        <version>1.2.7</version>
+      </dependency>
+      <dependency>
+        <groupId>com.cybozu.labs</groupId>
+        <artifactId>langdetect</artifactId>
+        <version>1.1-20120112</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.tika</groupId>
+        <artifactId>tika-core</artifactId>
+        <version>${tika.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.tika</groupId>
+        <artifactId>tika-parsers</artifactId>
+        <version>${tika.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.uima</groupId>
+        <artifactId>AlchemyAPIAnnotator</artifactId>
+        <version>2.3.1</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.uima</groupId>
+        <artifactId>OpenCalaisAnnotator</artifactId>
+        <version>2.3.1</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.uima</groupId>
+        <artifactId>Tagger</artifactId>
+        <version>2.3.1</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.uima</groupId>
+        <artifactId>WhitespaceTokenizer</artifactId>
+        <version>2.3.1</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.uima</groupId>
+        <artifactId>uimaj-core</artifactId>
+        <version>2.3.1</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.velocity</groupId>
+        <artifactId>velocity</artifactId>
+        <version>1.6.4</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.velocity</groupId>
+        <artifactId>velocity-tools</artifactId>
+        <version>2.0</version>
+      </dependency>
+      <dependency>
+        <groupId>org.carrot2</groupId>
+        <artifactId>carrot2-core</artifactId>
+        <version>3.5.0.1</version>
+        <exclusions>
+          <exclusion>
+            <artifactId>lucene-highlighter</artifactId>
+            <groupId>org.apache.lucene</groupId>
+          </exclusion>
+          <exclusion>
+            <artifactId>lucene-analyzers</artifactId>
+            <groupId>org.apache.lucene</groupId>
+          </exclusion>
+          <exclusion>
+            <artifactId>lucene-memory</artifactId>
+            <groupId>org.apache.lucene</groupId>
+          </exclusion>
+          <exclusion>
+            <artifactId>rome-fetcher</artifactId>
+            <groupId>net.java.dev.rome</groupId>
+          </exclusion>
+          <exclusion>
+            <artifactId>jdom</artifactId>
+            <groupId>org.jdom</groupId>
+          </exclusion>
+          <exclusion>
+            <artifactId>httpclient</artifactId>
+            <groupId>org.apache.httpcomponents</groupId>
+          </exclusion>
+          <exclusion>
+            <artifactId>rome</artifactId>
+            <groupId>net.java.dev.rome</groupId>
+          </exclusion>
+          <exclusion>
+            <artifactId>lucene-core</artifactId>
+            <groupId>org.apache.lucene</groupId>
+          </exclusion>
+          <exclusion>
+            <artifactId>commons-codec</artifactId>
+            <groupId>commons-codec</groupId>
+          </exclusion>
+          <exclusion>
+            <artifactId>httpmime</artifactId>
+            <groupId>org.apache.httpcomponents</groupId>
+          </exclusion>
+          <exclusion>
+            <artifactId>slf4j-api</artifactId>
+            <groupId>org.slf4j</groupId>
+          </exclusion>
+          <exclusion>
+            <artifactId>guava</artifactId>
+            <groupId>com.google.guava</groupId>
+          </exclusion>
+          <exclusion>
+            <artifactId>commons-lang</artifactId>
+            <groupId>commons-lang</groupId>
+          </exclusion>
+          <exclusion>
+            <artifactId>ehcache-core</artifactId>
+            <groupId>net.sf.ehcache</groupId>
+          </exclusion>
+        </exclusions>
+      </dependency>
+      <dependency>
+        <groupId>org.codehaus.woodstox</groupId>
+        <artifactId>wstx-asl</artifactId>
+        <version>3.2.7</version>
+      </dependency>
+      <dependency>
+        <groupId>org.easymock</groupId>
+        <artifactId>easymock</artifactId>
+        <version>2.2</version>
+      </dependency>
+      <dependency>
+        <groupId>org.mortbay.jetty</groupId>
+        <artifactId>jetty</artifactId>
+        <version>${patched.jetty.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.mortbay.jetty</groupId>
+        <artifactId>jetty-util</artifactId>
+        <version>${patched.jetty.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.mortbay.jetty</groupId>
+        <artifactId>jsp-2.1-glassfish</artifactId>
+        <version>2.1.v20091210</version>
+      </dependency>
+      <dependency>
+        <groupId>org.mortbay.jetty</groupId>
+        <artifactId>jsp-2.1-jetty</artifactId>
+        <version>${jetty.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.mortbay.jetty</groupId>
+        <artifactId>jsp-api-2.1-glassfish</artifactId>
+        <version>2.1.v20091210</version>
+      </dependency>
+      <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>jcl-over-slf4j</artifactId>
+        <version>${slf4j.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>log4j-over-slf4j</artifactId>
+        <version>${slf4j.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>slf4j-api</artifactId>
+        <version>${slf4j.version}</version>
+      </dependency> 
+      <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>slf4j-jdk14</artifactId>
+        <version>${slf4j.version}</version>
+      </dependency> 
+      <dependency>
+        <groupId>org.slf4j</groupId>
+        <artifactId>slf4j-simple</artifactId>
+        <version>${slf4j.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>javax.servlet</groupId>
+        <artifactId>servlet-api</artifactId>
+        <version>2.4</version>
+      </dependency>
+      <dependency>
+        <groupId>xerces</groupId>
+        <artifactId>xercesImpl</artifactId>
+        <version>2.9.1</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+  <build>
+    <directory>lucene/build/lucene-solr-grandparent</directory>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-antrun-plugin</artifactId>
+          <version>1.7</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-clean-plugin</artifactId>
+          <version>2.4.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-compiler-plugin</artifactId>
+          <version>2.3.2</version>
+          <configuration>
+            <source>${java.compat.version}</source>
+            <target>${java.compat.version}</target>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-deploy-plugin</artifactId>
+          <version>2.7</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-enforcer-plugin</artifactId>
+          <version>1.0.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-install-plugin</artifactId>
+          <version>2.3.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-jar-plugin</artifactId>
+          <version>2.3.2</version>
+          <configuration>
+            <archive>
+              <!-- This section should be *exactly* the same under -->
+              <!-- maven-jar-plugin and maven-war-plugin.          -->
+              <!-- If you make changes here, make the same changes -->
+              <!-- in the other location as well.                  -->
+              <manifestEntries>
+                <Extension-Name>${project.groupId}</Extension-Name>
+                <Implementation-Title>${project.groupId}</Implementation-Title>
+                <Specification-Title>${project.name}</Specification-Title>
+                <!-- spec version must match "digit+{.digit+}*" -->
+                <Specification-Version>${base.specification.version}.${now.version}</Specification-Version>
+                <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
+                <!-- impl version can be any string -->
+                <Implementation-Version>${project.version} ${svn.revision} - ${user.name} - ${now.timestamp}</Implementation-Version>
+                <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
+                <X-Compile-Source-JDK>${java.compat.version}</X-Compile-Source-JDK>
+                <X-Compile-Target-JDK>${java.compat.version}</X-Compile-Target-JDK>
+              </manifestEntries>
+            </archive>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-resources-plugin</artifactId>
+          <version>2.5</version>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <version>2.10</version>
+          <configuration>
+            <reportFormat>plain</reportFormat>
+            <workingDirectory>${project.build.directory}/test</workingDirectory>
+            <argLine>-Xmx512M</argLine>
+            <systemPropertyVariables>
+              <!-- See <http://wiki.apache.org/lucene-java/RunningTests>
+                   for a description of the tests.* system properties. -->
+              <tempDir>.</tempDir>
+              <jetty.testMode>1</jetty.testMode>
+              <tests.asserts.gracious>${tests.asserts.gracious}</tests.asserts.gracious>
+              <tests.directory>${tests.directory}</tests.directory>
+              <tests.iter>${tests.iter}</tests.iter>
+              <tests.iter.min>${tests.iter.min}</tests.iter.min>
+              <tests.locale>${tests.locale}</tests.locale>
+              <tests.luceneMatchVersion>${tests.luceneMatchVersion}</tests.luceneMatchVersion>
+              <tests.multiplier>${tests.multiplier}</tests.multiplier>
+              <tests.seed>${tests.seed}</tests.seed>
+              <tests.timezone>${tests.timezone}</tests.timezone>
+              <tests.verbose>${tests.verbose}</tests.verbose>
+            </systemPropertyVariables>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-war-plugin</artifactId>
+          <version>2.1.1</version>
+          <configuration>
+            <archive>
+              <!-- This section should be *exactly* the same under -->
+              <!-- maven-jar-plugin and maven-war-plugin.          -->
+              <!-- If you make changes here, make the same changes -->
+              <!-- in the other location as well.                  -->
+              <manifestEntries>
+                <Extension-Name>${project.groupId}</Extension-Name>
+                <Implementation-Title>${project.groupId}</Implementation-Title>
+                <Specification-Title>${project.name}</Specification-Title>
+                <!-- spec version must match "digit+{.digit+}*" -->
+                <Specification-Version>${base.specification.version}.${now.version}</Specification-Version>
+                <Specification-Vendor>The Apache Software Foundation</Specification-Vendor>
+                <!-- impl version can be any string -->
+                <Implementation-Version>${project.version} ${svn.revision} - ${user.name} - ${now.timestamp}</Implementation-Version>
+                <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor>
+                <X-Compile-Source-JDK>${java.compat.version}</X-Compile-Source-JDK>
+                <X-Compile-Target-JDK>${java.compat.version}</X-Compile-Target-JDK>
+              </manifestEntries>
+            </archive>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>appassembler-maven-plugin</artifactId>
+          <version>1.1.1</version>
+        </plugin>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>build-helper-maven-plugin</artifactId>
+          <version>1.7</version>
+        </plugin>
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>buildnumber-maven-plugin</artifactId>
+          <version>1.0</version>
+        </plugin>
+        <plugin>
+          <groupId>org.mortbay.jetty</groupId>
+          <artifactId>maven-jetty-plugin</artifactId>
+          <version>${jetty.version}</version>
+        </plugin>
+        <plugin>
+          <groupId>org.codehaus.gmaven</groupId>
+          <artifactId>gmaven-plugin</artifactId>
+          <version>1.3</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.gmaven</groupId>
+        <artifactId>gmaven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>generate-timestamps</id>
+            <phase>validate</phase>
+            <goals>
+              <goal>execute</goal>
+            </goals>
+            <configuration>
+              <source>
+                project.properties['now.timestamp'] = "${maven.build.timestamp}"
+                project.properties['now.version'] = ("${maven.build.timestamp}" =~ /[- :]/).replaceAll(".")
+                project.properties['now.year'] = "${maven.build.timestamp}".substring(0, 4)
+              </source>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>buildnumber-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <phase>validate</phase>
+            <goals>
+              <goal>create</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <doCheck>false</doCheck>
+          <doUpdate>false</doUpdate>
+          <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
+          <buildNumberPropertyName>svn.revision</buildNumberPropertyName>
+          <revisionOnScmFailure>NO-REVISION-AVAILABLE</revisionOnScmFailure>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-enforcer-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>enforce-java-compat-version-and-maven-2.2.1</id>
+            <goals>
+              <goal>enforce</goal>
+            </goals>
+            <configuration>
+              <rules>
+                <requireJavaVersion>
+                  <message>Java ${java.compat.version}+ is required.</message>
+                  <version>[${java.compat.version},)</version>
+                </requireJavaVersion>
+                <requireMavenVersion>
+                  <message>Maven 2.2.1+ is required.</message>
+                  <version>[2.2.1,)</version>
+                </requireMavenVersion>
+                <requirePluginVersions/>           
+              </rules>    
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+      
+      <!-- Adding OSGI metadata to the JAR without changing the packaging type. -->
+      <plugin>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <archive>
+            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+          </archive>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <version>2.3.4</version>
+        <configuration>
+          <instructions>
+            <Export-Package>*;-split-package:=merge-first</Export-Package>
+          </instructions>
+        </configuration>
+        <executions>
+          <execution>
+            <id>bundle-manifest</id>
+            <phase>process-classes</phase>
+            <goals>
+              <goal>manifest</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      
+    </plugins>
+  </build>
+  <profiles>
+    <profile>
+      <id>bootstrap</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <!--
+               !  Retrieve the patched jetty and jetty-util jars via ivy.
+               !
+               !  Don't include a property setting for ivy.default.ivy.user.dir unless
+               !  the same-named system property was given on the Maven command line.
+               -->
+              <execution>
+                <id>ivy.default.ivy.user.dir-is-not-set</id>
+                <phase>install</phase>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <configuration>
+                  <target unless="ivy.default.ivy.user.dir">
+                    <ant antfile="solr/example/build.xml" target="resolve" inheritall="false"/>
+                  </target>
+                </configuration>
+              </execution>
+              <execution>
+                <id>ivy.default.ivy.user.dir-is-set</id>
+                <phase>install</phase>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <configuration>
+                  <target if="ivy.default.ivy.user.dir">
+                    <ant antfile="solr/example/build.xml" target="resolve" inheritall="false">
+                      <property name="ivy.default.ivy.user.dir" value="${ivy.default.ivy.user.dir}"/>
+                    </ant>
+                  </target>
+                </configuration>
+              </execution>
+            </executions>
+            <dependencies>
+              <dependency>
+                <groupId>org.apache.ivy</groupId>
+                <artifactId>ivy</artifactId>
+                <version>2.2.0</version>
+              </dependency>
+            </dependencies>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-install-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>install-jetty</id>
+                <phase>install</phase>
+                <goals>
+                  <goal>install-file</goal>
+                </goals>
+                <configuration>
+                  <groupId>org.mortbay.jetty</groupId>
+                  <artifactId>jetty</artifactId>
+                  <version>${patched.jetty.version}</version>
+                  <packaging>jar</packaging>
+                  <file>solr/example/lib/jetty-${patched.jetty.version}.jar</file>
+                </configuration>
+              </execution>
+              <execution>
+                <id>install-jetty-util</id>
+                <phase>install</phase>
+                <goals>
+                  <goal>install-file</goal>
+                </goals>
+                <configuration>
+                  <groupId>org.mortbay.jetty</groupId>
+                  <artifactId>jetty-util</artifactId>
+                  <version>${patched.jetty.version}</version>
+                  <packaging>jar</packaging>
+                  <file>solr/example/lib/jetty-util-${patched.jetty.version}.jar</file>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+</project>
diff --git a/solr-analysis-extras-3.6.2.pom b/solr-analysis-extras-3.6.2.pom
new file mode 100644
index 0000000..74d0624
--- /dev/null
+++ b/solr-analysis-extras-3.6.2.pom
@@ -0,0 +1,103 @@
+<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.solr</groupId>
+    <artifactId>solr-parent</artifactId>
+    <version>3.6.2</version>
+    <relativePath>../../pom.xml</relativePath>
+  </parent>
+  <groupId>org.apache.solr</groupId>
+  <artifactId>solr-analysis-extras</artifactId>
+  <packaging>jar</packaging>
+  <name>Apache Solr Analysis Extras</name>
+  <description>Apache Solr Analysis Extras</description>
+  <properties>
+    <module-directory>solr/contrib/analysis-extras</module-directory>
+    <build-directory>../../build/contrib/solr-analysis-extras</build-directory>
+  </properties>
+  <scm>
+    <connection>
+      scm:svn:http://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/${module-directory}
+    </connection>
+    <developerConnection>
+      scm:svn:https://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/${module-directory}
+    </developerConnection>
+    <url>
+      http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/${module-directory}
+    </url>
+  </scm>
+  <dependencies>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>solr-core</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>solr-test-framework</artifactId>
+      <version>${project.version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-icu</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-smartcn</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-stempel</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+  </dependencies>
+  <build>
+    <directory>${build-directory}</directory>
+    <outputDirectory>${build-directory}/classes/java</outputDirectory>
+    <testOutputDirectory>${build-directory}/classes/test</testOutputDirectory>
+    <sourceDirectory>src/java</sourceDirectory>
+    <testSourceDirectory>src/test</testSourceDirectory>
+    <testResources>
+      <testResource>
+        <directory>src/test-files</directory>
+      </testResource>
+      <testResource>
+        <directory>../../core/src/test-files</directory>
+      </testResource>
+    </testResources>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <systemPropertyVariables>
+            <java.util.logging.config.file>../../../../testlogging.properties</java.util.logging.config.file>
+          </systemPropertyVariables>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+</project>
diff --git a/solr-contrib.pom b/solr-contrib.pom
new file mode 100644
index 0000000..4ee7be1
--- /dev/null
+++ b/solr-contrib.pom
@@ -0,0 +1,19 @@
+<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">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.solr</groupId>
+    <artifactId>solr-parent</artifactId>
+    <version>3.6.2</version>
+    <relativePath>../pom.xml</relativePath>
+  </parent>
+  <groupId>org.apache.solr</groupId>
+  <artifactId>solr-contrib</artifactId>
+  <packaging>pom</packaging>
+  <name>Apache Solr Contrib parent POM</name>
+  <description>Apache Solr Contrib parent POM</description>
+  <modules>
+    <module>analysis-extras</module>
+  </modules>
+</project>
diff --git a/solr-core-3.6.2.pom b/solr-core-3.6.2.pom
new file mode 100644
index 0000000..8b67309
--- /dev/null
+++ b/solr-core-3.6.2.pom
@@ -0,0 +1,268 @@
+<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.solr</groupId>
+    <artifactId>solr-parent</artifactId>
+    <version>3.6.2</version>
+    <relativePath>../pom.xml</relativePath>
+  </parent>
+  <groupId>org.apache.solr</groupId>
+  <artifactId>solr-core</artifactId>
+  <packaging>jar</packaging>
+  <name>Apache Solr Core</name>
+  <description>Apache Solr Core</description>
+  <properties>
+    <module-directory>solr/core</module-directory>
+    <build-directory>../build/solr-maven</build-directory>
+  </properties>
+  <scm>
+    <connection>
+      scm:svn:http://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/${module-directory}
+    </connection>
+    <developerConnection>
+      scm:svn:https://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/${module-directory}
+    </developerConnection>
+    <url>
+      http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/${module-directory}
+    </url>
+  </scm>
+  <dependencies>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>solr-solrj</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-core</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-analyzers</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-highlighter</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-kuromoji</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-memory</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-misc</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-phonetic</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-queries</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-spatial</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-spellchecker</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-grouping</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>commons-codec</groupId>
+      <artifactId>commons-codec</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>commons-fileupload</groupId>
+      <artifactId>commons-fileupload</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>jcl-over-slf4j</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>commons-io</groupId>
+      <artifactId>commons-io</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>commons-lang</groupId>
+      <artifactId>commons-lang</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>com.google.guava</groupId>
+      <artifactId>guava</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.mortbay.jetty</groupId>
+      <artifactId>jetty</artifactId>
+      <optional>true</optional> <!-- Only used for tests and one command-line utility: JettySolrRunner -->
+    </dependency>
+    <dependency>
+      <groupId>org.mortbay.jetty</groupId>
+      <artifactId>jetty-util</artifactId>
+      <optional>true</optional> <!-- Only used for tests and one command-line utility: JettySolrRunner -->
+    </dependency>
+    <dependency>
+      <groupId>org.mortbay.jetty</groupId>
+      <artifactId>jsp-2.1-jetty</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>javax.servlet</groupId>
+      <artifactId>servlet-api</artifactId>
+      <!-- compile scope; solr-core is a jar not a war -->
+    </dependency>
+    <dependency>
+      <groupId>org.easymock</groupId>
+      <artifactId>easymock</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <!-- This is a test scope dependency because solrj declares it as an optional dependency -->
+      <groupId>org.apache.httpcomponents</groupId>
+      <artifactId>httpclient</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>commons-logging</groupId>
+          <artifactId>commons-logging</artifactId>
+        </exclusion>
+      </exclusions>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <!-- This is a test scope dependency because solrj declares it as an optional dependency -->
+      <groupId>org.apache.httpcomponents</groupId>
+      <artifactId>httpmime</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>src/test-files</directory>
+      </testResource>
+      <testResource>
+        <directory>../solrj/src/test-files</directory>
+      </testResource>
+    </testResources>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <systemPropertyVariables>
+            <java.util.logging.config.file>../../../testlogging.properties</java.util.logging.config.file>
+          </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.solr.client.solrj.embedded.JettySolrRunner</mainClass>
+              <name>JettySolrRunner</name>
+            </program>
+            <program>
+              <mainClass>org.apache.solr.util.BitSetPerf</mainClass>
+              <name>BitSetPerf</name>
+              <extraJvmArguments>-Xms128m -Xbatch</extraJvmArguments>
+            </program>
+            <program>
+              <mainClass>org.apache.solr.util.SimplePostTool</mainClass>
+              <name>SimplePostTool</name>
+            </program>
+            <program>
+              <mainClass>org.apache.solr.util.SuggestMissingFactories</mainClass>
+              <name>SuggestMissingFactories</name>
+            </program>
+          </programs>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>add-test-source</id>
+            <phase>generate-test-sources</phase>
+            <goals>
+              <goal>add-test-source</goal>
+            </goals>
+            <configuration>
+              <sources>
+                <source>../test-framework/src/java</source>
+                <source>../solrj/src/test</source>  <!-- solrj tests are run from solr-core -->
+              </sources>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+  <profiles>
+    <profile>
+      <id>jdk15</id>
+      <activation>
+        <jdk>1.5</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.geronimo.specs</groupId>
+          <artifactId>geronimo-stax-api_1.0_spec</artifactId>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
+</project>
diff --git a/solr-parent-3.6.2.pom b/solr-parent-3.6.2.pom
new file mode 100644
index 0000000..9406422
--- /dev/null
+++ b/solr-parent-3.6.2.pom
@@ -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-solr-grandparent</artifactId>
+    <version>3.6.2</version>
+    <relativePath>../pom.xml</relativePath>
+  </parent>
+  <groupId>org.apache.solr</groupId>
+  <artifactId>solr-parent</artifactId>
+  <packaging>pom</packaging>
+  <name>Apache Solr parent POM</name>
+  <description>Apache Solr parent POM</description>
+  <modules>
+    <module>core</module>
+    <module>solrj</module>
+    <module>webapp</module>
+    <module>test-framework</module>
+    <module>contrib</module>
+  </modules>
+  <properties>
+    <tests.luceneMatchVersion>LUCENE_CURRENT</tests.luceneMatchVersion>
+    <module-directory>solr</module-directory>
+  </properties>
+  <scm>
+    <connection>
+      scm:svn:http://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/${module-directory}
+    </connection>
+    <developerConnection>
+      scm:svn:https://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/${module-directory}
+    </developerConnection>
+    <url>
+      http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/${module-directory}
+    </url>
+  </scm>
+  <issueManagement>
+    <system>JIRA</system>
+    <url>http://issues.apache.org/jira/browse/SOLR</url>
+  </issueManagement>
+  <ciManagement>
+    <system>Hudson</system>
+    <url>
+      http://lucene.zones.apache.org:8080/hudson/job/Solr-Nightly/
+    </url>
+  </ciManagement>
+  <mailingLists>
+    <mailingList>
+      <name>Solr User List</name>
+      <subscribe>solr-user-subscribe at lucene.apache.org</subscribe>
+      <unsubscribe>solr-user-unsubscribe at lucene.apache.org</unsubscribe>
+      <archive>
+        http://mail-archives.apache.org/mod_mbox/solr-user/
+      </archive>
+    </mailingList>
+    <mailingList>
+      <name>Java Developer List</name>
+      <subscribe>dev-subscribe at lucene.apache.org</subscribe>
+      <unsubscribe>dev-unsubscribe at lucene.apache.org</unsubscribe>
+      <archive>http://mail-archives.apache.org/mod_mbox/lucene-dev/</archive>
+    </mailingList>
+    <mailingList>
+      <name>Java Commits List</name>
+      <subscribe>commits-subscribe at lucene.apache.org</subscribe>
+      <unsubscribe>commits-unsubscribe at lucene.apache.org</unsubscribe>
+      <archive>
+        http://mail-archives.apache.org/mod_mbox/lucene-java-commits/
+      </archive>
+    </mailingList>
+  </mailingLists>
+  <inceptionYear>2006</inceptionYear>
+  <dependencies>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-api</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.lucene</groupId>
+      <artifactId>lucene-test-framework</artifactId>
+      <version>${project.version}</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>slf4j-jdk14</artifactId>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+  <build>
+    <directory>build/solr-parent</directory>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-javadoc-plugin</artifactId>
+          <configuration>
+            <overview/>
+            <windowtitle>${project.name} ${project.version} API (${now.version})</windowtitle>
+            <doctitle>${project.name} ${project.version} API (${now.version})</doctitle>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+</project>
diff --git a/solr-solrj-3.6.2.pom b/solr-solrj-3.6.2.pom
new file mode 100644
index 0000000..c501aec
--- /dev/null
+++ b/solr-solrj-3.6.2.pom
@@ -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.solr</groupId>
+    <artifactId>solr-parent</artifactId>
+    <version>3.6.2</version>
+    <relativePath>../pom.xml</relativePath>
+  </parent>
+  <groupId>org.apache.solr</groupId>
+  <artifactId>solr-solrj</artifactId>
+  <packaging>jar</packaging>
+  <name>Apache Solr Solrj</name>
+  <description>Apache Solr Solrj</description>
+  <properties>
+    <module-directory>solr/solrj</module-directory>
+    <build-directory>../build/solr-solrj</build-directory>
+  </properties>
+  <scm>
+    <connection>
+      scm:svn:http://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/${module-directory}
+    </connection>
+    <developerConnection>
+      scm:svn:https://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/${module-directory}
+    </developerConnection>
+    <url>
+      http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/${module-directory}
+    </url>
+  </scm>
+  <dependencies>
+    <dependency>
+      <groupId>commons-httpclient</groupId>
+      <artifactId>commons-httpclient</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>commons-io</groupId>
+      <artifactId>commons-io</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.httpcomponents</groupId>
+      <artifactId>httpclient</artifactId>
+      <!-- HttpSolrServer requires this dependency. -->
+      <optional>true</optional>
+      <exclusions>
+        <exclusion>
+          <groupId>commons-logging</groupId>
+          <artifactId>commons-logging</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.httpcomponents</groupId>
+      <artifactId>httpmime</artifactId>
+      <!-- HttpSolrServer requires this dependency. -->
+      <optional>true</optional>
+    </dependency>
+    <!-- Technically, this is optional in SolrJ; but it's fast. SOLR-2852 -->
+    <dependency>
+      <groupId>org.codehaus.woodstox</groupId>
+      <artifactId>wstx-asl</artifactId>
+      <scope>runtime</scope>
+      <exclusions>
+        <exclusion>
+          <groupId>stax</groupId>
+          <artifactId>stax-api</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+    <dependency>
+      <groupId>org.slf4j</groupId>
+      <artifactId>jcl-over-slf4j</artifactId>
+    </dependency>
+  </dependencies>
+  <build>
+    <directory>${build-directory}</directory>
+    <outputDirectory>${build-directory}/classes/java</outputDirectory>
+    <testOutputDirectory>${build-directory}/classes/test</testOutputDirectory>
+    <sourceDirectory>src/java</sourceDirectory>
+    <testSourceDirectory/>
+    <testResources/>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <skipTests>true</skipTests> <!-- Tests are run from solr-core module -->
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  <profiles>
+    <profile>
+      <id>jdk15</id>
+      <activation>
+        <jdk>1.5</jdk>
+      </activation>
+      <dependencies>
+        <dependency>
+          <groupId>org.apache.geronimo.specs</groupId>
+          <artifactId>geronimo-stax-api_1.0_spec</artifactId>
+        </dependency>
+      </dependencies>
+    </profile>
+  </profiles>
+</project>
diff --git a/solr3.spec b/solr3.spec
new file mode 100644
index 0000000..986e4bd
--- /dev/null
+++ b/solr3.spec
@@ -0,0 +1,138 @@
+Name:             solr3
+Version:          3.6.2
+Release:          5%{?dist}
+Summary:          Apache Solr
+License:          ASL 2.0
+Url:              http://lucene.apache.org/solr/
+
+# wget http://archive.apache.org/dist/lucene/solr/3.6.2/apache-solr-3.6.2-src.tgz
+# tar -xf apache-solr-3.6.2-src.tgz apache-solr-3.6.2/solr/
+# rm -rf apache-solr-3.6.2/solr/lib 
+# find apache-solr-3.6.2/solr/ -name "*.jar" -delete
+# find apache-solr-3.6.2/solr/ -name "*.class" -delete
+# tar -cvjf apache-solr-3.6.2.tar.gz apache-solr-3.6.2/solr/
+Source0:          apache-solr-%{version}.tar.gz
+
+Source1:          https://repository.jboss.org/nexus/service/local/repositories/central/content/org/apache/lucene/lucene-solr-grandparent/%{version}/lucene-solr-grandparent-%{version}.pom
+Source2:          https://repository.jboss.org/nexus/service/local/repositories/central/content/org/apache/solr/solr-parent/%{version}/solr-parent-%{version}.pom
+Source3:          https://repository.jboss.org/nexus/service/local/repositories/central/content/org/apache/solr/solr-core/%{version}/solr-core-%{version}.pom
+Source4:          https://repository.jboss.org/nexus/service/local/repositories/central/content/org/apache/solr/solr-solrj/%{version}/solr-solrj-%{version}.pom
+
+Source10:         https://repository.jboss.org/nexus/service/local/repositories/central/content/org/apache/solr/solr-analysis-extras/%{version}/solr-analysis-extras-%{version}.pom
+
+Source20:         solr-contrib.pom
+
+BuildRequires:    lucene
+BuildRequires:    lucene-contrib
+BuildRequires:    maven-local
+BuildRequires:    maven-plugin-build-helper
+BuildRequires:    woodstox-core
+BuildRequires:    apache-commons-fileupload
+BuildRequires:    icu4j
+# tmp, see below
+BuildRequires:    xmlstarlet
+
+BuildArch:        noarch
+
+%description
+Solr is the popular, blazing fast open source enterprise search platform from
+the Apache LuceneTM project. Its major features include powerful full-text
+search, hit highlighting, faceted search, near real-time indexing, dynamic
+clustering, database integration, rich document (e.g., Word, PDF) handling, and
+geospatial search. Solr is highly reliable, scalable and fault tolerant,
+providing distributed indexing, replication and load-balanced querying,
+automated failover and recovery, centralized configuration and more. Solr
+powers the search and navigation features of many of the world's largest
+internet sites.
+
+%package javadoc
+Summary:          Javadocs for %{name}
+
+%description javadoc
+This package contains the API documentation for %{name}.
+
+%prep
+# Unpack manually only the solr directory
+tar -xf %{SOURCE0} apache-solr-%{version}/solr
+
+%setup -D -T -n apache-solr-%{version}
+
+mkdir parent
+mv solr/* .
+rm -rf solr
+
+cp %{SOURCE1} parent/pom.xml
+
+# Gmaven is retired
+%pom_remove_plugin ":gmaven-plugin" parent/pom.xml
+
+cp %{SOURCE2} pom.xml
+
+# Make sure the relative path is valid
+sed -i "s|../pom.xml|parent/pom.xml|" pom.xml
+
+# Disable test deps
+%pom_xpath_remove "pom:dependencies/pom:dependency[pom:scope = 'test']"
+
+# Disable modules
+%pom_disable_module webapp
+%pom_disable_module test-framework
+
+# Copy POMs
+cp %{SOURCE3} core/pom.xml
+cp %{SOURCE4} solrj/pom.xml
+cp %{SOURCE10} contrib/analysis-extras/pom.xml
+cp %{SOURCE20} contrib/pom.xml
+
+%pom_xpath_remove "pom:build/pom:directory" pom.xml
+%pom_xpath_remove "pom:build/pom:directory" parent/pom.xml
+
+for m in core contrib/analysis-extras solrj; do
+%pom_xpath_remove "pom:build/pom:directory" ${m}/pom.xml
+%pom_xpath_remove "pom:build/pom:outputDirectory" ${m}/pom.xml
+done
+
+# Remove Jetty support
+%pom_remove_dep "org.mortbay.jetty:" core/pom.xml
+rm core/src/java/org/apache/solr/client/solrj/embedded/JettySolrRunner.java
+
+# Use proper woodstox aid
+sed -i "s|wstx-asl|woodstox-core-asl|" solrj/pom.xml
+
+%build
+%mvn_compat_version : %{version} 3
+%mvn_build -f
+
+%install
+%mvn_install
+
+# Worakround for https://bugzilla.redhat.com/show_bug.cgi?id=1019670
+for aid in solr-core solr-solrj; do
+  xmlstarlet ed -L -s "dependencyMap/autoRequires[artifactId = '${aid}']" -t elem -n version -v %{version} %{buildroot}%{_mavendepmapfragdir}/solr3.xml
+done
+
+%files -f .mfiles
+%dir %{_javadir}/%{name}
+%doc LICENSE.txt README.txt
+
+%files javadoc -f .mfiles-javadoc
+%doc LICENSE.txt
+
+%changelog
+* Thu Oct 17 2013 Marek Goldmann <mgoldman at redhat.com> - 3.6.2-5
+- Added missing question mark to dist tag
+- Removing unnecessary files from tarball at the creation time
+
+* Wed Oct 16 2013 Marek Goldmann <mgoldman at redhat.com> - 3.6.2-4
+- Now using pom macros to do the changes
+- Slim down the src distribution
+
+* Wed Oct 16 2013 Marek Goldmann <mgoldman at redhat.com> - 3.6.2-3
+- Fix the self-requires issue, RHBZ#1019670
+
+* Tue Oct 15 2013 Marek Goldmann <mgoldman at redhat.com> - 3.6.2-2
+- Make this a compat package
+
+* Wed Oct 09 2013 Marek Goldmann <mgoldman at redhat.com> - 3.6.2-1
+- Initial import
+
diff --git a/sources b/sources
index e69de29..007f691 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6138be5b10db13e6c27f0a91456379b5  apache-solr-3.6.2.tar.gz


More information about the scm-commits mailing list