From c0e927bb76f4d7e0c14193da9244c6582e188c3b Mon Sep 17 00:00:00 2001 From: ferre-vaes <61710181+ferre-vaes@users.noreply.github.com> Date: Fri, 10 May 2024 10:27:19 +0200 Subject: [PATCH] fix: add setup-java action to Nexus workflow with only the java-version and distribution options (#12) --- .github/workflows/http-plane-headers-extension-nexus.yml | 5 +++++ http-plane-headers-extension/build.gradle.kts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/http-plane-headers-extension-nexus.yml b/.github/workflows/http-plane-headers-extension-nexus.yml index 0d458af..9c501ca 100644 --- a/.github/workflows/http-plane-headers-extension-nexus.yml +++ b/.github/workflows/http-plane-headers-extension-nexus.yml @@ -14,6 +14,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Set up Maven Central Repository + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'zulu' - name: Setup Gradle uses: gradle/gradle-build-action@v3 - name: Build & Publish Package diff --git a/http-plane-headers-extension/build.gradle.kts b/http-plane-headers-extension/build.gradle.kts index be8920e..0831686 100644 --- a/http-plane-headers-extension/build.gradle.kts +++ b/http-plane-headers-extension/build.gradle.kts @@ -59,7 +59,7 @@ tasks.register("sourcesJar") { publishing { publications { val publication = create("shadowJar") { - groupId = "be.vlaanderen.informatievlaanderen" + groupId = "be.vlaanderen.informatievlaanderen.ldes" artifactId = "http-plane-headers-extension" artifact(tasks["javadocJar"])