This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicemix-bundles.git
The following commit(s) were added to refs/heads/master by this push:
new a7e9ecf [SM-4986] Create OSGi bundles for lucene 9.0.0
a7e9ecf is described below
commit a7e9ecf2aed1e97cd1f15c836032a6e26cc6589a
Author: Jean-Baptiste Onofré <[email protected]>
AuthorDate: Thu Dec 30 17:08:24 2021 +0100
[SM-4986] Create OSGi bundles for lucene 9.0.0
---
lucene-9.0.0/pom.xml | 105 +++++++++++++++++++
.../src/main/resources/OSGI-INF/bundle.info | 12 +++
lucene-queries-9.0.0/pom.xml | 109 ++++++++++++++++++++
.../src/main/resources/OSGI-INF/bundle.info | 12 +++
lucene-queryparser-9.0.0/pom.xml | 114 +++++++++++++++++++++
.../src/main/resources/OSGI-INF/bundle.info | 12 +++
lucene-sandbox-9.0.0/pom.xml | 110 ++++++++++++++++++++
.../src/main/resources/OSGI-INF/bundle.info | 12 +++
pom.xml | 4 +
9 files changed, 490 insertions(+)
diff --git a/lucene-9.0.0/pom.xml b/lucene-9.0.0/pom.xml
new file mode 100644
index 0000000..a1061f1
--- /dev/null
+++ b/lucene-9.0.0/pom.xml
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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/xsd/maven-4.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.servicemix.bundles</groupId>
+ <artifactId>bundles-pom</artifactId>
+ <version>14</version>
+ <relativePath>../bundles-pom/pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>org.apache.servicemix.bundles.lucene</artifactId>
+ <version>9.0.0_1-SNAPSHOT</version>
+ <packaging>bundle</packaging>
+ <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+ <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar
file.</description>
+
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/servicemix-bundles.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/servicemix-bundles.git</developerConnection>
+ <url>https://gitbox.apache.org/repos/asf?p=servicemix-bundles.git</url>
+ </scm>
+
+ <properties>
+ <pkgGroupId>org.apache.lucene</pkgGroupId>
+ <pkgArtifactId>lucene-core</pkgArtifactId>
+ <pkgVersion>9.0.0</pkgVersion>
+ <servicemix.osgi.export.pkg>
+ org.apache.lucene
+ </servicemix.osgi.export.pkg>
+ <servicemix.osgi.import.pkg>
+ javax.management
+ </servicemix.osgi.import.pkg>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>${pkgArtifactId}</artifactId>
+ <version>${pkgVersion}</version>
+ </dependency>
+
+ <!-- sources -->
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>${pkgArtifactId}</artifactId>
+ <version>${pkgVersion}</version>
+ <classifier>sources</classifier>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <artifactSet>
+ <includes>
+
<include>${pkgGroupId}:${pkgArtifactId}</include>
+ </includes>
+ </artifactSet>
+ <filters>
+ <filter>
+
<artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
+ <includes>
+ <include>META-INF/services/**</include>
+ </includes>
+ </filter>
+ </filters>
+
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+
<createDependencyReducedPom>true</createDependencyReducedPom>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/lucene-9.0.0/src/main/resources/OSGI-INF/bundle.info
b/lucene-9.0.0/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..ff8c068
--- /dev/null
+++ b/lucene-9.0.0/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,12 @@
+\u001B[1mSYNOPSIS\u001B[0m
+ ${project.description}
+
+ Original Maven URL:
+ \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+ Apache Lucene(TM) is a high-performance, full-featured text search engine
library written entirely in Java.
+ It is a technology suitable for nearly any application that requires
full-text search, especially cross-platform.
+
+\u001B[1mSEE ALSO\u001B[0m
+ \u001B[36mhttp://lucene.apache.org/java/docs/index.html\u001B[0m
diff --git a/lucene-queries-9.0.0/pom.xml b/lucene-queries-9.0.0/pom.xml
new file mode 100644
index 0000000..04546df
--- /dev/null
+++ b/lucene-queries-9.0.0/pom.xml
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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/xsd/maven-4.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.servicemix.bundles</groupId>
+ <artifactId>bundles-pom</artifactId>
+ <version>14</version>
+ <relativePath>../bundles-pom/pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>org.apache.servicemix.bundles.lucene-queries</artifactId>
+ <version>9.0.0_1-SNAPSHOT</version>
+ <packaging>bundle</packaging>
+ <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+ <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar
file.</description>
+
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/servicemix-bundles.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/servicemix-bundles.git</developerConnection>
+ <url>https://gitbox.apache.org/repos/asf?p=servicemix-bundles.git</url>
+ </scm>
+
+ <properties>
+ <pkgGroupId>org.apache.lucene</pkgGroupId>
+ <pkgArtifactId>lucene-queries</pkgArtifactId>
+ <pkgVersion>9.0.0</pkgVersion>
+ <servicemix.osgi.export.pkg>
+ org.apache.lucene.queries
+ </servicemix.osgi.export.pkg>
+ <servicemix.osgi.import.pkg>
+ org.apache.lucene.analysis*,
+ org.apache.lucene.document,
+ org.apache.lucene.index,
+ org.apache.lucene.search*,
+ org.apache.lucene.util*
+ </servicemix.osgi.import.pkg>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>${pkgArtifactId}</artifactId>
+ <version>${pkgVersion}</version>
+ </dependency>
+
+ <!-- sources -->
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>${pkgArtifactId}</artifactId>
+ <version>${pkgVersion}</version>
+ <classifier>sources</classifier>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <artifactSet>
+ <includes>
+
<include>${pkgGroupId}:${pkgArtifactId}</include>
+ </includes>
+ </artifactSet>
+ <filters>
+ <filter>
+
<artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
+ <excludes>
+ <exclude>**/*</exclude>
+ </excludes>
+ </filter>
+ </filters>
+
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+
<createDependencyReducedPom>true</createDependencyReducedPom>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/lucene-queries-9.0.0/src/main/resources/OSGI-INF/bundle.info
b/lucene-queries-9.0.0/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..ff8c068
--- /dev/null
+++ b/lucene-queries-9.0.0/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,12 @@
+\u001B[1mSYNOPSIS\u001B[0m
+ ${project.description}
+
+ Original Maven URL:
+ \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+ Apache Lucene(TM) is a high-performance, full-featured text search engine
library written entirely in Java.
+ It is a technology suitable for nearly any application that requires
full-text search, especially cross-platform.
+
+\u001B[1mSEE ALSO\u001B[0m
+ \u001B[36mhttp://lucene.apache.org/java/docs/index.html\u001B[0m
diff --git a/lucene-queryparser-9.0.0/pom.xml b/lucene-queryparser-9.0.0/pom.xml
new file mode 100644
index 0000000..da1208a
--- /dev/null
+++ b/lucene-queryparser-9.0.0/pom.xml
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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/xsd/maven-4.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.servicemix.bundles</groupId>
+ <artifactId>bundles-pom</artifactId>
+ <version>14</version>
+ <relativePath>../bundles-pom/pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>org.apache.servicemix.bundles.lucene-queryparser</artifactId>
+ <version>9.0.0_1-SNAPSHOT</version>
+ <packaging>bundle</packaging>
+ <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+ <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar
file.</description>
+
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/servicemix-bundles.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/servicemix-bundles.git</developerConnection>
+ <url>https://gitbox.apache.org/repos/asf?p=servicemix-bundles.git</url>
+ </scm>
+
+ <properties>
+ <pkgGroupId>org.apache.lucene</pkgGroupId>
+ <pkgArtifactId>lucene-queryparser</pkgArtifactId>
+ <pkgVersion>9.0.0</pkgVersion>
+ <servicemix.osgi.export.pkg>
+ org.apache.lucene.queryparser
+ </servicemix.osgi.export.pkg>
+ <servicemix.osgi.import.pkg>
+ javax.xml.parsers,
+ javax.xml.transform,
+ javax.xml.transform.dom,
+ javax.xml.transform.stream,
+ org.apache.lucene.analysis,
+ org.apache.lucene.analysis.tokenattributes,
+ org.apache.lucene.document,
+ org.apache.lucene.index,
+ org.apache.lucene.queries,
+ org.apache.lucene.queries.mlt,
+ org.apache.lucene.queries.payloads,
+ org.apache.lucene.sandbox.queries,
+ org.apache.lucene.search,
+ org.apache.lucene.search.spans,
+ org.apache.lucene.util,
+ org.apache.lucene.util.automaton,
+ org.w3c.dom,
+ org.xml.sax
+ </servicemix.osgi.import.pkg>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>${pkgArtifactId}</artifactId>
+ <version>${pkgVersion}</version>
+ </dependency>
+
+ <!-- sources -->
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>${pkgArtifactId}</artifactId>
+ <version>${pkgVersion}</version>
+ <classifier>sources</classifier>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <configuration>
+ <artifactSet>
+ <includes>
+ <include>${pkgGroupId}:${pkgArtifactId}</include>
+ </includes>
+ </artifactSet>
+ <filters>
+ <filter>
+ <artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
+ <excludes>
+ <exclude>**/*</exclude>
+ </excludes>
+ </filter>
+ </filters>
+
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+
<createDependencyReducedPom>true</createDependencyReducedPom>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/lucene-queryparser-9.0.0/src/main/resources/OSGI-INF/bundle.info
b/lucene-queryparser-9.0.0/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..ff8c068
--- /dev/null
+++ b/lucene-queryparser-9.0.0/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,12 @@
+\u001B[1mSYNOPSIS\u001B[0m
+ ${project.description}
+
+ Original Maven URL:
+ \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+ Apache Lucene(TM) is a high-performance, full-featured text search engine
library written entirely in Java.
+ It is a technology suitable for nearly any application that requires
full-text search, especially cross-platform.
+
+\u001B[1mSEE ALSO\u001B[0m
+ \u001B[36mhttp://lucene.apache.org/java/docs/index.html\u001B[0m
diff --git a/lucene-sandbox-9.0.0/pom.xml b/lucene-sandbox-9.0.0/pom.xml
new file mode 100644
index 0000000..1507e86
--- /dev/null
+++ b/lucene-sandbox-9.0.0/pom.xml
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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/xsd/maven-4.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.servicemix.bundles</groupId>
+ <artifactId>bundles-pom</artifactId>
+ <version>14</version>
+ <relativePath>../bundles-pom/pom.xml</relativePath>
+ </parent>
+
+ <groupId>org.apache.servicemix.bundles</groupId>
+ <artifactId>org.apache.servicemix.bundles.lucene-sandbox</artifactId>
+ <version>9.0.0_1-SNAPSHOT</version>
+ <packaging>bundle</packaging>
+ <name>Apache ServiceMix :: Bundles :: ${pkgArtifactId}</name>
+ <description>This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar
file.</description>
+
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/servicemix-bundles.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/servicemix-bundles.git</developerConnection>
+ <url>https://gitbox.apache.org/repos/asf?p=servicemix-bundles.git</url>
+ </scm>
+
+ <properties>
+ <pkgGroupId>org.apache.lucene</pkgGroupId>
+ <pkgArtifactId>lucene-sandbox</pkgArtifactId>
+ <pkgVersion>9.0.0</pkgVersion>
+ <servicemix.osgi.export.pkg>
+ org.apache.lucene.sandbox
+ </servicemix.osgi.export.pkg>
+ <servicemix.osgi.import.pkg>
+ org.apache.lucene.analysis*,
+ org.apache.lucene.index,
+ org.apache.lucene.search*,
+ org.apache.lucene.util,
+ org.apache.lucene.util.automaton,
+ org.apache.regexp
+ </servicemix.osgi.import.pkg>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>${pkgArtifactId}</artifactId>
+ <version>${pkgVersion}</version>
+ </dependency>
+
+ <!-- sources -->
+ <dependency>
+ <groupId>${pkgGroupId}</groupId>
+ <artifactId>${pkgArtifactId}</artifactId>
+ <version>${pkgVersion}</version>
+ <classifier>sources</classifier>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <artifactSet>
+ <includes>
+
<include>${pkgGroupId}:${pkgArtifactId}</include>
+ </includes>
+ </artifactSet>
+ <filters>
+ <filter>
+
<artifact>${pkgGroupId}:${pkgArtifactId}</artifact>
+ <excludes>
+ <exclude>**/*</exclude>
+ </excludes>
+ </filter>
+ </filters>
+
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
+
<createDependencyReducedPom>true</createDependencyReducedPom>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/lucene-sandbox-9.0.0/src/main/resources/OSGI-INF/bundle.info
b/lucene-sandbox-9.0.0/src/main/resources/OSGI-INF/bundle.info
new file mode 100644
index 0000000..ff8c068
--- /dev/null
+++ b/lucene-sandbox-9.0.0/src/main/resources/OSGI-INF/bundle.info
@@ -0,0 +1,12 @@
+\u001B[1mSYNOPSIS\u001B[0m
+ ${project.description}
+
+ Original Maven URL:
+ \u001B[33mmvn:${pkgGroupId}/${pkgArtifactId}/${pkgVersion}\u001B[0m
+
+\u001B[1mDESCRIPTION\u001B[0m
+ Apache Lucene(TM) is a high-performance, full-featured text search engine
library written entirely in Java.
+ It is a technology suitable for nearly any application that requires
full-text search, especially cross-platform.
+
+\u001B[1mSEE ALSO\u001B[0m
+ \u001B[36mhttp://lucene.apache.org/java/docs/index.html\u001B[0m
diff --git a/pom.xml b/pom.xml
index 3a32bef..c3eaaf9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -104,6 +104,10 @@
<module>htmlunit-2.56.0</module>
<module>thymeleaf-3.0.14.RELEASE</module>
<module>jruby-9.3.2.0</module>
+ <module>lucene-9.0.0</module>
+ <module>lucene-queries-9.0.0</module>
+ <module>lucene-queryparser-9.0.0</module>
+ <module>lucene-sandbox-9.0.0</module>
</modules>
</project>