[Jpackage-commits] dist/lucene3/devel .cvsignore, 1.1, 1.2 lucene-analyzers-2.4.1.pom, NONE, 1.1 lucene-ant-2.4.1.pom, NONE, 1.1 lucene-bdb-2.4.1.pom, NONE, 1.1 lucene-bdb-je-2.4.1.pom, NONE, 1.1 lucene-benchmark-2.4.1.pom, NONE, 1.1 lucene-contrib-2.4.1.pom, NONE, 1.1 lucene-core-2.4.1.pom, NONE, 1.1 lucene-demos-2.4.1.pom, NONE, 1.1 lucene-highlighter-2.4.1.pom, NONE, 1.1 lucene-lucli-2.4.1.pom, NONE, 1.1 lucene-memory-2.4.1.pom, NONE, 1.1 lucene-misc-2.4.1.pom, NONE, 1.1 lucene-no-classpath-in-manifest.patch, NONE, 1.1 lucene-parent-2.4.1.pom, NONE, 1.1 lucene-queries-2.4.1.pom, NONE, 1.1 lucene-regex-2.4.1.pom, NONE, 1.1 lucene-snowball-2.4.1.pom, NONE, 1.1 lucene-spellchecker-2.4.1.pom, NONE, 1.1 lucene-surround-2.4.1.pom, NONE, 1.1 lucene-swing-2.4.1.pom, NONE, 1.1 lucene-wordnet-2.4.1.pom, NONE, 1.1 lucene-xml-query-parser-2.4.1.pom, NONE, 1.1 lucene3.spec, NONE, 1.1 sources, 1.1, 1.2

jpackage jpackage at ryu.zarb.org
Sun Oct 2 15:05:58 CEST 2011


Update of /home/projects/jpackage/cvs/dist/lucene3/devel
In directory ryu.zarb.org:/tmp/cvs-serv13586/devel

Modified Files:
	.cvsignore sources 
Added Files:
	lucene-analyzers-2.4.1.pom lucene-ant-2.4.1.pom 
	lucene-bdb-2.4.1.pom lucene-bdb-je-2.4.1.pom 
	lucene-benchmark-2.4.1.pom lucene-contrib-2.4.1.pom 
	lucene-core-2.4.1.pom lucene-demos-2.4.1.pom 
	lucene-highlighter-2.4.1.pom lucene-lucli-2.4.1.pom 
	lucene-memory-2.4.1.pom lucene-misc-2.4.1.pom 
	lucene-no-classpath-in-manifest.patch lucene-parent-2.4.1.pom 
	lucene-queries-2.4.1.pom lucene-regex-2.4.1.pom 
	lucene-snowball-2.4.1.pom lucene-spellchecker-2.4.1.pom 
	lucene-surround-2.4.1.pom lucene-swing-2.4.1.pom 
	lucene-wordnet-2.4.1.pom lucene-xml-query-parser-2.4.1.pom 
	lucene3.spec 
Log Message:
Import lucene3 into devel

--- NEW FILE: lucene-demos-2.4.1.pom ---
<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-parent</artifactId>
    <version>2.4.1</version>
  </parent>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-demos</artifactId>
  <name>Lucene Demos</name>
  <version>2.4.1</version>
  <description>This is the demo for Apache Lucene Java</description>
  <packaging>jar</packaging>
  <dependencies>
    <dependency>
      <groupId>org.apache.lucene</groupId>
      <artifactId>lucene-core</artifactId>
      <version>2.4.1</version>
    </dependency>
  </dependencies>
</project>

--- NEW FILE: lucene-highlighter-2.4.1.pom ---
<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-contrib</artifactId>
    <version>2.4.1</version>
  </parent>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-highlighter</artifactId>
  <name>Lucene Highlighter</name>
  <version>2.4.1</version>
  <description>
    This is the highlighter for apache lucene java
  </description>
  <packaging>jar</packaging>
</project>

Index: sources
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/lucene3/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** sources	2 Oct 2011 12:47:55 -0000	1.1
--- sources	2 Oct 2011 13:05:56 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ c8655fe90d2303ff69e3b570662db8bb  lucene-3.0.3-src.tar.gz

--- NEW FILE: lucene-surround-2.4.1.pom ---
<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-contrib</artifactId>
    <version>2.4.1</version>
  </parent>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-surround</artifactId>
  <name>Lucene Surround</name>
  <version>2.4.1</version>
  <description>Surround query parser</description>
  <packaging>jar</packaging>
</project>

--- NEW FILE: lucene-wordnet-2.4.1.pom ---
<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-contrib</artifactId>
    <version>2.4.1</version>
  </parent>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-wordnet</artifactId>
  <name>Lucene Wordnet</name>
  <version>2.4.1</version>
  <description>WordNet</description>
  <packaging>jar</packaging>

</project>

