From aefff1420cb9f1c603d57a12a211b4c3feb0cb9f Mon Sep 17 00:00:00 2001 From: Nick Cross Date: Thu, 5 Dec 2024 14:10:38 +0000 Subject: [PATCH] Release configuration. Add impsort/formatter. --- .github/workflows/maven.yml | 4 ++-- pom.xml | 47 +++++++++++++++++++++++++++++++++++-- 2 files changed, 47 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index f019766..346164f 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -65,7 +65,7 @@ jobs: java-version: 21 # https://github.com/marketplace/actions/maven-setings-action - name: Maven Settings - uses: s4u/maven-settings-action@v3.0.0 + uses: s4u/maven-settings-action@v3.1.0 with: sonatypeSnapshots: true githubServer: false @@ -76,4 +76,4 @@ jobs: "password": "${{ secrets.SONATYPE_PASSWORD }}" }] - name: Deploy Snapshot - run: mvn -B -V org.apache.maven.plugins:maven-source-plugin:jar-no-fork deploy + run: mvn -B -V -Pjboss-release org.apache.maven.plugins:maven-source-plugin:jar-no-fork deploy diff --git a/pom.xml b/pom.xml index 6318970..d132849 100644 --- a/pom.xml +++ b/pom.xml @@ -43,11 +43,21 @@ UTF-8 UTF-8 + + sonatype-nexus-staging + https://oss.sonatype.org/service/local/staging/deploy/maven2 + sonatype-nexus-snapshots + https://oss.sonatype.org/content/repositories/snapshots + quarkus-bom io.quarkus.platform 3.17.3 - 1.18.32 + 1.18.32 + 2.24.1 + 1.12.0 + + false @@ -79,7 +89,7 @@ org.projectlombok lombok - ${version.lombok} + ${lombok.version} provided @@ -112,6 +122,39 @@ + + net.revelc.code.formatter + formatter-maven-plugin + ${formatter-maven-plugin.version} + + + io.quarkus + quarkus-ide-config + ${quarkus.platform.version} + + + + + .cache/formatter-maven-plugin-${formatter-maven-plugin.version} + eclipse-format.xml + LF + ${format.skip} + + + + net.revelc.code + impsort-maven-plugin + ${impsort-maven-plugin.version} + + + .cache/impsort-maven-plugin-${impsort-maven-plugin.version} + java.,javax.,jakarta.,org.,com. + * + LF + ${format.skip} + true + + maven-surefire-plugin