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

Upgrade YASA to work with Solr 9x, with a 0.6.0 release #95

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/Build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 9
java-version: 11
- name: Build
run: ./mvnw -B clean package

17 changes: 12 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<groupId>io.github.kezhenxu94</groupId>
<artifactId>yasa</artifactId>
<version>0.5.2</version>
<version>0.6.0</version>

<modules>
<module>yasa-ui</module>
Expand All @@ -39,13 +39,14 @@
<url>https://github.com/yasa-org/yasa</url>

<properties>
<compiler.version>9</compiler.version>
<compiler.version>11</compiler.version>

<maven.compiler.source>9</maven.compiler.source>
<maven.compiler.target>9</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>

<lombok.version>1.18.10</lombok.version>
<solr-core-version>8.8.2</solr-core-version>
<solr-core-version>9.0.0</solr-core-version>
<commons-io-version>2.11.0</commons-io-version>
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
<frontend-maven-plugin.version>1.10.0</frontend-maven-plugin.version>
<maven-resources-plugin.version>3.1.0</maven-resources-plugin.version>
Expand All @@ -64,6 +65,12 @@
<version>${solr-core-version}</version>
</dependency>

<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io-version}</version>
</dependency>

<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Expand Down
7 changes: 6 additions & 1 deletion yasa-solr-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<artifactId>yasa</artifactId>
<groupId>io.github.kezhenxu94</groupId>
<version>0.5.2</version>
<version>0.6.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -34,6 +34,11 @@
<groupId>org.apache.solr</groupId>
<artifactId>solr-core</artifactId>
</dependency>

<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>

<dependency>
<groupId>org.projectlombok</groupId>
Expand Down
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome! I literally got bit by this in writing a nicer test_packages.bats test!

Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
import lombok.RequiredArgsConstructor;
import org.apache.commons.io.IOUtils;
import org.apache.http.entity.ContentType;
import org.apache.lucene.analysis.util.ResourceLoader;
import org.apache.lucene.analysis.util.ResourceLoaderAware;
import org.apache.lucene.util.ResourceLoader;
import org.apache.lucene.util.ResourceLoaderAware;
import org.apache.solr.api.Command;
import org.apache.solr.api.EndPoint;
import org.apache.solr.client.solrj.SolrRequest.METHOD;
Expand Down
2 changes: 1 addition & 1 deletion yasa-solr-plugin/src/main/resources/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version-constraint": "8 - 9",
"version-constraint": "9 - 10",
"plugins": [
{
"name": "yasa",
Expand Down
Loading
Loading