You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2012/03/30 00:03:20 UTC
svn commit: r1307140 - in /lucene/dev/branches/branch_3x: dev-tools/eclipse/
dev-tools/maven/ dev-tools/maven/solr/contrib/clustering/ solr/
solr/contrib/clustering/ solr/contrib/clustering/lib/
Author: sarowe
Date: Thu Mar 29 22:03:19 2012
New Revision: 1307140
URL: http://svn.apache.org/viewvc?rev=1307140&view=rev
Log:
SOLR-3294: In contrib/clustering/lib/, replaced the manually retrowoven Java 1.5-compatible carrot2-core-3.5.0.jar (which is not publicly available, except from the Solr Subversion repository), with newly released Java 1.5-compatible carrot2-core-3.5.0.1.jar (hosted on the Maven Central repository). Also updated dependencies jackson-core-asl and jackson-mapper-asl (both v1.5.2 -> v1.7.4).
Added:
lucene/dev/branches/branch_3x/solr/contrib/clustering/lib/carrot2-core-3.5.0.1.jar (with props)
lucene/dev/branches/branch_3x/solr/contrib/clustering/lib/jackson-core-asl-1.7.4.jar (with props)
lucene/dev/branches/branch_3x/solr/contrib/clustering/lib/jackson-mapper-asl-1.7.4.jar (with props)
Removed:
lucene/dev/branches/branch_3x/solr/contrib/clustering/lib/carrot2-core-3.5.0.jar
lucene/dev/branches/branch_3x/solr/contrib/clustering/lib/jackson-core-asl-1.5.2.jar
lucene/dev/branches/branch_3x/solr/contrib/clustering/lib/jackson-mapper-asl-1.5.2.jar
lucene/dev/branches/branch_3x/solr/contrib/clustering/lib/solr-carrot2-core-pom.xml.template
Modified:
lucene/dev/branches/branch_3x/dev-tools/eclipse/dot.classpath
lucene/dev/branches/branch_3x/dev-tools/maven/pom.xml.template
lucene/dev/branches/branch_3x/dev-tools/maven/solr/contrib/clustering/pom.xml.template
lucene/dev/branches/branch_3x/solr/CHANGES.txt
lucene/dev/branches/branch_3x/solr/contrib/clustering/build.xml
Modified: lucene/dev/branches/branch_3x/dev-tools/eclipse/dot.classpath
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/dev-tools/eclipse/dot.classpath?rev=1307140&r1=1307139&r2=1307140&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/dev-tools/eclipse/dot.classpath (original)
+++ lucene/dev/branches/branch_3x/dev-tools/eclipse/dot.classpath Thu Mar 29 22:03:19 2012
@@ -119,10 +119,10 @@
<classpathentry kind="lib" path="solr/example/lib/jsp-2.1/jsp-2.1-glassfish-2.1.v20091210.jar"/>
<classpathentry kind="lib" path="solr/example/lib/jsp-2.1/jsp-2.1-jetty-6.1.26.jar"/>
<classpathentry kind="lib" path="solr/example/lib/jsp-2.1/jsp-api-2.1-glassfish-2.1.v20091210.jar"/>
- <classpathentry kind="lib" path="solr/contrib/clustering/lib/carrot2-core-3.5.0.jar"/>
+ <classpathentry kind="lib" path="solr/contrib/clustering/lib/carrot2-core-3.5.0.1.jar"/>
<classpathentry kind="lib" path="solr/contrib/clustering/lib/hppc-0.3.4-jdk15.jar"/>
- <classpathentry kind="lib" path="solr/contrib/clustering/lib/jackson-core-asl-1.5.2.jar"/>
- <classpathentry kind="lib" path="solr/contrib/clustering/lib/jackson-mapper-asl-1.5.2.jar"/>
+ <classpathentry kind="lib" path="solr/contrib/clustering/lib/jackson-core-asl-1.7.4.jar"/>
+ <classpathentry kind="lib" path="solr/contrib/clustering/lib/jackson-mapper-asl-1.7.4.jar"/>
<classpathentry kind="lib" path="solr/contrib/clustering/lib/mahout-collections-0.3.jar"/>
<classpathentry kind="lib" path="solr/contrib/clustering/lib/mahout-math-0.3.jar"/>
<classpathentry kind="lib" path="solr/contrib/clustering/lib/simple-xml-2.4.1.jar"/>
Modified: lucene/dev/branches/branch_3x/dev-tools/maven/pom.xml.template
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/dev-tools/maven/pom.xml.template?rev=1307140&r1=1307139&r2=1307140&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/dev-tools/maven/pom.xml.template (original)
+++ lucene/dev/branches/branch_3x/dev-tools/maven/pom.xml.template Thu Mar 29 22:03:19 2012
@@ -286,9 +286,67 @@
<version>2.0</version>
</dependency>
<dependency>
- <groupId>org.apache.solr</groupId>
- <artifactId>solr-carrot2-core</artifactId>
- <version>${project.version}</version>
+ <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>
@@ -606,33 +664,6 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>filter-carrot2-core-pom</id>
- <phase>process-resources</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <resources>
- <resource> <!-- Filter carrot2-core POM, for local install -->
- <directory>solr/contrib/clustering/lib</directory>
- <includes>
- <include>*pom.xml.template</include>
- </includes>
- <filtering>true</filtering>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- <configuration>
- <outputDirectory>${project.build.directory}</outputDirectory>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<executions>
<execution>
@@ -678,23 +709,6 @@
</configuration>
</execution>
<execution>
- <!-- In order to be able to compile with Java5, we need to -->
- <!-- use the org.carrot2:carrot2-core .jar compiled with -->
- <!-- Java5 in solr/contrib/clustering/lib/ - the .jar in -->
- <!-- the central Maven repository was compiled with Java6. -->
- <!-- The version in the carrot2-core POM file is filtered -->
- <!-- so that the version is the same as this project's. -->
- <id>install-java5-carrot2-core</id>
- <phase>install</phase>
- <goals>
- <goal>install-file</goal>
- </goals>
- <configuration>
- <file>solr/contrib/clustering/lib/carrot2-core-3.5.0.jar</file>
- <pomFile>lucene/build/lucene-solr-grandparent/solr-carrot2-core-pom.xml.template</pomFile>
- </configuration>
- </execution>
- <execution>
<id>install-jetty</id>
<phase>install</phase>
<goals>
Modified: lucene/dev/branches/branch_3x/dev-tools/maven/solr/contrib/clustering/pom.xml.template
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/dev-tools/maven/solr/contrib/clustering/pom.xml.template?rev=1307140&r1=1307139&r2=1307140&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/dev-tools/maven/solr/contrib/clustering/pom.xml.template (original)
+++ lucene/dev/branches/branch_3x/dev-tools/maven/solr/contrib/clustering/pom.xml.template Thu Mar 29 22:03:19 2012
@@ -59,30 +59,8 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>solr-carrot2-core</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-core</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-analyzers</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-highlighter</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-snowball</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-smartcn</artifactId>
- </exclusion>
- </exclusions>
+ <groupId>org.carrot2</groupId>
+ <artifactId>carrot2-core</artifactId>
</dependency>
<dependency>
<groupId>org.mortbay.jetty</groupId>
Modified: lucene/dev/branches/branch_3x/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/CHANGES.txt?rev=1307140&r1=1307139&r2=1307140&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/solr/CHANGES.txt (original)
+++ lucene/dev/branches/branch_3x/solr/CHANGES.txt Thu Mar 29 22:03:19 2012
@@ -352,6 +352,13 @@ Other Changes
the effect of NOT specifying <indexConfig> at all gives same result as the
example config used to give in 3.5 (janhoy, gsingers)
+* SOLR-3294: In contrib/clustering/lib/, replaced the manually retrowoven
+ Java 1.5-compatible carrot2-core-3.5.0.jar (which is not publicly available,
+ except from the Solr Subversion repository), with newly released Java
+ 1.5-compatible carrot2-core-3.5.0.1.jar (hosted on the Maven Central
+ repository). Also updated dependencies jackson-core-asl and
+ jackson-mapper-asl (both v1.5.2 -> v1.7.4). (Dawid Weiss, Steve Rowe)
+
Build
----------------------
* SOLR-2487: Add build target to package war without slf4j jars (janhoy)
Modified: lucene/dev/branches/branch_3x/solr/contrib/clustering/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/contrib/clustering/build.xml?rev=1307140&r1=1307139&r2=1307140&view=diff
==============================================================================
--- lucene/dev/branches/branch_3x/solr/contrib/clustering/build.xml (original)
+++ lucene/dev/branches/branch_3x/solr/contrib/clustering/build.xml Thu Mar 29 22:03:19 2012
@@ -25,9 +25,4 @@
<import file="../contrib-build.xml"/>
- <dirname file="${ant.file}" property="antfile.dir"/>
- <target name="dist-maven" depends="common.dist-maven">
- <m2-deploy-with-pom-template pom.xml="${antfile.dir}/lib/solr-carrot2-core-pom.xml.template"
- jar.file="${antfile.dir}/lib/carrot2-core-3.5.0.jar" />
- </target>
</project>
Added: lucene/dev/branches/branch_3x/solr/contrib/clustering/lib/carrot2-core-3.5.0.1.jar
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/contrib/clustering/lib/carrot2-core-3.5.0.1.jar?rev=1307140&view=auto
==============================================================================
Binary file - no diff available.
Added: lucene/dev/branches/branch_3x/solr/contrib/clustering/lib/jackson-core-asl-1.7.4.jar
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/contrib/clustering/lib/jackson-core-asl-1.7.4.jar?rev=1307140&view=auto
==============================================================================
Binary file - no diff available.
Added: lucene/dev/branches/branch_3x/solr/contrib/clustering/lib/jackson-mapper-asl-1.7.4.jar
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_3x/solr/contrib/clustering/lib/jackson-mapper-asl-1.7.4.jar?rev=1307140&view=auto
==============================================================================
Binary file - no diff available.