--- NEW FILE: lucene-misc-2.4.1.pom ---
<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-contrib</artifactId>
    <version>2.4.1</version>
  </parent>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-misc</artifactId>
  <name>Lucene Miscellaneous</name>
  <version>2.4.1</version>
  <description>Miscellaneous Lucene extensions</description>
  <packaging>jar</packaging>
</project>

--- NEW FILE: lucene-spellchecker-2.4.1.pom ---
<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-contrib</artifactId>
    <version>2.4.1</version>
  </parent>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-spellchecker</artifactId>
  <name>Lucene Spellchecker</name>
  <version>2.4.1</version>
  <description>Spell Checker</description>
  <packaging>jar</packaging>
</project>

--- NEW FILE: lucene-xml-query-parser-2.4.1.pom ---
<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-contrib</artifactId>
    <version>2.4.1</version>
  </parent>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-xml-query-parser</artifactId>
  <name>Lucene XML Query Parser</name>
  <version>2.4.1</version>
  <description>XML query parser</description>
  <packaging>jar</packaging>
  <dependencies>
    <dependency>
      <groupId>org.apache.lucene</groupId>
      <artifactId>lucene-queries</artifactId>
      <version>2.4.1</version>
    </dependency>
  </dependencies>
</project>

--- NEW FILE: lucene-analyzers-2.4.1.pom ---
<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-contrib</artifactId>
    <version>2.4.1</version>
  </parent>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-analyzers</artifactId>
  <name>Lucene Analyzers</name>
  <version>2.4.1</version>
  <description>Additional Analyzers</description>
  <packaging>jar</packaging>
</project>

--- NEW FILE: lucene-ant-2.4.1.pom ---
<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-contrib</artifactId>
    <version>2.4.1</version>
  </parent>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-ant</artifactId>
  <packaging>jar</packaging>
  <version>2.4.1</version>
  <name>Lucene Contrib Ant</name>
  <description>Ant task to create Lucene indexes</description>
  <dependencies>
    <dependency>
      <groupId>jtidy</groupId>
      <artifactId>jtidy</artifactId>
      <version>4aug2000r7-dev</version>
    </dependency>
    <dependency>
      <groupId>ant</groupId>
      <artifactId>ant</artifactId>
      <version>1.6.5</version>
    </dependency>
  </dependencies>
</project>

--- NEW FILE: lucene-benchmark-2.4.1.pom ---
<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-contrib</artifactId>
    <version>2.4.1</version>
  </parent>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-benchmark</artifactId>
  <name>Lucene Benchmark</name>
  <version>2.4.1</version>
  <description>Lucene Benchmarking Contributions</description>
  <packaging>jar</packaging>
  <dependencies>
    <dependency>
      <groupId>org.apache.lucene</groupId>
      <artifactId>lucene-demos</artifactId>
      <version>2.4.1</version>
    </dependency>
    <dependency>
      <groupId>commons-beanutils</groupId>
      <artifactId>commons-beanutils</artifactId>
      <version>${commons-beanutils-version}</version>
    </dependency>
    <dependency>
      <groupId>commons-collections</groupId>
      <artifactId>commons-collections</artifactId>
      <version>${commons-collections-version}</version>
    </dependency>
    <dependency>
      <groupId>commons-digester</groupId>
      <artifactId>commons-digester</artifactId>
      <version>${commons-digester-version}</version>
    </dependency>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <version>${commons-logging-version}</version>
    </dependency>
  </dependencies>
</project>

--- NEW FILE: lucene-snowball-2.4.1.pom ---
<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-contrib</artifactId>
    <version>2.4.1</version>
  </parent>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-snowball</artifactId>
  <name>Lucene Snowball</name>
  <version>2.4.1</version>
  <description>Snowball Analyzers</description>
  <packaging>jar</packaging>
</project>

Index: .cvsignore
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/lucene3/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** .cvsignore	2 Oct 2011 12:47:55 -0000	1.1
--- .cvsignore	2 Oct 2011 13:05:56 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ lucene-3.0.3-src.tar.gz

--- NEW FILE: lucene-bdb-je-2.4.1.pom ---
<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-contrib</artifactId>
    <version>2.4.1</version>
  </parent>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-bdb-je</artifactId>
  <packaging>jar</packaging>
  <version>2.4.1</version>
  <name>lucene-contrib-bdb-je</name>
  <description>Berkeley DB based Directory implementation</description>
  <dependencies>
    <dependency>
      <groupId>sleepycat</groupId>
      <artifactId>je</artifactId>
      <version>1.7.0</version>
    </dependency>
  </dependencies>
</project>

