From 5cbcce00ac2ce7e625ddb71bda4b76d5134e17b3 Mon Sep 17 00:00:00 2001 From: Andreas Berger Date: Tue, 18 Jun 2024 18:20:53 +0200 Subject: [PATCH 1/6] Create release workflow --- .../workflows/changelog-configuration.json | 48 +++++++ .github/workflows/pr-build.yaml | 14 ++ .github/workflows/release.yaml | 127 ++++++++++++++++++ .mvn/wrapper/maven-wrapper.properties | 2 +- pom.xml | 38 ++++-- 5 files changed, 219 insertions(+), 10 deletions(-) create mode 100644 .github/workflows/changelog-configuration.json create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/changelog-configuration.json b/.github/workflows/changelog-configuration.json new file mode 100644 index 00000000..6b974e07 --- /dev/null +++ b/.github/workflows/changelog-configuration.json @@ -0,0 +1,48 @@ +{ + "max_tags_to_fetch": 200, + "max_pull_requests": 200, + "max_back_track_time_days": 365, + "exclude_merge_branches": [], + "sort": "ASC", + "template": "${{CHANGELOG}}", + "pr_template": "* ${{TITLE}} by @${{AUTHOR}} (#${{NUMBER}})", + "empty_template": "- no changes", + "categories": [ + { + "title": "## Features", + "labels": [ + "feature", + "enhancement" + ] + }, + { + "title": "## Fixes", + "labels": [ + "fix", + "bug" + ] + }, + { + "title": "## Documentation", + "labels": [ + "doc" + ] + }, + { + "title": "## Updated dependencies", + "labels": [ + "dependencies" + ] + } + ], + "ignore_labels": [ + "ignore" + ], + "label_extractor": [], + "duplicate_filter": null, + "transformers": [], + "tag_resolver": { + "method": "semver" + }, + "base_branches": [] +} diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index b1890108..d8f83ef0 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -12,16 +12,30 @@ jobs: runs-on: ubuntu-latest steps: - run: echo "The job was automatically triggered by a ${{ github.event_name }} event." + - name: Check out repository code uses: actions/checkout@v4 + - name: Setup Java JDK uses: actions/setup-java@v4 with: java-version: 17 distribution: adopt cache: maven + + - name: Cache Maven packages + uses: actions/cache@v3 + with: + path: ~/.m2 + key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-m2 + - name: Run Maven build run: ./mvnw --no-transfer-progress clean compile test + + - name: Prepare for release + run: ./mvnw mvn versions:set -DremoveSnapshot=true + - name: Publish Unit Test Results uses: EnricoMi/publish-unit-test-result-action@v2 if: always() diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 00000000..5c9bdc0f --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,127 @@ +name: Release + +on: + workflow_dispatch: + inputs: + GPG_PRIVATE_KEY: + description: 'The private key to sign the artifacts' + required: true + type: string + GPG_PASSPHRASE: + description: 'The passphrase for the private key' + required: false + type: string + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Java JDK + uses: actions/setup-java@v4 + with: + java-version: 17 + distribution: adopt + + - name: Cache Maven packages + uses: actions/cache@v3 + with: + path: ~/.m2 + key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-m2 + + - name: Build and Test + run: ./mvnw --no-transfer-progress clean verify + + - name: Prepare for release + run: ./mvnw versions:set -DremoveSnapshot=true + + - name: Get the version + id: get_version + run: echo ::set-output name=version::$(./mvnw -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec) + + - name: Import GPG key + run: echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --import + env: + GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} + + - name: Deploy + run: ./mvnw -Prelease --batch-mode -DskipTests deploy + env: + MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} + + - name: Build Changelog + id: build_changelog + uses: mikepenz/release-changelog-builder-action@v4 + with: + configuration: ".github/workflows/changelog-configuration.json" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Create GitHub Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ steps.get_version.output.version }} + release_name: Release ${{ steps.get_version.output.version }} + draft: false + prerelease: false + body: ${{steps.build_changelog.outputs.changelog}} + + - name: Upload jar to Release + id: upload-release-asset2 + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./target/neo4j-spatial-${{ steps.get_version.output.version }}.jar + asset_name: neo4j-spatial-${{ steps.get_version.output.version }}.jar + asset_content_type: application/java-archive + + - name: Upload server-plugin.zip to Release + id: upload-release-asset1 + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./target/neo4j-spatial-${{ steps.get_version.output.version }}-server-plugin.zip + asset_name: neo4j-spatial-${{ steps.get_version.output.version }}-server-plugin.zip + asset_content_type: application/zip + + - name: Upload sources jar to Release + id: upload-release-asset-sources + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./target/neo4j-spatial-${{ steps.get_version.outputs.version }}-sources.jar + asset_name: neo4j-spatial-${{ steps.get_version.outputs.version }}-sources.jar + asset_content_type: application/java-archive + + - name: Commit release POM and Tag + run: | + git config --local user.email "action@github.com" + git config --local user.name "GitHub Action" + git commit -m "Release ${{ steps.get_version.outputs.version }}" -a + git tag ${{ steps.get_version.outputs.version }} + + - name: Set next development version + run: ./mvnw versions:set -DnextSnapshot=true + + - name: Commit next snapshot + run: | + git commit -m "Next development version" -a + + - name: Push + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: ${{ github.ref }} diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index 27009da6..74620525 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -16,5 +16,5 @@ # under the License. wrapperVersion=3.3.2 distributionType=bin -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.8/apache-maven-3.9.8-bin.zip wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.2/maven-wrapper-3.3.2.jar diff --git a/pom.xml b/pom.xml index fce635a9..1567774b 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ 4.0.0 neo4j-spatial org.neo4j - 0.31.0-neo4j-5.19.0 + 5.19.0-SNAPSHOT Neo4j - Spatial Components Spatial utilities and components for Neo4j https://components.neo4j.org/${project.artifactId}/${project.version} @@ -52,14 +52,6 @@ - - org.apache.maven.plugins - maven-gpg-plugin - 1.6 - - true - - org.apache.maven.plugins maven-resources-plugin @@ -126,6 +118,19 @@ + + org.apache.maven.plugins + maven-source-plugin + 3.2.1 + + + attach-sources + + jar-no-fork + + + + maven-assembly-plugin 3.6.0 @@ -471,6 +476,21 @@ + + release + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.2.4 + + true + + + + + neo-docs-build From 241dce0ddeb8fbaae768b8879d1d150e37caeca6 Mon Sep 17 00:00:00 2001 From: Andreas Berger Date: Tue, 18 Jun 2024 19:29:09 +0200 Subject: [PATCH 2/6] fix pr build --- .github/workflows/pr-build.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index d8f83ef0..cd181075 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -33,9 +33,6 @@ jobs: - name: Run Maven build run: ./mvnw --no-transfer-progress clean compile test - - name: Prepare for release - run: ./mvnw mvn versions:set -DremoveSnapshot=true - - name: Publish Unit Test Results uses: EnricoMi/publish-unit-test-result-action@v2 if: always() From c00cba1d38c98bea3d54ae0bb277de2f123db28e Mon Sep 17 00:00:00 2001 From: Andreas Berger Date: Wed, 19 Jun 2024 09:38:47 +0200 Subject: [PATCH 3/6] reuse common actions, sign on verify, batch upload artifacts in one action --- .../workflows/actions/run-tests/action.yaml | 8 +++ .../workflows/actions/setup-jdk/action.yaml | 10 +++ .../actions/setup-maven-cache/action.yaml | 11 +++ .github/workflows/pr-build.yaml | 23 ++----- .github/workflows/release.yaml | 67 +++++-------------- pom.xml | 11 ++- 6 files changed, 59 insertions(+), 71 deletions(-) create mode 100644 .github/workflows/actions/run-tests/action.yaml create mode 100644 .github/workflows/actions/setup-jdk/action.yaml create mode 100644 .github/workflows/actions/setup-maven-cache/action.yaml diff --git a/.github/workflows/actions/run-tests/action.yaml b/.github/workflows/actions/run-tests/action.yaml new file mode 100644 index 00000000..40278f37 --- /dev/null +++ b/.github/workflows/actions/run-tests/action.yaml @@ -0,0 +1,8 @@ +name: "Run Tests" +description: "Runs the tests for the project" +runs: + using: "composite" + steps: + - name: Run Maven build + run: ./mvnw --no-transfer-progress clean compile test + shell: bash diff --git a/.github/workflows/actions/setup-jdk/action.yaml b/.github/workflows/actions/setup-jdk/action.yaml new file mode 100644 index 00000000..d95bd3bd --- /dev/null +++ b/.github/workflows/actions/setup-jdk/action.yaml @@ -0,0 +1,10 @@ +name: "Setups JDK" +description: "Setups JDK 17" +runs: + using: "composite" + steps: + - name: Setup Java JDK + uses: actions/setup-java@v4 + with: + java-version: 17 + distribution: adopt diff --git a/.github/workflows/actions/setup-maven-cache/action.yaml b/.github/workflows/actions/setup-maven-cache/action.yaml new file mode 100644 index 00000000..9e5c8194 --- /dev/null +++ b/.github/workflows/actions/setup-maven-cache/action.yaml @@ -0,0 +1,11 @@ +name: "Setups Maven Cache" +description: "Setups Maven Cache for the project" +runs: + using: "composite" + steps: + - name: Cache Maven packages + uses: actions/cache@v3 + with: + path: ~/.m2 + key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-m2 diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index cd181075..98c52349 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -13,25 +13,10 @@ jobs: steps: - run: echo "The job was automatically triggered by a ${{ github.event_name }} event." - - name: Check out repository code - uses: actions/checkout@v4 - - - name: Setup Java JDK - uses: actions/setup-java@v4 - with: - java-version: 17 - distribution: adopt - cache: maven - - - name: Cache Maven packages - uses: actions/cache@v3 - with: - path: ~/.m2 - key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} - restore-keys: ${{ runner.os }}-m2 - - - name: Run Maven build - run: ./mvnw --no-transfer-progress clean compile test + - uses: actions/checkout@v4 + - uses: ./.github/actions/setup-jdk + - uses: ./.github/actions/setup-maven-cache + - uses: ./.github/actions/run-tests - name: Publish Unit Test Results uses: EnricoMi/publish-unit-test-result-action@v2 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5c9bdc0f..8bdd5bb6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,24 +17,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup Java JDK - uses: actions/setup-java@v4 - with: - java-version: 17 - distribution: adopt - - - name: Cache Maven packages - uses: actions/cache@v3 - with: - path: ~/.m2 - key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} - restore-keys: ${{ runner.os }}-m2 - - - name: Build and Test - run: ./mvnw --no-transfer-progress clean verify + - uses: actions/checkout@v4 + - uses: ./.github/actions/setup-jdk + - uses: ./.github/actions/setup-maven-cache + - uses: ./.github/actions/run-tests - name: Prepare for release run: ./mvnw versions:set -DremoveSnapshot=true @@ -49,7 +35,7 @@ jobs: GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} - name: Deploy - run: ./mvnw -Prelease --batch-mode -DskipTests deploy + run: ./mvnw -Psign --batch-mode -DskipTests deploy env: MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} @@ -73,38 +59,17 @@ jobs: prerelease: false body: ${{steps.build_changelog.outputs.changelog}} - - name: Upload jar to Release - id: upload-release-asset2 - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./target/neo4j-spatial-${{ steps.get_version.output.version }}.jar - asset_name: neo4j-spatial-${{ steps.get_version.output.version }}.jar - asset_content_type: application/java-archive - - - name: Upload server-plugin.zip to Release - id: upload-release-asset1 - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./target/neo4j-spatial-${{ steps.get_version.output.version }}-server-plugin.zip - asset_name: neo4j-spatial-${{ steps.get_version.output.version }}-server-plugin.zip - asset_content_type: application/zip - - - name: Upload sources jar to Release - id: upload-release-asset-sources - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./target/neo4j-spatial-${{ steps.get_version.outputs.version }}-sources.jar - asset_name: neo4j-spatial-${{ steps.get_version.outputs.version }}-sources.jar - asset_content_type: application/java-archive + - name: Upload all jars to Release + run: | + for file in ./target/*.jar; do + echo "Uploading $file" + curl \ + -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ + -H "Content-Type: $(file -b --mime-type $file)" \ + --data-binary @"$file" \ + "${{ steps.create_release.outputs.upload_url }}?name=$(basename $file)" + done + shell: bash - name: Commit release POM and Tag run: | diff --git a/pom.xml b/pom.xml index 1567774b..3875d07f 100644 --- a/pom.xml +++ b/pom.xml @@ -477,7 +477,7 @@ - release + sign @@ -487,6 +487,15 @@ true + + + sign-artifacts + verify + + sign + + + From 67e80fba57f9fc197f98e1e17871ebe84a9adf5a Mon Sep 17 00:00:00 2001 From: Andreas Berger Date: Wed, 19 Jun 2024 09:40:55 +0200 Subject: [PATCH 4/6] fix file names --- .github/{workflows => }/actions/run-tests/action.yaml | 0 .github/{workflows => }/actions/setup-jdk/action.yaml | 0 .github/{workflows => }/actions/setup-maven-cache/action.yaml | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename .github/{workflows => }/actions/run-tests/action.yaml (100%) rename .github/{workflows => }/actions/setup-jdk/action.yaml (100%) rename .github/{workflows => }/actions/setup-maven-cache/action.yaml (100%) diff --git a/.github/workflows/actions/run-tests/action.yaml b/.github/actions/run-tests/action.yaml similarity index 100% rename from .github/workflows/actions/run-tests/action.yaml rename to .github/actions/run-tests/action.yaml diff --git a/.github/workflows/actions/setup-jdk/action.yaml b/.github/actions/setup-jdk/action.yaml similarity index 100% rename from .github/workflows/actions/setup-jdk/action.yaml rename to .github/actions/setup-jdk/action.yaml diff --git a/.github/workflows/actions/setup-maven-cache/action.yaml b/.github/actions/setup-maven-cache/action.yaml similarity index 100% rename from .github/workflows/actions/setup-maven-cache/action.yaml rename to .github/actions/setup-maven-cache/action.yaml From 273757c784daadf2e6c3180447875ba3f187ce40 Mon Sep 17 00:00:00 2001 From: Andreas Berger Date: Wed, 19 Jun 2024 10:01:06 +0200 Subject: [PATCH 5/6] add new section for code-cleanup --- .github/workflows/changelog-configuration.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/changelog-configuration.json b/.github/workflows/changelog-configuration.json index 6b974e07..cbf67e42 100644 --- a/.github/workflows/changelog-configuration.json +++ b/.github/workflows/changelog-configuration.json @@ -28,6 +28,12 @@ "doc" ] }, + { + "title": "## Code-Cleanup", + "labels": [ + "refactoring" + ] + }, { "title": "## Updated dependencies", "labels": [ From e7f466ae39a84f9ed89afdcf7ef07671638aecb9 Mon Sep 17 00:00:00 2001 From: Andreas Berger Date: Thu, 20 Jun 2024 12:27:58 +0200 Subject: [PATCH 6/6] adjsut to publish to maven central --- .github/actions/setup-jdk/action.yaml | 3 + .github/workflows/release.yaml | 91 ++++++++++++++++++--------- README.md | 27 +------- pom.xml | 60 ++++++++++++------ 4 files changed, 108 insertions(+), 73 deletions(-) diff --git a/.github/actions/setup-jdk/action.yaml b/.github/actions/setup-jdk/action.yaml index d95bd3bd..365ca6d4 100644 --- a/.github/actions/setup-jdk/action.yaml +++ b/.github/actions/setup-jdk/action.yaml @@ -8,3 +8,6 @@ runs: with: java-version: 17 distribution: adopt + server-id: ossrh + server-username: MAVEN_USERNAME + server-password: MAVEN_PASSWORD diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8bdd5bb6..5b429b83 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,15 +7,19 @@ on: description: 'The private key to sign the artifacts' required: true type: string - GPG_PASSPHRASE: - description: 'The passphrase for the private key' - required: false + OSSRH_USERNAME: + description: 'The username to deploy to Maven Central' + required: true + type: string + OSSRH_TOKEN: + description: 'The token to deploy to Maven Central' + required: true type: string jobs: - build: + build_and_deploy: + name: Build and Deploy to Maven Central runs-on: ubuntu-latest - steps: - uses: actions/checkout@v4 - uses: ./.github/actions/setup-jdk @@ -23,7 +27,7 @@ jobs: - uses: ./.github/actions/run-tests - name: Prepare for release - run: ./mvnw versions:set -DremoveSnapshot=true + run: ./mvnw versions:set -DremoveSnapshot=true -DgenerateBackupPoms=false - name: Get the version id: get_version @@ -35,9 +39,60 @@ jobs: GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} - name: Deploy - run: ./mvnw -Psign --batch-mode -DskipTests deploy + run: ./mvnw -P release --batch-mode -DskipTests deploy env: - MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} + MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} + + - name: Upload JARs as artifact + uses: actions/upload-artifact@v2 + with: + name: jars + path: ./target/*.jar + + commit_and_tag: + name: Commit and Tag + needs: build_and_sign + runs-on: ubuntu-latest + steps: + - uses: ./.github/actions/setup-jdk + + - name: Set version + run: ./mvnw versions:set -DnewVersion=${{ steps.get_version.outputs.version }} -DgenerateBackupPoms=false + + - name: Update README.md + run: sed -i "s|.*|${{ steps.get_version.outputs.version }}|g" README.md + + - name: Commit release POM and Tag + run: | + git config --local user.email "action@github.com" + git config --local user.name "GitHub Action" + git commit -m "Release ${{ steps.get_version.outputs.version }}" -a + git tag ${{ steps.get_version.outputs.version }} + + - name: Set next development version + run: ./mvnw versions:set -DnextSnapshot=true -DgenerateBackupPoms=false + + - name: Commit next snapshot + run: | + git commit -m "Next development version" -a + + - name: Push + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: ${{ github.ref }} + + create_github_release_and_attach_artifacts: + name: Create GitHub Release and attach artifacts + needs: commit_and_tag + runs-on: ubuntu-latest + steps: + - name: Download build artifacts + uses: actions/download-artifact@v2 + with: + name: build-artifacts + path: ./target - name: Build Changelog id: build_changelog @@ -70,23 +125,3 @@ jobs: "${{ steps.create_release.outputs.upload_url }}?name=$(basename $file)" done shell: bash - - - name: Commit release POM and Tag - run: | - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" - git commit -m "Release ${{ steps.get_version.outputs.version }}" -a - git tag ${{ steps.get_version.outputs.version }} - - - name: Set next development version - run: ./mvnw versions:set -DnextSnapshot=true - - - name: Commit next snapshot - run: | - git commit -m "Next development version" -a - - - name: Push - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: ${{ github.ref }} diff --git a/README.md b/README.md index e1089d66..f1022813 100755 --- a/README.md +++ b/README.md @@ -350,7 +350,7 @@ mvn jetty:run org.neo4j neo4j-spatial - 0.19-neo4j-3.0.3 + 111 @@ -497,33 +497,10 @@ mvn clean install site -Pneo-docs-build Add the following repositories and dependency to your project's pom.xml: ~~~xml - - - neo4j-contrib-releases - https://raw.github.com/neo4j-contrib/m2/master/releases - - true - - - false - - - - neo4j-contrib-snapshots - https://raw.github.com/neo4j-contrib/m2/master/snapshots - - false - - - true - - - -[...] org.neo4j neo4j-spatial - 0.30.0-neo4j-5.13.0 + 5.13.0 ~~~ diff --git a/pom.xml b/pom.xml index 3875d07f..a6d23554 100644 --- a/pom.xml +++ b/pom.xml @@ -118,19 +118,6 @@ - - org.apache.maven.plugins - maven-source-plugin - 3.2.1 - - - attach-sources - - jar-no-fork - - - - maven-assembly-plugin 3.6.0 @@ -477,9 +464,35 @@ - sign + release + + org.apache.maven.plugins + maven-source-plugin + 3.3.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.6.3 + + + attach-javadocs + + jar + + + + org.apache.maven.plugins maven-gpg-plugin @@ -497,6 +510,17 @@ + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.13 + true + + ossrh + https://s01.oss.sonatype.org/ + true + + @@ -718,13 +742,9 @@ - - repo - https://raw.github.com/neo4j-contrib/m2/master/releases - - snapshot-repo - https://raw.github.com/neo4j-contrib/m2/master/snapshots + ossrh + https://s01.oss.sonatype.org/content/repositories/snapshots