From 9c2a036db3b6d9e34fa564d9e96e95460e9b113b Mon Sep 17 00:00:00 2001 From: Michael Busch Date: Wed, 22 Aug 2007 23:16:48 +0000 Subject: [PATCH] - LUCENE-908: Improvements and simplifications for how the MANIFEST file and the META-INF dir are created. - LUCENE-935: Various improvements for the maven artifacts. Now the artifacts also include the sources as .jar files. git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@568766 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES.txt | 7 ++ build.xml | 117 +++++++++--------- common-build.xml | 106 +++++++--------- .../analyzers/{pom.xml => pom.xml.template} | 0 contrib/ant/{pom.xml => pom.xml.template} | 0 .../benchmark/{pom.xml => pom.xml.template} | 0 contrib/contrib-build.xml | 17 ++- .../db/bdb-je/{pom.xml => pom.xml.template} | 0 contrib/db/bdb/{pom.xml => pom.xml.template} | 0 .../highlighter/{pom.xml => pom.xml.template} | 0 contrib/lucli/build.xml | 11 +- contrib/lucli/{pom.xml => pom.xml.template} | 0 contrib/memory/{pom.xml => pom.xml.template} | 0 .../{pom.xml => pom.xml.template} | 0 contrib/queries/{pom.xml => pom.xml.template} | 0 contrib/regex/{pom.xml => pom.xml.template} | 0 .../similarity/{pom.xml => pom.xml.template} | 0 contrib/snowball/build.xml | 24 +++- .../snowball/{pom.xml => pom.xml.template} | 0 .../{pom.xml => pom.xml.template} | 0 .../surround/{pom.xml => pom.xml.template} | 0 contrib/swing/{pom.xml => pom.xml.template} | 0 contrib/wordnet/{pom.xml => pom.xml.template} | 0 .../{pom.xml => pom.xml.template} | 0 ...pom.xml => lucene-contrib-pom.xml.template | 0 ...re-pom.xml => lucene-core-pom.xml.template | 0 ...s-pom.xml => lucene-demos-pom.xml.template | 0 ...-pom.xml => lucene-parent-pom.xml.template | 6 +- src/demo/demo-build.template | 105 ++++++++-------- 29 files changed, 212 insertions(+), 181 deletions(-) rename contrib/analyzers/{pom.xml => pom.xml.template} (100%) rename contrib/ant/{pom.xml => pom.xml.template} (100%) rename contrib/benchmark/{pom.xml => pom.xml.template} (100%) rename contrib/db/bdb-je/{pom.xml => pom.xml.template} (100%) rename contrib/db/bdb/{pom.xml => pom.xml.template} (100%) rename contrib/highlighter/{pom.xml => pom.xml.template} (100%) rename contrib/lucli/{pom.xml => pom.xml.template} (100%) rename contrib/memory/{pom.xml => pom.xml.template} (100%) rename contrib/miscellaneous/{pom.xml => pom.xml.template} (100%) rename contrib/queries/{pom.xml => pom.xml.template} (100%) rename contrib/regex/{pom.xml => pom.xml.template} (100%) rename contrib/similarity/{pom.xml => pom.xml.template} (100%) rename contrib/snowball/{pom.xml => pom.xml.template} (100%) rename contrib/spellchecker/{pom.xml => pom.xml.template} (100%) rename contrib/surround/{pom.xml => pom.xml.template} (100%) rename contrib/swing/{pom.xml => pom.xml.template} (100%) rename contrib/wordnet/{pom.xml => pom.xml.template} (100%) rename contrib/xml-query-parser/{pom.xml => pom.xml.template} (100%) rename lucene-contrib-pom.xml => lucene-contrib-pom.xml.template (100%) rename lucene-core-pom.xml => lucene-core-pom.xml.template (100%) rename lucene-demos-pom.xml => lucene-demos-pom.xml.template (100%) rename lucene-parent-pom.xml => lucene-parent-pom.xml.template (93%) diff --git a/CHANGES.txt b/CHANGES.txt index 98f3270964a..bfd13ac194e 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -135,6 +135,13 @@ Documentation Build + 1. LUCENE-908: Improvements and simplifications for how the MANIFEST + file and the META-INF dir are created. (Michael Busch) + + 2. LUCENE-935: Various improvements for the maven artifacts. Now the + artifacts also include the sources as .jar files. (Michael Busch) + + Test Cases ======================= Release 2.2.0 2007-06-19 ======================= diff --git a/build.xml b/build.xml index ab8de8b189b..414a4d21165 100644 --- a/build.xml +++ b/build.xml @@ -106,62 +106,51 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + @@ -361,12 +350,24 @@ - + - - - - + + + + + + + + + + + + + + diff --git a/common-build.xml b/common-build.xml index 35ba970c6de..94de92a4e43 100644 --- a/common-build.xml +++ b/common-build.xml @@ -65,13 +65,7 @@ - - - - - + @@ -220,9 +214,9 @@ - + - + ################################################################## @@ -233,9 +227,10 @@ - + + @@ -243,73 +238,67 @@ + - - + + + - + + + + + + + + + + + + + + + + + + + + - + + + - + + + + destfile="@{destfile}" + basedir="@{basedir}" + manifest="${manifest.file}"> - - - - - - - - - - - - - + - - - + @@ -445,9 +434,7 @@ - - - + @@ -501,3 +488,4 @@ + diff --git a/contrib/analyzers/pom.xml b/contrib/analyzers/pom.xml.template similarity index 100% rename from contrib/analyzers/pom.xml rename to contrib/analyzers/pom.xml.template diff --git a/contrib/ant/pom.xml b/contrib/ant/pom.xml.template similarity index 100% rename from contrib/ant/pom.xml rename to contrib/ant/pom.xml.template diff --git a/contrib/benchmark/pom.xml b/contrib/benchmark/pom.xml.template similarity index 100% rename from contrib/benchmark/pom.xml rename to contrib/benchmark/pom.xml.template diff --git a/contrib/contrib-build.xml b/contrib/contrib-build.xml index 992bb3f611d..b869cf24b13 100644 --- a/contrib/contrib-build.xml +++ b/contrib/contrib-build.xml @@ -24,7 +24,7 @@ - + @@ -75,11 +75,16 @@ property="pom.xml.present"> - - - - - + + + + + + + + + diff --git a/contrib/db/bdb-je/pom.xml b/contrib/db/bdb-je/pom.xml.template similarity index 100% rename from contrib/db/bdb-je/pom.xml rename to contrib/db/bdb-je/pom.xml.template diff --git a/contrib/db/bdb/pom.xml b/contrib/db/bdb/pom.xml.template similarity index 100% rename from contrib/db/bdb/pom.xml rename to contrib/db/bdb/pom.xml.template diff --git a/contrib/highlighter/pom.xml b/contrib/highlighter/pom.xml.template similarity index 100% rename from contrib/highlighter/pom.xml rename to contrib/highlighter/pom.xml.template diff --git a/contrib/lucli/build.xml b/contrib/lucli/build.xml index 34e93e5d8b9..61837dee15f 100644 --- a/contrib/lucli/build.xml +++ b/contrib/lucli/build.xml @@ -45,5 +45,14 @@ - + + + + + + + + + + diff --git a/contrib/lucli/pom.xml b/contrib/lucli/pom.xml.template similarity index 100% rename from contrib/lucli/pom.xml rename to contrib/lucli/pom.xml.template diff --git a/contrib/memory/pom.xml b/contrib/memory/pom.xml.template similarity index 100% rename from contrib/memory/pom.xml rename to contrib/memory/pom.xml.template diff --git a/contrib/miscellaneous/pom.xml b/contrib/miscellaneous/pom.xml.template similarity index 100% rename from contrib/miscellaneous/pom.xml rename to contrib/miscellaneous/pom.xml.template diff --git a/contrib/queries/pom.xml b/contrib/queries/pom.xml.template similarity index 100% rename from contrib/queries/pom.xml rename to contrib/queries/pom.xml.template diff --git a/contrib/regex/pom.xml b/contrib/regex/pom.xml.template similarity index 100% rename from contrib/regex/pom.xml rename to contrib/regex/pom.xml.template diff --git a/contrib/similarity/pom.xml b/contrib/similarity/pom.xml.template similarity index 100% rename from contrib/similarity/pom.xml rename to contrib/similarity/pom.xml.template diff --git a/contrib/snowball/build.xml b/contrib/snowball/build.xml index a75c033a311..154c355780d 100644 --- a/contrib/snowball/build.xml +++ b/contrib/snowball/build.xml @@ -30,10 +30,28 @@ - - - + + + + + + + + + + + + + + + + + + + + diff --git a/contrib/snowball/pom.xml b/contrib/snowball/pom.xml.template similarity index 100% rename from contrib/snowball/pom.xml rename to contrib/snowball/pom.xml.template diff --git a/contrib/spellchecker/pom.xml b/contrib/spellchecker/pom.xml.template similarity index 100% rename from contrib/spellchecker/pom.xml rename to contrib/spellchecker/pom.xml.template diff --git a/contrib/surround/pom.xml b/contrib/surround/pom.xml.template similarity index 100% rename from contrib/surround/pom.xml rename to contrib/surround/pom.xml.template diff --git a/contrib/swing/pom.xml b/contrib/swing/pom.xml.template similarity index 100% rename from contrib/swing/pom.xml rename to contrib/swing/pom.xml.template diff --git a/contrib/wordnet/pom.xml b/contrib/wordnet/pom.xml.template similarity index 100% rename from contrib/wordnet/pom.xml rename to contrib/wordnet/pom.xml.template diff --git a/contrib/xml-query-parser/pom.xml b/contrib/xml-query-parser/pom.xml.template similarity index 100% rename from contrib/xml-query-parser/pom.xml rename to contrib/xml-query-parser/pom.xml.template diff --git a/lucene-contrib-pom.xml b/lucene-contrib-pom.xml.template similarity index 100% rename from lucene-contrib-pom.xml rename to lucene-contrib-pom.xml.template diff --git a/lucene-core-pom.xml b/lucene-core-pom.xml.template similarity index 100% rename from lucene-core-pom.xml rename to lucene-core-pom.xml.template diff --git a/lucene-demos-pom.xml b/lucene-demos-pom.xml.template similarity index 100% rename from lucene-demos-pom.xml rename to lucene-demos-pom.xml.template diff --git a/lucene-parent-pom.xml b/lucene-parent-pom.xml.template similarity index 93% rename from lucene-parent-pom.xml rename to lucene-parent-pom.xml.template index ee44a077f2a..a4e4616b4ac 100644 --- a/lucene-parent-pom.xml +++ b/lucene-parent-pom.xml.template @@ -20,7 +20,11 @@ specific language governing permissions and limitations under the License. --> - + + org.apache + apache + 4 + 4.0.0 org.apache.lucene lucene-parent diff --git a/src/demo/demo-build.template b/src/demo/demo-build.template index 5aa099d8ccf..aba681cfcb1 100644 --- a/src/demo/demo-build.template +++ b/src/demo/demo-build.template @@ -31,6 +31,8 @@ + + @@ -63,63 +65,37 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + @@ -210,6 +186,29 @@ + + + + + + + + + + + + + + + + + +