--- NEW FILE: lucene-contrib-2.4.1.pom ---
<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-parent</artifactId>
    <version>2.4.1</version>
  </parent>
  <artifactId>lucene-contrib</artifactId>
  <name>Lucene Java Contrib POM</name>
  <version>2.4.1</version>
  <packaging>pom</packaging>
  <dependencies>
    <dependency>
      <groupId>org.apache.lucene</groupId>
      <artifactId>lucene-core</artifactId>
      <version>2.4.1</version>
    </dependency>
  </dependencies>
  <properties>
    <commons-logging-version>1.0.4</commons-logging-version>
    <commons-digester-version>1.7</commons-digester-version>
    <commons-collections-version>3.1</commons-collections-version>
    <commons-beanutils-version>1.7.0</commons-beanutils-version>
    <jakarta-regexp-version>1.4</jakarta-regexp-version>
  </properties>
</project>

--- NEW FILE: lucene-swing-2.4.1.pom ---
<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-contrib</artifactId>
    <version>2.4.1</version>
  </parent>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-swing</artifactId>
  <name>Lucene Swing</name>
  <version>2.4.1</version>
  <description>Swing Models</description>
  <packaging>jar</packaging>
</project>

--- NEW FILE: lucene-queries-2.4.1.pom ---
<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-contrib</artifactId>
    <version>2.4.1</version>
  </parent>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-queries</artifactId>
  <name>Lucene Queries</name>
  <version>2.4.1</version>
  <description>
    Queries - various query object exotica not in core
  </description>
  <packaging>jar</packaging>
</project>

--- NEW FILE: lucene-regex-2.4.1.pom ---
<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-contrib</artifactId>
    <version>2.4.1</version>
  </parent>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-regex</artifactId>
  <name>Lucene Regex</name>
  <version>2.4.1</version>
  <description>Regular expression query</description>
  <packaging>jar</packaging>
  <dependencies>
    <dependency>
      <groupId>jakarta-regexp</groupId>
      <artifactId>jakarta-regexp</artifactId>
      <version>${jakarta-regexp-version}</version>
    </dependency>
  </dependencies>
</project>

--- NEW FILE: lucene-memory-2.4.1.pom ---
<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-contrib</artifactId>
    <version>2.4.1</version>
  </parent>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-memory</artifactId>
  <name>Lucene Memory</name>
  <version>2.4.1</version>
  <description>
    High-performance single-document index to compare against Query
  </description>
  <packaging>jar</packaging>
</project>

--- NEW FILE: lucene-core-2.4.1.pom ---
<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.
  -->

  <parent>
    <groupId>org.apache.lucene</groupId>
    <artifactId>lucene-parent</artifactId>
    <version>2.4.1</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-core</artifactId>
  <name>Lucene Core</name>
  <version>2.4.1</version>
  <description>Apache Lucene Java Core</description>
  <packaging>jar</packaging>
</project>

--- NEW FILE: lucene3.spec ---
# Copyright (c) 2000-2011, JPackage Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the
#    distribution.
# 3. Neither the name of the JPackage Project nor the names of its
#    contributors may be used to endorse or promote products derived
#    from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

%define section  free
%define oname    lucene

