Skip to content

Commit 3e1c0a9

Browse files
committed
Merge remote-tracking branch 'origin/update-from-template' into develop
2 parents 5198ef2 + 062dd73 commit 3e1c0a9

File tree

6 files changed

+11
-93
lines changed

6 files changed

+11
-93
lines changed

.github/workflows/broken-links.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
GH_TOKEN: ${{ github.token }}
3232

3333
- name: Close issue if everything is fine
34-
if: env.lychee_exit_code == 0 && steps.find-issue.outputs.number != ''
34+
if: steps.lychee.outputs.exit_code == 0 && steps.find-issue.outputs.number != ''
3535
run: gh issue close -r 'not planned' ${{ steps.find-issue.outputs.number }}
3636
env:
3737
GH_TOKEN: ${{ github.token }}
3838

3939
- name: Create Issue From File
40-
if: env.lychee_exit_code != 0
40+
if: steps.lychee.outputs.exit_code != 0
4141
uses: peter-evans/create-issue-from-file@e8ef132d6df98ed982188e460ebb3b5d4ef3a9cd # v5
4242
with:
4343
issue-number: ${{ steps.find-issue.outputs.number }}

.github/workflows/release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,6 @@ jobs:
128128
runs-on: ubuntu-latest
129129
needs: [prepare-release]
130130
timeout-minutes: 60
131-
permissions:
132-
contents: write
133-
packages: write
134131
steps:
135132
- uses: actions/checkout@v4
136133

@@ -145,6 +142,8 @@ jobs:
145142
with: # running setup-java overwrites the settings.xml
146143
distribution: 'temurin'
147144
java-version: '17'
145+
server-id: github-central
146+
server-password: PACKAGES_CENTRAL_TOKEN
148147
gpg-passphrase: MAVEN_GPG_PASSPHRASE
149148
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Only import once
150149

@@ -155,9 +154,9 @@ jobs:
155154
modules+=($(echo $dependency_management_block | grep -oP '(?<=<artifactId>)[^<]+'))
156155
printf -v modules_joined '%s,' "${modules[@]}"
157156
modules_arg=$(echo "${modules_joined%,}")
158-
./mvnw -B deploy -pl "$modules_arg" -am -T2C -P publish -DskipTests -DaltDeploymentRepository=github::https://maven.pkg.github.com/${{ github.repository }}
157+
./mvnw -B deploy -pl "$modules_arg" -am -T2C -P publish -DskipTests -DaltDeploymentRepository=github-central::https://maven.pkg.github.com/xdev-software/central
159158
env:
160-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
159+
PACKAGES_CENTRAL_TOKEN: ${{ secrets.PACKAGES_CENTRAL_TOKEN }}
161160
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
162161

163162
- name: Set up JDK

.github/workflows/sonar.yml

Lines changed: 0 additions & 79 deletions
This file was deleted.

.github/workflows/test-deploy.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ jobs:
77
publish-maven:
88
runs-on: ubuntu-latest
99
timeout-minutes: 60
10-
permissions:
11-
contents: read
12-
packages: write
1310
steps:
1411
- uses: actions/checkout@v4
1512

@@ -18,6 +15,8 @@ jobs:
1815
with: # running setup-java overwrites the settings.xml
1916
distribution: 'temurin'
2017
java-version: '17'
18+
server-id: github-central
19+
server-password: PACKAGES_CENTRAL_TOKEN
2120
gpg-passphrase: MAVEN_GPG_PASSPHRASE
2221
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Only import once
2322

@@ -28,9 +27,9 @@ jobs:
2827
modules+=($(echo $dependency_management_block | grep -oP '(?<=<artifactId>)[^<]+'))
2928
printf -v modules_joined '%s,' "${modules[@]}"
3029
modules_arg=$(echo "${modules_joined%,}")
31-
./mvnw -B deploy -pl "$modules_arg" -am -T2C -P publish -DskipTests -DaltDeploymentRepository=github::https://maven.pkg.github.com/${{ github.repository }}
30+
./mvnw -B deploy -pl "$modules_arg" -am -T2C -P publish -DskipTests -DaltDeploymentRepository=github-central::https://maven.pkg.github.com/xdev-software/central
3231
env:
33-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
PACKAGES_CENTRAL_TOKEN: ${{ secrets.PACKAGES_CENTRAL_TOKEN }}
3433
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
3534

3635
- name: Set up JDK

.mvn/wrapper/maven-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
# KIND, either express or implied. See the License for the
1515
# specific language governing permissions and limitations
1616
# under the License.
17-
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.10/apache-maven-3.9.10-bin.zip
17+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.11/apache-maven-3.9.11-bin.zip

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[![Maven latest version](https://img.shields.io/maven-central/v/software.xdev.mockserver/client?logo=apache%20maven)](https://mvnrepository.com/artifact/software.xdev.mockserver/client)
22
[![DockerHub latest version](https://img.shields.io/docker/v/xdevsoftware/mockserver?sort=semver&logo=docker&label=DockerHub)](https://hub.docker.com/r/xdevsoftware/mockserver)
33
[![Build](https://img.shields.io/github/actions/workflow/status/xdev-software/mockserver-neolight/check-build.yml?branch=develop)](https://github.com/xdev-software/mockserver-neolight/actions/workflows/check-build.yml?query=branch%3Adevelop)
4-
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=xdev-software_mockserver-neolight&metric=alert_status)](https://sonarcloud.io/dashboard?id=xdev-software_mockserver-neolight)
54

65
# <img src="./assets/logo.avif" height=34 /> MockServer NeoLight
76

0 commit comments

Comments
 (0)