From edc396d94ab951b192b9a0bc47fb76c07a81a6ee Mon Sep 17 00:00:00 2001 From: Dennis Bock Date: Sun, 7 Jul 2024 08:52:14 +0200 Subject: [PATCH 1/7] Feature/release with maven (#498) * Release with Maven * GIT_HUB_PACKAGES_ACCESS_TOKEN_WRITE * Release with Maven --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b4dc55..5485487 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,8 +48,9 @@ jobs: node-version: 14.x registry-url: "https://npm.pkg.github.com" scope: "@dipa-projekt" - - name: Build & Analyze with Maven - run: mvn -s .mvn/settings.xml -P develop-ci -Ddocker.skip.build=true -B clean install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar --file pom.xml + - name: Release with Maven + run: mvn -s .mvn/settings.xml -B -DreleaseVersion=${{ github.event.inputs.release_version }} gitflow:release --file pom.xml + #run: mvn -s .mvn/settings.xml -P develop-ci -Ddocker.skip.build=true -B clean install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar --file pom.xml env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} From 7f64fe2b5215d41c5355d71f240c1cefe5ba92e9 Mon Sep 17 00:00:00 2001 From: Dennis Bock Date: Sun, 7 Jul 2024 09:28:01 +0200 Subject: [PATCH 2/7] Feature/release with maven (#499) * Release with Maven * GIT_HUB_PACKAGES_ACCESS_TOKEN_WRITE * Release with Maven * downgraded to version 0.0.11 --- client/pom.xml | 2 +- pom.xml | 2 +- server/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/pom.xml b/client/pom.xml index 7b80d88..682d558 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -5,7 +5,7 @@ online.projektassistent projektassistent-parent - 0.0.12 + 0.0.11 projektassistent-client diff --git a/pom.xml b/pom.xml index a91e065..6d2d328 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ online.projektassistent projektassistent-parent pom - 0.0.12 + 0.0.11 Projektassistent :: Parent Projektassistent diff --git a/server/pom.xml b/server/pom.xml index 6c38e23..b70558d 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -6,7 +6,7 @@ online.projektassistent projektassistent-parent - 0.0.12 + 0.0.11 projektassistent-server From d99acd454845517a9fd4d501310aa6557361e2f7 Mon Sep 17 00:00:00 2001 From: Dennis Bock Date: Sun, 7 Jul 2024 09:33:21 +0200 Subject: [PATCH 3/7] Feature/release with maven (#500) * Release with Maven * GIT_HUB_PACKAGES_ACCESS_TOKEN_WRITE * Release with Maven * downgraded to version 0.0.11 * Build & Analyze with Maven From 7ed53923de8e574095a5c7decacae592c803c89c Mon Sep 17 00:00:00 2001 From: Dennis Bock Date: Sun, 7 Jul 2024 09:38:05 +0200 Subject: [PATCH 4/7] Update release.yml (#501) --- .github/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5485487..5b4dc55 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,9 +48,8 @@ jobs: node-version: 14.x registry-url: "https://npm.pkg.github.com" scope: "@dipa-projekt" - - name: Release with Maven - run: mvn -s .mvn/settings.xml -B -DreleaseVersion=${{ github.event.inputs.release_version }} gitflow:release --file pom.xml - #run: mvn -s .mvn/settings.xml -P develop-ci -Ddocker.skip.build=true -B clean install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar --file pom.xml + - name: Build & Analyze with Maven + run: mvn -s .mvn/settings.xml -P develop-ci -Ddocker.skip.build=true -B clean install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar --file pom.xml env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} From e102bffb01c719819d3f07a23138479e1bc756db Mon Sep 17 00:00:00 2001 From: Dennis Bock Date: Sun, 7 Jul 2024 09:55:26 +0200 Subject: [PATCH 5/7] Test (#502) --- .github/workflows/release.yml | 4 ++-- .mvn/settings.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b4dc55..b1b8d0d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,8 +48,8 @@ jobs: node-version: 14.x registry-url: "https://npm.pkg.github.com" scope: "@dipa-projekt" - - name: Build & Analyze with Maven - run: mvn -s .mvn/settings.xml -P develop-ci -Ddocker.skip.build=true -B clean install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar --file pom.xml + - name: Release with Maven + run: mvn -s .mvn/settings.xml -B -DreleaseVersion=${{ github.event.inputs.release_version }} gitflow:release --file pom.xml env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/.mvn/settings.xml b/.mvn/settings.xml index 1adbbb8..3758525 100644 --- a/.mvn/settings.xml +++ b/.mvn/settings.xml @@ -37,7 +37,7 @@ github ${env.GIT_HUB_USERNAME} - ${env.GIT_HUB_PACKAGES_ACCESS_TOKEN_WRITE} + ${env.GIT_HUB_PACKAGES_ACCESS_TOKEN} github-packages From ea94b9d2eb8cec84217e9181104a4bba6347cb67 Mon Sep 17 00:00:00 2001 From: Dennis Bock Date: Sun, 7 Jul 2024 10:00:33 +0200 Subject: [PATCH 6/7] Test (#503) * Test * updated to version 0.0.12 * updated to version 0.0.12 --- client/pom.xml | 2 +- pom.xml | 2 +- server/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/pom.xml b/client/pom.xml index 682d558..7b80d88 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -5,7 +5,7 @@ online.projektassistent projektassistent-parent - 0.0.11 + 0.0.12 projektassistent-client diff --git a/pom.xml b/pom.xml index 6d2d328..a91e065 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ online.projektassistent projektassistent-parent pom - 0.0.11 + 0.0.12 Projektassistent :: Parent Projektassistent diff --git a/server/pom.xml b/server/pom.xml index b70558d..6c38e23 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -6,7 +6,7 @@ online.projektassistent projektassistent-parent - 0.0.11 + 0.0.12 projektassistent-server From 0fb1e31b1032f576275ce3dbd75daae09f279254 Mon Sep 17 00:00:00 2001 From: Dennis Bock Date: Sun, 7 Jul 2024 10:55:29 +0200 Subject: [PATCH 7/7] Test (#504) * Test * updated to version 0.0.12 * updated to version 0.0.12 * bearer token --- .mvn/settings.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.mvn/settings.xml b/.mvn/settings.xml index 3758525..694b89b 100644 --- a/.mvn/settings.xml +++ b/.mvn/settings.xml @@ -38,6 +38,14 @@ github ${env.GIT_HUB_USERNAME} ${env.GIT_HUB_PACKAGES_ACCESS_TOKEN} + + + + Authorization + Bearer ${env.GIT_HUB_PACKAGES_ACCESS_TOKEN_WRITE} + + + github-packages