Name:           lucene3
Version:        3.0.3
Release:        1%{?dist}
Epoch:          0
Summary:        High-performance, full-featured text search engine
License:        ASL 2.0
Group:          Internet/WWW/Indexing/Search
URL:            http://lucene.apache.org/
Source0:        http://www.apache.org/dist/lucene/java/3.0.3/lucene-3.0.3-src.tar.gz
Source1:        http://repo1.maven.org/maven2/org/apache/lucene/lucene-analyzers/2.4.1/lucene-analyzers-2.4.1.pom
Source2:        http://repo1.maven.org/maven2/org/apache/lucene/lucene-ant/2.4.1/lucene-ant-2.4.1.pom
Source3:        http://repo1.maven.org/maven2/org/apache/lucene/lucene-bdb/2.4.1/lucene-bdb-2.4.1.pom
Source4:        http://repo1.maven.org/maven2/org/apache/lucene/lucene-bdb-je/2.4.1/lucene-bdb-je-2.4.1.pom
Source5:        http://repo1.maven.org/maven2/org/apache/lucene/lucene-benchmark/2.4.1/lucene-benchmark-2.4.1.pom
Source6:        http://repo1.maven.org/maven2/org/apache/lucene/lucene-contrib/2.4.1/lucene-contrib-2.4.1.pom
Source7:        http://repo1.maven.org/maven2/org/apache/lucene/lucene-core/2.4.1/lucene-core-2.4.1.pom
Source8:        http://repo1.maven.org/maven2/org/apache/lucene/lucene-demos/2.4.1/lucene-demos-2.4.1.pom
Source9:        http://repo1.maven.org/maven2/org/apache/lucene/lucene-highlighter/2.4.1/lucene-highlighter-2.4.1.pom
Source10:       http://repo1.maven.org/maven2/org/apache/lucene/lucene-lucli/2.4.1/lucene-lucli-2.4.1.pom
Source11:       http://repo1.maven.org/maven2/org/apache/lucene/lucene-memory/2.4.1/lucene-memory-2.4.1.pom
Source12:       http://repo1.maven.org/maven2/org/apache/lucene/lucene-misc/2.4.1/lucene-misc-2.4.1.pom
Source13:       http://repo1.maven.org/maven2/org/apache/lucene/lucene-parent/2.4.1/lucene-parent-2.4.1.pom
Source14:       http://repo1.maven.org/maven2/org/apache/lucene/lucene-queries/2.4.1/lucene-queries-2.4.1.pom
Source15:       http://repo1.maven.org/maven2/org/apache/lucene/lucene-regex/2.4.1/lucene-regex-2.4.1.pom
Source16:       http://repo1.maven.org/maven2/org/apache/lucene/lucene-snowball/2.4.1/lucene-snowball-2.4.1.pom
Source17:       http://repo1.maven.org/maven2/org/apache/lucene/lucene-spellchecker/2.4.1/lucene-spellchecker-2.4.1.pom
Source18:       http://repo1.maven.org/maven2/org/apache/lucene/lucene-surround/2.4.1/lucene-surround-2.4.1.pom
Source19:       http://repo1.maven.org/maven2/org/apache/lucene/lucene-swing/2.4.1/lucene-swing-2.4.1.pom
# Source20:       http://repo1.maven.org/maven2/org/apache/lucene/lucene-wikipedia/2.3.2/lucene-wikipedia-2.3.2.pom
Source21:       http://repo1.maven.org/maven2/org/apache/lucene/lucene-wordnet/2.4.1/lucene-wordnet-2.4.1.pom
Source22:       http://repo1.maven.org/maven2/org/apache/lucene/lucene-xml-query-parser/2.4.1/lucene-xml-query-parser-2.4.1.pom
Patch0:         lucene-no-classpath-in-manifest.patch
Requires(post): jpackage-utils >= 0:1.7.3
Requires(postun): jpackage-utils >= 0:1.7.3
BuildRequires:  ant >= 0:1.6
BuildRequires:  ant-junit >= 0:1.6
%if %with db
BuildRequires:  berkeleydb >= 0:2.0.90
# FIXME: (dwalluck): db support requires berkeleydb-native (berkeleydb-native.jar) in JPP17, db4-java (db.jar) in Fedora, db4.7 (db4.7.jar) in Mandriva
# BuildRequires:  berkeleydb-native
BuildRequires:  db4-java
%endif
BuildRequires:  jakarta-commons-beanutils
BuildRequires:  jakarta-commons-collections
BuildRequires:  jakarta-commons-digester
BuildRequires:  jakarta-commons-logging
BuildRequires:  java-devel >= 0:1.6.0
BuildRequires:  java-javadoc
BuildRequires:  javacc
BuildRequires:  jline
BuildRequires:  jtidy
BuildRequires:  log4j
BuildRequires:  jpackage-utils >= 0:1.7.5
BuildRequires:  junit
BuildRequires:  regexp
BuildRequires:  zip
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root

%description
Jakarta Lucene is a high-performance, full-featured text search engine
written entirely in Java. It is a technology suitable for nearly any
application that requires full-text search, especially cross-platform.

%package javadoc
Summary:        Javadoc for Lucene
Group:          Development/Documentation

%description javadoc
%{summary}.

%package demo
Summary:        Lucene demonstration library
Group:          Internet/WWW/Indexing/Search
Requires:       %{name} = %{epoch}:%{version}-%{release}

%description demo
%{summary}.

%package contrib
Summary:        Lucene contributed extensions
Group:          Internet/WWW/Indexing/Search
Requires:       %{name} = %{epoch}:%{version}-%{release}
Requires:       jline

%description contrib
%{summary}.

%package contrib-benchmark
Summary:        Lucene contributed benchmark
Group:          Internet/WWW/Indexing/Search
Requires:       %{name} = %{epoch}:%{version}-%{release}
Requires:       jakarta-commons-beanutils
Requires:       jakarta-commons-collections
Requires:       jakarta-commons-digester
Requires:       jakarta-commons-logging
Requires:       xerces-j2
Requires:       xml-commons-jaxp-1.3-apis

%description contrib-benchmark
%{summary}.

%package contrib-db
Summary:        Lucene contributed bdb extensions
Group:          Internet/WWW/Indexing/Search
Requires:       %{name} = %{epoch}:%{version}-%{release}
Requires:       berkeleydb >= 0:2.0.90
# Requires:       berkeleydb-native
Requires:       db4-java

%description contrib-db
%{summary}.

%prep
%setup -q -n %{oname}-%{version}
%patch0 -p0
#rap#%patch1 -p0
#rap#%patch4 -p1
#find . -name "*.jar" | xargs -t rm
for j in $(find . -name "*.jar"); do
    mv $j $j.no
