SOLR-5286: Remove vestigial Chinese and Polish analysis jars from the analysis-extras contrib configuration

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527168 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Rowe 2013-09-28 08:56:20 +00:00
parent 1a740cad06
commit f20c9a19d7
5 changed files with 7 additions and 27 deletions

View File

@ -67,16 +67,6 @@
<artifactId>lucene-analyzers-icu</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-analyzers-smartcn</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-analyzers-stempel</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<!-- SOLR-3263: Test scope dep is required to avoid jar signing conflicts -->
<groupId>javax.servlet</groupId>

View File

@ -343,6 +343,9 @@ Other Changes
dependencies as indirect compile-time dependencies.
(Chris Collins, Steve Rowe)
* SOLR-5286: Remove vestigial Chinese and Polish analysis jars from the
analysis-extras contrib configuration. (Steve Rowe)
================== 4.4.0 ==================
Versions of Major Components

View File

@ -1,19 +1,13 @@
The analysis-extras plugin provides additional analyzers that rely
upon large dependencies/dictionaries.
It includes integration with ICU for multilingual support, and
analyzers for Chinese and Polish.
It includes integration with ICU for multilingual support.
Relies upon the following lucene components (in lucene-libs/):
Relies upon the following lucene component (in lucene-libs/):
* lucene-analyzers-icu-X.Y.jar
* lucene-analyzers-smartcn-X.Y.jar
* lucene-analyzers-stempel-X.Y.jar
* lucene-analyzers-morfologik-X.Y.jar
* lucene-analyzers-smartcn-X.Y.jar
And the following third-party library (in lib/):
* icu4j-X.Y.jar
* morfologik-*.jar

View File

@ -27,9 +27,6 @@
<path id="analysis.extras.lucene.libs">
<pathelement location="${analyzers-icu.jar}"/>
<pathelement location="${analyzers-smartcn.jar}"/>
<pathelement location="${analyzers-stempel.jar}"/>
<pathelement location="${analyzers-morfologik.jar}"/>
</path>
<path id="classpath">
@ -38,14 +35,13 @@
<path refid="solr.base.classpath"/>
</path>
<target name="module-jars-to-solr"
depends="jar-analyzers-icu, jar-analyzers-smartcn, jar-analyzers-stempel, jar-analyzers-morfologik">
<target name="module-jars-to-solr" depends="jar-analyzers-icu">
<mkdir dir="${build.dir}/lucene-libs"/>
<copy todir="${build.dir}/lucene-libs" preservelastmodified="true" flatten="true" failonerror="true" overwrite="true">
<path refid="analysis.extras.lucene.libs" />
</copy>
</target>
<target name="compile-core" depends="jar-analyzers-icu, jar-analyzers-smartcn, jar-analyzers-stempel, jar-analyzers-morfologik, solr-contrib-build.compile-core"/>
<target name="compile-core" depends="jar-analyzers-icu, solr-contrib-build.compile-core"/>
<target name="dist" depends="module-jars-to-solr, common-solr.dist"/>
</project>

View File

@ -20,9 +20,6 @@
<info organisation="org.apache.solr" module="analysis-extras"/>
<dependencies>
<dependency org="com.ibm.icu" name="icu4j" rev="49.1" transitive="false"/>
<dependency org="org.carrot2" name="morfologik-polish" rev="1.7.1" transitive="false"/>
<dependency org="org.carrot2" name="morfologik-fsa" rev="1.7.1" transitive="false"/>
<dependency org="org.carrot2" name="morfologik-stemming" rev="1.7.1" transitive="false"/>
<exclude org="*" ext="*" matcher="regexp" type="${ivy.exclude.types}"/>
</dependencies>
</ivy-module>