From 671f76c45a47216e1e7a8e6a08606f83676d7817 Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Sat, 16 Oct 2021 15:07:22 +0200 Subject: [PATCH] Add lucene as a submodule --- .github/workflows/maven-publish.yml | 1 - .gitmodules | 3 +++ lucene | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 lucene diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 6039c3f..dcc2669 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -42,7 +42,6 @@ jobs: if: github.ref == 'refs/heads/master' shell: bash run: | - git clone https://github.com/apache/lucene --depth 1 cd lucene ./gradlew assemble -x test -x errorprone publishToMavenLocal -x signJarsPublication mvn deploy:deploy-file -DgroupId=org.lucene -DartifactId=lucene-core -Dversion=9.0.0-SNAPSHOT -DgeneratePom=true -Dpackaging=jar -DrepositoryId=mchv-snapshot-distribution -Durl=https://mvn.mchv.eu/repository/mchv-snapshot -Dfile=lucene/core/build/libs/lucene-core-9.0.0-SNAPSHOT.jar -Djavadoc=lucene/core/build/libs/lucene-core-9.0.0-SNAPSHOT-javadoc.jar -Dsources=lucene/core/build/libs/lucene-core-9.0.0-SNAPSHOT-sources.jar diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..9c6f922 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "lucene"] + path = lucene + url = https://github.com/apache/lucene diff --git a/lucene b/lucene new file mode 160000 index 0000000..f38c401 --- /dev/null +++ b/lucene @@ -0,0 +1 @@ +Subproject commit f38c401283c43b17fa5c63b4da0a9ffc13660bc4