done
ln -sf $(build-classpath commons-beanutils) contrib/benchmark/lib/
#ln -sf $(build-classpath commons-beanutils) contrib/benchmark/lib/commons-beanutils-1.7.0.jar
# ./contrib/benchmark/lib/commons-beanutils-1.7.0.jar 
# ./contrib/benchmark/lib/xerces-2.9.1-patched-XERCESJ-1257.jar 
ln -sf $(build-classpath commons-digester) contrib/benchmark/lib/
#ln -sf $(build-classpath commons-digester) contrib/benchmark/lib/commons-digester-1.7.jar
# ./contrib/benchmark/lib/commons-digester-1.7.jar 
ln -sf $(build-classpath commons-collections) contrib/benchmark/lib/
#ln -sf $(build-classpath commons-collections) contrib/benchmark/lib/commons-collections-3.1.jar
# ./contrib/benchmark/lib/commons-collections-3.1.jar 
ln -sf $(build-classpath commons-compress) contrib/benchmark/lib/
#ln -sf $(build-classpath commons-compress) contrib/benchmark/lib/commons-compress-1.0.jar
# ./contrib/benchmark/lib/commons-compress-1.0.jar 
# ./contrib/benchmark/lib/xml-apis-2.9.0.jar 
ln -sf $(build-classpath commons-logging) contrib/benchmark/lib/
#ln -sf $(build-classpath commons-logging) contrib/benchmark/lib/commons-logging-1.0.4.jar
# ./contrib/benchmark/lib/commons-logging-1.0.4.jar 
ln -sf $(build-classpath regexp) contrib/benchmark/lib/
#ln -sf $(build-classpath regexp) contrib/benchmark/lib/jakarta-regexp-1.4.jar
# ./contrib/regex/lib/jakarta-regexp-1.4.jar 
#ln -sf $(build-classpath icu4j) contrib/collation/lib/
ln -sf $(build-classpath icu4j) contrib/collation/lib/icu4j-collation-4.0.jar
# ./contrib/collation/lib/icu4j-collation-4.0.jar 
ln -sf $(build-classpath jtidy) contrib/ant/lib/
#ln -sf $(build-classpath jtidy) contrib/ant/lib/Tidy.jar
# ./contrib/ant/lib/Tidy.jar 
ln -sf $(build-classpath jline) contrib/lucli/lib/
#ln -sf $(build-classpath jline) contrib/lucli/lib/jline.jar
# ./contrib/lucli/lib/jline.jar 
ln -sf $(build-classpath servlet_2_4_api) lib/
#ln -sf $(build-classpath servlet_2_4_api) lib/servlet-api-2.4.jar
# ./lib/servlet-api-2.4.jar 
ln -sf $(build-classpath junit) lib/
#ln -sf $(build-classpath junit) lib/junit-3.8.2.jar
# ./lib/junit-3.8.2.jar 


%build
# berkeleydb-native or db
export CLASSPATH=$(build-classpath \
berkeleydb \
db \
commons-digester jline jtidy junit regexp)

export OPT_JAR_LIST=:
ant \
  -Djavacc.home=%{_bindir}/javacc \
  -Djavacc.jar=%{_javadir}/javacc.jar \
  -Djavacc.jar.dir=%{_javadir} \
  -Djavadoc.link=%{_javadocdir}/java \
  -Dversion=%{version} \
package-all-binary

%install
rm -rf %{buildroot}

# jars
install -d -m 0755 %{buildroot}%{_javadir}
install -p -m 0644 build/%{oname}-core-%{version}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
install -p -m 0644 build/%{oname}-demos-%{version}.jar %{buildroot}%{_javadir}/%{name}-demos-%{version}.jar
(cd %{buildroot}%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)

# contrib jars
install -d -m 0755 %{buildroot}%{_javadir}/%{name}-contrib

install -m 0644 build/contrib/analyzers/common/%{oname}-analyzers-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/analyzers-%{version}.jar
install -m 0644 build/contrib/analyzers/smartcn/%{oname}-smartcn-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/analyzers-%{version}.jar
install -m 0644 build/contrib/ant/%{oname}-ant-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/ant-%{version}.jar
install -m 0644 build/contrib/benchmark/%{oname}-benchmark-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/benchmark-%{version}.jar
install -m 0644 build/contrib/collation/%{oname}-collation-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/collation-%{version}.jar
install -m 0644 build/contrib/fast-vector-highlighter/%{oname}-fast-vector-highlighter-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/fast-vector-highlighter-%{version}.jar
install -m 0644 build/contrib/highlighter/%{oname}-highlighter-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/highlighter-%{version}.jar
install -m 0644 build/contrib/instantiated/%{oname}-instantiated-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/instantiated-%{version}.jar
install -m 0644 build/contrib/lucli/%{oname}-lucli-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/lucli-%{version}.jar
install -m 0644 build/contrib/memory/%{oname}-memory-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/memory-%{version}.jar
install -m 0644 build/contrib/misc/%{oname}-misc-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/misc-%{version}.jar
install -m 0644 build/contrib/queries/%{oname}-queries-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/queries-%{version}.jar
install -m 0644 build/contrib/queryparser/%{oname}-queryparser-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/queryparser-%{version}.jar
install -m 0644 build/contrib/regex/%{oname}-regex-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/regex-%{version}.jar
install -m 0644 build/contrib/remote/%{oname}-remote-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/remote-%{version}.jar
install -m 0644 build/contrib/snowball/%{oname}-snowball-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/snowball-%{version}.jar
install -m 0644 build/contrib/spatial/%{oname}-spatial-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/spatial-%{version}.jar
install -m 0644 build/contrib/spellchecker/%{oname}-spellchecker-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/spellchecker-%{version}.jar
install -m 0644 build/contrib/surround/%{oname}-surround-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/surround-%{version}.jar
install -m 0644 build/contrib/swing/%{oname}-swing-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/swing-%{version}.jar
install -m 0644 build/contrib/wikipedia/%{oname}-wikipedia-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/wikipedia-%{version}.jar
install -m 0644 build/contrib/wordnet/%{oname}-wordnet-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/wordnet-%{version}.jar
install -m 0644 build/contrib/xml-query-parser/%{oname}-xml-query-parser-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib/xml-query-parser-%{version}.jar

