Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new solr version #991

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
253 changes: 253 additions & 0 deletions solr/9.2.1.wso2v1/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,253 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
~ Copyright (c) 2022, WSO2 LLC. (http://www.wso2.com). All Rights Reserved.
~
~ This software is the property of WSO2 Inc. and its suppliers, if any.
~ Dissemination of any information or reproduction of any material contained
~ herein in any form is strictly forbidden, unless permitted by WSO2 expressly.
~ You may not alter or remove any copyright or other notice from copies of this content.
-->

<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">
<modelVersion>4.0.0</modelVersion>
<packaging>bundle</packaging>
<groupId>org.wso2.orbit.org.apache.solr</groupId>
<artifactId>solr</artifactId>
<version>${orbit.version.solr}</version>
<name>solr.wso2</name>
<description>
This bundle will represent solr and lucene jars
</description>

<dependencies>
<dependency>
<groupId>org.apache.solr</groupId>
<artifactId>solr-core</artifactId>
<version>${version.solr}</version>
<optional>true</optional>
<exclusions>
<exclusion>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
</exclusion>
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</exclusion>
<exclusion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
<exclusion>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-stax-api_1.0_spec</artifactId>
</exclusion>
<exclusion>
<groupId>woodstox</groupId>
<artifactId>wstx-asl</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.solr</groupId>
<artifactId>solr-solrj</artifactId>
<version>${version.solr}</version>
<optional>true</optional>
<exclusions>
<exclusion>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
</exclusion>
<exclusion>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
</exclusion>
<exclusion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
<exclusion>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>wstx-asl</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
<exclusion>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-stax-api_1.0_spec</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.rrd4j</groupId>
<artifactId>rrd4j</artifactId>
<version>${rrd4j.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-client</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-http</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-util</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-io</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.http2</groupId>
<artifactId>http2-client</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.http2</groupId>
<artifactId>http2-http-client-transport</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty.http2</groupId>
<artifactId>http2-common</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.apache.calcite</groupId>
<artifactId>calcite-core</artifactId>
<version>${calcite.version}</version>
</dependency>
<dependency>
<groupId>org.apache.calcite</groupId>
<artifactId>calcite-linq4j</artifactId>
<version>${calcite.version}</version>
</dependency>
<dependency>
<groupId>org.apache.calcite.avatica</groupId>
<artifactId>avatica-core</artifactId>
<version>${version.avatica.core}</version>
</dependency>
<dependency>
<groupId>org.wso2.orbit.org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
<version>${commons.collection.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
<version>${caffeine.version}</version>
</dependency>
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>${version.zookeeper}</version>
</dependency>
<dependency>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
<version>${version.metrics}</version>
</dependency>
</dependencies>

<distributionManagement>
<repository>
<id>wso2.releases</id>
<name>WSO2 internal Repository</name>
<url>https://maven.wso2.org/nexus/content/repositories/releases/</url>
</repository>
</distributionManagement>

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<version>${maven.bundle.plugin.version}</version>
<configuration>
<instructions>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Bundle-Name>${project.artifactId}</Bundle-Name>
<Export-Package>
org.apache.solr.*;version="${version.solr}"
</Export-Package>
<Import-Package>
!org.apache.solr.*,
!org.eclipse.jetty.*,
org.apache.lucene.*; version="${version.lucene}",
org.apache.commons.io.*;version="${version.commons.io}",
org.noggit.*;version="${version.noggit}",
com.spatial4j.*;version="${version.spatial4j}",
org.restlet.*;version="${version.restlet}",
org.locationtech.spatial4j.*; version="${version.locationtech.spatial4j}",
</Import-Package>
<Private-Package></Private-Package>
<Embed-Dependency>
solr-solrj;scope=compile|runtime;inline=true,
rrd4j;scope=compile|runtime;inline=false,
jetty-util;scope=compile|runtime;inline=false,
jetty-io;scope=compile|runtime;inline=false,
jetty-http;scope=compile|runtime;inline=false,
jetty-client;scope=compile|runtime;inline=false,
http2-http-client-transport;scope=compile|runtime;inline=false,
http2-common;scope=compile|runtime;inline=false,
http2-client;scope=compile|runtime;inline=false,
calcite-linq4j;scope=compile|runtime;inline=false,
calcite-core;scope=compile|runtime;inline=false,
avatica-core;scope=compile|runtime;inline=false,
commons-collections4;scope=compile|runtime;inline=false,
caffeine;scope=compile|runtime;inline=false,
zookeeper;scope=compile|runtime;inline=false,
metrics-core;scope=compile|runtime;inline=false,
</Embed-Dependency>
<Include-Resource>@solr-core-${version.solr}.jar!/*</Include-Resource>
<!--Dynamic imports enabled here because solr uses dynamic class loading to import lucene -->
<DynamicImport-Package>*</DynamicImport-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>

<properties>
<version.solr>9.2.1</version.solr>
<version.lucene>[9.0.0,10.0.0)</version.lucene>
<orbit.version.solr>${version.solr}.wso2v1</orbit.version.solr>
<version.noggit>[0.6,0.7)</version.noggit>
<version.commons.io>[2.4.0,2.12.0)</version.commons.io>
<version.zookeeper>3.8.0</version.zookeeper>
<version.spatial4j>[0.4.1,0.5)</version.spatial4j>
<version.restlet>[2.3.0,2.4.0)</version.restlet>
<maven.bundle.plugin.version>3.3.0</maven.bundle.plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<http.version>[4.3.0,4.4.0)</http.version>
<jetty.version>9.4.48.v20220622</jetty.version>
<rrd4j.version>3.8.1</rrd4j.version>
<calcite.version>1.32.0</calcite.version>
<version.avatica.core>1.22.0</version.avatica.core>
<version.locationtech.spatial4j>0.8</version.locationtech.spatial4j>
<commons.collection.version>4.4.wso2v1</commons.collection.version>
<caffeine.version>2.9.2</caffeine.version>
<version.metrics>4.2.9</version.metrics>
</properties>
</project>