From 7180bb3cb92a26885333a6ad6525a9d635138f7b Mon Sep 17 00:00:00 2001 From: Steven Rowe Date: Fri, 11 Mar 2011 04:32:14 +0000 Subject: [PATCH] LUCENE-2957: generate-maven-artifacts target should include all non-Mavenized Lucene & Solr dependencies git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1080443 13f79535-47bb-0310-9956-ffa450edef68 --- .../modules/analysis/icu/pom.xml.template | 4 +- .../maven/modules/benchmark/pom.xml.template | 4 +- dev-tools/maven/pom.xml.template | 67 +++++++++---------- .../src/extras/pom.xml.template | 4 +- .../solr/contrib/extraction/pom.xml.template | 8 +-- .../maven/solr/contrib/uima/pom.xml.template | 10 +-- dev-tools/maven/solr/src/pom.xml.template | 2 + .../maven/solr/src/webapp/pom.xml.template | 8 --- lucene/common-build.xml | 23 ++++++- modules/analysis/icu/build.xml | 5 ++ .../icu/lib/lucene-icu4j-pom.xml.template | 36 ++++++++++ modules/benchmark/build.xml | 5 +- .../lib/lucene-xercesImpl-pom.xml.template | 36 ++++++++++ solr/build.xml | 26 ++++++- .../lib/solr-uima-an-alchemy-pom.xml.template | 36 ++++++++++ .../lib/solr-uima-an-calais-pom.xml.template | 36 ++++++++++ .../lib/solr-uima-an-tagger-pom.xml.template | 36 ++++++++++ .../lib/solr-uima-an-wst-pom.xml.template | 36 ++++++++++ .../uima/lib/solr-uima-core-pom.xml.template | 36 ++++++++++ solr/lib/apache-solr-noggit-pom.xml.template | 2 +- solr/lib/solr-commons-csv-pom.xml.template | 2 +- 21 files changed, 358 insertions(+), 64 deletions(-) create mode 100644 modules/analysis/icu/lib/lucene-icu4j-pom.xml.template create mode 100644 modules/benchmark/lib/lucene-xercesImpl-pom.xml.template create mode 100644 solr/contrib/uima/lib/solr-uima-an-alchemy-pom.xml.template create mode 100644 solr/contrib/uima/lib/solr-uima-an-calais-pom.xml.template create mode 100644 solr/contrib/uima/lib/solr-uima-an-tagger-pom.xml.template create mode 100644 solr/contrib/uima/lib/solr-uima-an-wst-pom.xml.template create mode 100644 solr/contrib/uima/lib/solr-uima-core-pom.xml.template diff --git a/dev-tools/maven/modules/analysis/icu/pom.xml.template b/dev-tools/maven/modules/analysis/icu/pom.xml.template index 363364c88b6..9cd86512cca 100644 --- a/dev-tools/maven/modules/analysis/icu/pom.xml.template +++ b/dev-tools/maven/modules/analysis/icu/pom.xml.template @@ -71,8 +71,8 @@ test - com.ibm.icu - icu4j + org.apache.lucene + lucene-icu4j junit diff --git a/dev-tools/maven/modules/benchmark/pom.xml.template b/dev-tools/maven/modules/benchmark/pom.xml.template index 689d8d0b490..78c21379bc6 100755 --- a/dev-tools/maven/modules/benchmark/pom.xml.template +++ b/dev-tools/maven/modules/benchmark/pom.xml.template @@ -84,8 +84,8 @@ commons-logging - xerces - xercesImpl + org.apache.lucene + lucene-xercesImpl junit diff --git a/dev-tools/maven/pom.xml.template b/dev-tools/maven/pom.xml.template index f71afec7ce8..68232d4fcd0 100644 --- a/dev-tools/maven/pom.xml.template +++ b/dev-tools/maven/pom.xml.template @@ -45,7 +45,6 @@ 6.1.26-patched-JETTY-1340 1.6.1 0.8 - ${project.version} JIRA @@ -129,9 +128,9 @@ - com.ibm.icu - icu4j - 4.6 + org.apache.lucene + lucene-icu4j + ${project.version} com.sleepycat @@ -260,28 +259,28 @@ org.apache.solr - uima-alchemy-annotator - ${uima.version} + solr-uima-alchemy-annotator + ${project.version} org.apache.solr - uima-OpenCalaisAnnotator - ${uima.version} + solr-uima-OpenCalaisAnnotator + ${project.version} org.apache.solr - uima-Tagger - ${uima.version} + solr-uima-Tagger + ${project.version} org.apache.solr - uima-WhitespaceTokenizer - ${uima.version} + solr-uima-WhitespaceTokenizer + ${project.version} org.apache.solr - uima-uimaj-core - ${uima.version} + solr-uima-core + ${project.version} org.apache.velocity @@ -364,9 +363,9 @@ ${slf4j.version} - xerces - xercesImpl - 2.9.1-patched-XERCESJ-1257 + org.apache.lucene + lucene-xercesImpl + ${project.version} javax.servlet @@ -621,9 +620,9 @@ install-file - com.ibm.icu - icu4j - 4.6 + org.apache.lucene + lucene-icu4j + ${project.version} jar modules/analysis/icu/lib/icu4j-4_6.jar @@ -635,9 +634,9 @@ install-file - xerces - xercesImpl - 2.9.1-patched-XERCESJ-1257 + org.apache.lucene + lucene-xercesImpl + ${project.version} jar modules/benchmark/lib/xercesImpl-2.9.1-patched-XERCESJ-1257.jar @@ -706,8 +705,8 @@ org.apache.solr - uima-alchemy-annotator - ${uima.version} + solr-uima-alchemy-annotator + ${project.version} jar solr/contrib/uima/lib/uima-an-alchemy.jar @@ -720,8 +719,8 @@ org.apache.solr - uima-OpenCalaisAnnotator - ${uima.version} + solr-uima-OpenCalaisAnnotator + ${project.version} jar solr/contrib/uima/lib/uima-an-calais.jar @@ -734,8 +733,8 @@ org.apache.solr - uima-Tagger - ${uima.version} + solr-uima-Tagger + ${project.version} jar solr/contrib/uima/lib/uima-an-tagger.jar @@ -748,22 +747,22 @@ org.apache.solr - uima-WhitespaceTokenizer - ${uima.version} + solr-uima-WhitespaceTokenizer + ${project.version} jar solr/contrib/uima/lib/uima-an-wst.jar - install-solr-uima-uimaj-core + install-solr-uima-core install install-file org.apache.solr - uima-uimaj-core - ${uima.version} + solr-uima-core + ${project.version} jar solr/contrib/uima/lib/uima-core.jar diff --git a/dev-tools/maven/solr/contrib/dataimporthandler/src/extras/pom.xml.template b/dev-tools/maven/solr/contrib/dataimporthandler/src/extras/pom.xml.template index 739465af469..5e323b108e3 100644 --- a/dev-tools/maven/solr/contrib/dataimporthandler/src/extras/pom.xml.template +++ b/dev-tools/maven/solr/contrib/dataimporthandler/src/extras/pom.xml.template @@ -94,8 +94,8 @@ slf4j-api - xerces - xercesImpl + org.apache.lucene + lucene-xercesImpl junit diff --git a/dev-tools/maven/solr/contrib/extraction/pom.xml.template b/dev-tools/maven/solr/contrib/extraction/pom.xml.template index b370cdfda79..b62c49225df 100644 --- a/dev-tools/maven/solr/contrib/extraction/pom.xml.template +++ b/dev-tools/maven/solr/contrib/extraction/pom.xml.template @@ -70,8 +70,8 @@ test - com.ibm.icu - icu4j + org.apache.lucene + lucene-icu4j javax.servlet @@ -83,8 +83,8 @@ tika-parsers - xerces - xercesImpl + org.apache.lucene + lucene-xercesImpl junit diff --git a/dev-tools/maven/solr/contrib/uima/pom.xml.template b/dev-tools/maven/solr/contrib/uima/pom.xml.template index f40d3416414..053534c69d6 100644 --- a/dev-tools/maven/solr/contrib/uima/pom.xml.template +++ b/dev-tools/maven/solr/contrib/uima/pom.xml.template @@ -76,23 +76,23 @@ org.apache.solr - uima-alchemy-annotator + solr-uima-alchemy-annotator org.apache.solr - uima-OpenCalaisAnnotator + solr-uima-OpenCalaisAnnotator org.apache.solr - uima-Tagger + solr-uima-Tagger org.apache.solr - uima-WhitespaceTokenizer + solr-uima-WhitespaceTokenizer org.apache.solr - uima-uimaj-core + solr-uima-core org.slf4j diff --git a/dev-tools/maven/solr/src/pom.xml.template b/dev-tools/maven/solr/src/pom.xml.template index ec3d6258643..c4e73e46e69 100644 --- a/dev-tools/maven/solr/src/pom.xml.template +++ b/dev-tools/maven/solr/src/pom.xml.template @@ -132,10 +132,12 @@ org.mortbay.jetty jetty + true org.mortbay.jetty jetty-util + true org.mortbay.jetty diff --git a/dev-tools/maven/solr/src/webapp/pom.xml.template b/dev-tools/maven/solr/src/webapp/pom.xml.template index 3d4c19527da..885efeb24be 100644 --- a/dev-tools/maven/solr/src/webapp/pom.xml.template +++ b/dev-tools/maven/solr/src/webapp/pom.xml.template @@ -93,14 +93,6 @@ org.apache.struts struts-tiles - - org.mortbay.jetty - jetty - - - org.mortbay.jetty - jetty-util - oro oro diff --git a/lucene/common-build.xml b/lucene/common-build.xml index 1ef75b62d3f..9afca2394a5 100644 --- a/lucene/common-build.xml +++ b/lucene/common-build.xml @@ -27,6 +27,7 @@ + @@ -336,7 +337,27 @@ - + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/analysis/icu/build.xml b/modules/analysis/icu/build.xml index 2b443ce464b..c6aea1459cf 100644 --- a/modules/analysis/icu/build.xml +++ b/modules/analysis/icu/build.xml @@ -132,4 +132,9 @@ are part of the ICU4C package. See http://site.icu-project.org/ + + + + diff --git a/modules/analysis/icu/lib/lucene-icu4j-pom.xml.template b/modules/analysis/icu/lib/lucene-icu4j-pom.xml.template new file mode 100644 index 00000000000..2b481863de8 --- /dev/null +++ b/modules/analysis/icu/lib/lucene-icu4j-pom.xml.template @@ -0,0 +1,36 @@ + + + + + + org.apache.lucene + lucene-parent + @version@ + + 4.0.0 + org.apache.lucene + lucene-icu4j + Lucene Specific ICU4J + @version@ + Lucene Specific ICU4J v4.6 + jar + diff --git a/modules/benchmark/build.xml b/modules/benchmark/build.xml index e624e9b6f95..37a6f57df04 100644 --- a/modules/benchmark/build.xml +++ b/modules/benchmark/build.xml @@ -265,5 +265,8 @@ /> - + + + diff --git a/modules/benchmark/lib/lucene-xercesImpl-pom.xml.template b/modules/benchmark/lib/lucene-xercesImpl-pom.xml.template new file mode 100644 index 00000000000..c96a64ceba2 --- /dev/null +++ b/modules/benchmark/lib/lucene-xercesImpl-pom.xml.template @@ -0,0 +1,36 @@ + + + + + + org.apache.lucene + lucene-parent + @version@ + + 4.0.0 + org.apache.lucene + lucene-xercesImpl + Lucene Specific xercesImpl + @version@ + Lucene Specific xercesImpl v2.9.1 patched with XERCESJ-1257 + jar + diff --git a/solr/build.xml b/solr/build.xml index 6a8465acb99..7572b384bc1 100644 --- a/solr/build.xml +++ b/solr/build.xml @@ -952,6 +952,11 @@ + + + + + @@ -987,14 +992,29 @@ - + - - + + + + + + + + + + + + diff --git a/solr/contrib/uima/lib/solr-uima-an-alchemy-pom.xml.template b/solr/contrib/uima/lib/solr-uima-an-alchemy-pom.xml.template new file mode 100644 index 00000000000..fc4d87ff803 --- /dev/null +++ b/solr/contrib/uima/lib/solr-uima-an-alchemy-pom.xml.template @@ -0,0 +1,36 @@ + + + + + + org.apache.solr + solr-parent + @version@ + + 4.0.0 + org.apache.solr + solr-uima-an-alchemy + Solr Specific UIMA Alchemy Annotator + @version@ + Solr Specific UIMA Alchemy Annotator v2.3.1-SNAPSHOT + jar + diff --git a/solr/contrib/uima/lib/solr-uima-an-calais-pom.xml.template b/solr/contrib/uima/lib/solr-uima-an-calais-pom.xml.template new file mode 100644 index 00000000000..c6a10f17e81 --- /dev/null +++ b/solr/contrib/uima/lib/solr-uima-an-calais-pom.xml.template @@ -0,0 +1,36 @@ + + + + + + org.apache.solr + solr-parent + @version@ + + 4.0.0 + org.apache.solr + solr-uima-an-calais + Solr Specific UIMA Open Calais Annotator + @version@ + Solr Specific UIMA Open Calais Annotator v2.3.1-SNAPSHOT + jar + diff --git a/solr/contrib/uima/lib/solr-uima-an-tagger-pom.xml.template b/solr/contrib/uima/lib/solr-uima-an-tagger-pom.xml.template new file mode 100644 index 00000000000..c4e574c5955 --- /dev/null +++ b/solr/contrib/uima/lib/solr-uima-an-tagger-pom.xml.template @@ -0,0 +1,36 @@ + + + + + + org.apache.solr + solr-parent + @version@ + + 4.0.0 + org.apache.solr + solr-uima-an-tagger + Solr Specific UIMA HMM Tagger + @version@ + Solr Specific UIMA HMM Tagger v2.3.1-SNAPSHOT + jar + diff --git a/solr/contrib/uima/lib/solr-uima-an-wst-pom.xml.template b/solr/contrib/uima/lib/solr-uima-an-wst-pom.xml.template new file mode 100644 index 00000000000..7b56ba3ba17 --- /dev/null +++ b/solr/contrib/uima/lib/solr-uima-an-wst-pom.xml.template @@ -0,0 +1,36 @@ + + + + + + org.apache.solr + solr-parent + @version@ + + 4.0.0 + org.apache.solr + solr-uima-an-wst + Solr Specific UIMA Whitespace Tokenizer + @version@ + Solr Specific UIMA Whitespace Tokenizer v2.3.1-SNAPSHOT + jar + diff --git a/solr/contrib/uima/lib/solr-uima-core-pom.xml.template b/solr/contrib/uima/lib/solr-uima-core-pom.xml.template new file mode 100644 index 00000000000..c6c7f5efee2 --- /dev/null +++ b/solr/contrib/uima/lib/solr-uima-core-pom.xml.template @@ -0,0 +1,36 @@ + + + + + + org.apache.solr + solr-parent + @version@ + + 4.0.0 + org.apache.solr + solr-uima-core + Solr Specific UIMA Core + @version@ + Solr Specific UIMA Core v2.3.1-SNAPSHOT + jar + diff --git a/solr/lib/apache-solr-noggit-pom.xml.template b/solr/lib/apache-solr-noggit-pom.xml.template index cf7437f11dd..1596274c115 100644 --- a/solr/lib/apache-solr-noggit-pom.xml.template +++ b/solr/lib/apache-solr-noggit-pom.xml.template @@ -31,6 +31,6 @@ solr-noggit Solr Specific Noggit @version@ - Solr Specific Noggit + Solr Specific Noggit r944541 jar diff --git a/solr/lib/solr-commons-csv-pom.xml.template b/solr/lib/solr-commons-csv-pom.xml.template index ca18f3ff6df..2e8cdbd6ee7 100644 --- a/solr/lib/solr-commons-csv-pom.xml.template +++ b/solr/lib/solr-commons-csv-pom.xml.template @@ -31,6 +31,6 @@ solr-commons-csv Solr Specific Commons CSV @version@ - Solr Specific Commons CSV + Solr Specific Commons CSV v1.0-SNAPSHOT-r966014 jar