(cd %{buildroot}%{_javadir}/%{name}-contrib && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)

# benchmark contrib jars
install -d -m 0755 %{buildroot}%{_javadir}/%{name}-contrib-benchmark
install -p -m 0644 build/contrib/benchmark/%{oname}-benchmark-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib-benchmark/benchmark-%{version}.jar
(cd %{buildroot}%{_javadir}/%{name}-contrib-benchmark && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)

# bdb contrib jars
install -d -m 0755 %{buildroot}%{_javadir}/%{name}-contrib-db
install -p -m 0644 build/contrib/db/bdb/%{oname}-bdb-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib-db/bdb-%{version}.jar
install -p -m 0644 build/contrib/db/bdb-je/%{oname}-bdb-je-%{version}.jar \
                %{buildroot}%{_javadir}/%{name}-contrib-db/bdb-je-%{version}.jar
(cd %{buildroot}%{_javadir}/%{name}-contrib-db && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
# poms
install -d -m 0755 %{buildroot}%{_datadir}/maven2/poms
install -p -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}-contrib-analyzers.pom
%add_to_maven_depmap org.apache.lucene lucene-analyzers %{version} JPP/%{name}-contrib analyzers
install -p -m 0644 %{SOURCE2} %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}-contrib-ant.pom
%add_to_maven_depmap org.apache.lucene lucene-ant %{version} JPP/%{name}-contrib ant
install -p -m 0644 %{SOURCE3} %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}-contrib-db-bdb.pom
%add_to_maven_depmap org.apache.lucene lucene-bdb %{version} JPP/%{name}-contrib-db bdb
install -p -m 0644 %{SOURCE4} %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}-contrib-db-bdb-je.pom
%add_to_maven_depmap org.apache.lucene lucene-bdb-je %{version} JPP/%{name}-contrib-db bdb-je
install -p -m 0644 %{SOURCE5} %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}-contrib-benchmark-benchmark.pom
%add_to_maven_depmap org.apache.lucene lucene-benchmark %{version} JPP/%{name}-contrib-benchmark benchmark
install -p -m 0644 %{SOURCE6} %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}-contrib.pom
%add_to_maven_depmap org.apache.lucene lucene-contrib %{version} JPP/%{name} contrib
install -p -m 0644 %{SOURCE7} %{buildroot}%{_datadir}/maven2/poms/JPP-%{name}.pom
%add_to_maven_depmap org.apache.lucene lucene-core %{version} JPP %{name}
install -p -m 0644 %{SOURCE8} %{buildroot}%{_datadir}/maven2/poms/JPP-%{name}-demos.pom
%add_to_maven_depmap org.apache.lucene lucene-demos %{version} JPP %{name}-demos
install -p -m 0644 %{SOURCE9} %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}-contrib-highlighter.pom
%add_to_maven_depmap org.apache.lucene lucene-highlighter %{version} JPP/%{name}-contrib highlighter
install -p -m 0644 %{SOURCE10} %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}-contrib-lucli.pom
%add_to_maven_depmap org.apache.lucene lucene-lucli %{version} JPP/%{name}-contrib lucli
install -p -m 0644 %{SOURCE11} %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}-contrib-memory.pom
%add_to_maven_depmap org.apache.lucene lucene-memory %{version} JPP/%{name}-contrib memory
install -p -m 0644 %{SOURCE12} %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}-contrib-misc.pom
%add_to_maven_depmap org.apache.lucene lucene-misc %{version} JPP/%{name}-contrib misc
install -p -m 0644 %{SOURCE13} %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}-parent.pom
%add_to_maven_depmap org.apache.lucene lucene-parent %{version} JPP/%{name} parent
install -p -m 0644 %{SOURCE14} %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}-contrib-queries.pom
%add_to_maven_depmap org.apache.lucene lucene-queries %{version} JPP/%{name}-contrib queries
install -p -m 0644 %{SOURCE15} %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}-contrib-regexp.pom
%add_to_maven_depmap org.apache.lucene lucene-regexp %{version} JPP/%{name}-contrib regexp
install -p -m 0644 %{SOURCE16} %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}-contrib-snowball.pom
%add_to_maven_depmap org.apache.lucene lucene-snowball %{version} JPP/%{name}-contrib snowball
install -p -m 0644 %{SOURCE17} %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}-contrib-spellchecker.pom
%add_to_maven_depmap org.apache.lucene lucene-spellchecker %{version} JPP/%{name}-contrib spellchecker
install -p -m 0644 %{SOURCE18} %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}-contrib-surround.pom
%add_to_maven_depmap org.apache.lucene lucene-surround %{version} JPP/%{name}-contrib surround
install -p -m 0644 %{SOURCE19} %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}-contrib-swing.pom
%add_to_maven_depmap org.apache.lucene lucene-swing %{version} JPP/%{name}-contrib swing
install -p -m 0644 %{SOURCE21} %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}-contrib-wordnet.pom
%add_to_maven_depmap org.apache.lucene lucene-wordnet %{version} JPP/%{name}-contrib wordnet
install -p -m 0644 %{SOURCE22} %{buildroot}%{_datadir}/maven2/poms/JPP.%{name}-contrib-xml-query-parser.pom
%add_to_maven_depmap org.apache.lucene lucene-xml-query-parser %{version} JPP/%{name}-contrib xml-query-parser

# javadoc
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}-%{version}
cp -pr build/docs/api/* \
  %{buildroot}%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} %{buildroot}%{_javadocdir}/%{name}

# webapp
install -d -m 0755 %{buildroot}%{_datadir}/%{name}-%{version}
install -p -m 0644 build/%{oname}web.war \
  %{buildroot}%{_datadir}/%{name}-%{version}

%clean
rm -rf %{buildroot}

%post
%update_maven_depmap

%postun
%update_maven_depmap

%files
%defattr(0644,root,root,0755)
%doc CHANGES.txt LICENSE.txt README.txt
%{_javadir}/%{name}-%{version}.jar
%{_javadir}/%{name}.jar
%{_datadir}/%{name}-%{version}
%{_datadir}/maven2/poms/*
%{_mavendepmapfragdir}/*

%files javadoc
%defattr(0644,root,root,0755)
%{_javadocdir}/%{name}-%{version}
%{_javadocdir}/%{name}

%files contrib
%defattr(0644,root,root,0755)
%dir %{_javadir}/%{name}-contrib
%{_javadir}/%{name}-contrib/analyzers-%{version}.jar
%{_javadir}/%{name}-contrib/analyzers.jar
%{_javadir}/%{name}-contrib/ant-%{version}.jar
%{_javadir}/%{name}-contrib/ant.jar
%{_javadir}/%{name}-contrib/benchmark-%{version}.jar
%{_javadir}/%{name}-contrib/benchmark.jar
%{_javadir}/%{name}-contrib/collation-%{version}.jar
%{_javadir}/%{name}-contrib/collation.jar
%{_javadir}/%{name}-contrib/fast-vector-highlighter-%{version}.jar
%{_javadir}/%{name}-contrib/fast-vector-highlighter.jar
%{_javadir}/%{name}-contrib/highlighter-%{version}.jar
%{_javadir}/%{name}-contrib/highlighter.jar
%{_javadir}/%{name}-contrib/instantiated-%{version}.jar
%{_javadir}/%{name}-contrib/instantiated.jar
%{_javadir}/%{name}-contrib/lucli-%{version}.jar
%{_javadir}/%{name}-contrib/lucli.jar
%{_javadir}/%{name}-contrib/memory-%{version}.jar
%{_javadir}/%{name}-contrib/memory.jar
%{_javadir}/%{name}-contrib/misc-%{version}.jar
%{_javadir}/%{name}-contrib/misc.jar
%{_javadir}/%{name}-contrib/queries-%{version}.jar
%{_javadir}/%{name}-contrib/queries.jar
%{_javadir}/%{name}-contrib/queryparser-%{version}.jar
%{_javadir}/%{name}-contrib/queryparser.jar
%{_javadir}/%{name}-contrib/regex-%{version}.jar
%{_javadir}/%{name}-contrib/regex.jar
%{_javadir}/%{name}-contrib/remote-%{version}.jar
%{_javadir}/%{name}-contrib/remote.jar
%{_javadir}/%{name}-contrib/snowball-%{version}.jar
%{_javadir}/%{name}-contrib/snowball.jar
%{_javadir}/%{name}-contrib/spatial-%{version}.jar
%{_javadir}/%{name}-contrib/spatial.jar
%{_javadir}/%{name}-contrib/spellchecker-%{version}.jar
%{_javadir}/%{name}-contrib/spellchecker.jar
%{_javadir}/%{name}-contrib/surround-%{version}.jar
%{_javadir}/%{name}-contrib/surround.jar
%{_javadir}/%{name}-contrib/swing-%{version}.jar
%{_javadir}/%{name}-contrib/swing.jar
%{_javadir}/%{name}-contrib/wikipedia-%{version}.jar
%{_javadir}/%{name}-contrib/wikipedia.jar
%{_javadir}/%{name}-contrib/wordnet-%{version}.jar
%{_javadir}/%{name}-contrib/wordnet.jar
%{_javadir}/%{name}-contrib/xml-query-parser-%{version}.jar
%{_javadir}/%{name}-contrib/xml-query-parser.jar

%files contrib-benchmark
%defattr(0644,root,root,0755)
%{_javadir}/%{name}-contrib-benchmark

%files contrib-db
%defattr(0644,root,root,0755)
%{_javadir}/%{name}-contrib-db

%files demo
%defattr(0644,root,root,0755)
%{_javadir}/%{name}-demos-%{version}.jar
%{_javadir}/%{name}-demos.jar

%changelog
* Sat Apr 09 2011 Ralph Apel <r.apel at r-apel.de> 0:3.0.3-1
- lucene30


--- NEW FILE: lucene-bdb-2.4.1.pom ---
<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-contrib</artifactId>
    <version>2.4.1</version>
  </parent>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-bdb</artifactId>
  <packaging>jar</packaging>
  <version>2.4.1</version>
  <name>lucene-contrib-bdb</name>
  <description>Berkeley DB based Directory implementation</description>
</project>

--- NEW FILE: lucene-no-classpath-in-manifest.patch ---
diff -urp lucene-2.3.0.orig/build.xml lucene-2.3.0/build.xml
--- contrib/lucli/build.xml.orig	2008-11-14 13:04:42.729678754 -0500
+++ contrib/lucli/build.xml	2008-11-14 13:04:59.006679348 -0500
@@ -42,7 +42,6 @@
     <jarify>
       <manifest-attributes>
         <attribute name="Main-Class" value="lucli.Lucli" />
-        <attribute name="Class-Path" value="lib/jline.jar lib/lucene.jar" />
       </manifest-attributes>
     </jarify>
    </target>
@@ -51,7 +50,6 @@
   	<jarify basedir="${src.dir}" destfile="${build.dir}/${final.name}-src.jar">
       <manifest-attributes>
         <attribute name="Main-Class" value="lucli.Lucli" />
-        <attribute name="Class-Path" value="lib/jline.jar lib/lucene.jar" />
       </manifest-attributes>
   	</jarify>
   </target>   

--- NEW FILE: lucene-lucli-2.4.1.pom ---
<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-contrib</artifactId>
    <version>2.4.1</version>
  </parent>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-lucli</artifactId>
  <packaging>jar</packaging>
  <version>2.4.1</version>
  <name>lucene-contrib-lucli</name>
  <description>Lucene Command Line Interface</description>
  <dependencies>
    <dependency>
      <groupId>jline</groupId>
      <artifactId>jline</artifactId>
      <version>0.9.91</version>
    </dependency>
  </dependencies>
</project>

--- NEW FILE: lucene-parent-2.4.1.pom ---
<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.
  -->
  <parent>
    <groupId>org.apache</groupId>
    <artifactId>apache</artifactId>
    <version>4</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.lucene</groupId>
  <artifactId>lucene-parent</artifactId>
  <name>Lucene Java POM</name>
  <version>2.4.1</version>
  <description>Apache Lucene Java POM</description>
  <url>http://lucene.apache.org/java</url>
  <packaging>pom</packaging>
  <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>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/java-user/
      </archive>
    </mailingList>
    <mailingList>
      <name>Java Developer List</name>
      <subscribe>java-dev-subscribe at lucene.apache.org</subscribe>
      <unsubscribe>java-dev-unsubscribe at lucene.apache.org</unsubscribe>
      <archive>
        http://mail-archives.apache.org/mod_mbox/java-dev/
      </archive>
    </mailingList>
    <mailingList>
      <name>Java Commits List</name>
      <subscribe>java-commits-subscribe at lucene.apache.org</subscribe>
      <unsubscribe>
        java-commits-unsubscribe at lucene.apache.org
      </unsubscribe>
      <archive>
        http://mail-archives.apache.org/mod_mbox/java-commits/
      </archive>
    </mailingList>
  </mailingLists>
  <inceptionYear>2000</inceptionYear>
  <licenses>
    <license>
      <name>Apache 2</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
    </license>
  </licenses>
  <scm>
    <connection>
      scm:svn:http://svn.apache.org/repos/asf/lucene/java
    </connection>
    <developerConnection>
      scm:svn:https://svn.apache.org/repos/asf/lucene/java
    </developerConnection>
  </scm>
</project>




More information about the JPackage-commits mailing list