From 9668623b25cd6a3fefe9ea9d784ba0737dabfbc2 Mon Sep 17 00:00:00 2001 From: redkale Date: Tue, 4 Jun 2024 19:53:34 +0800 Subject: [PATCH] pom --- .github/workflows/maven_snapshot.yml | 4 +- my/pom.xml | 157 +++++++++++++++++---------- pom.xml | 83 -------------- 3 files changed, 103 insertions(+), 141 deletions(-) diff --git a/.github/workflows/maven_snapshot.yml b/.github/workflows/maven_snapshot.yml index 4e5b263e7..0c99b83a0 100644 --- a/.github/workflows/maven_snapshot.yml +++ b/.github/workflows/maven_snapshot.yml @@ -27,7 +27,9 @@ jobs: MAVEN_USERNAME: ${{ secrets.OSSRHUSERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRHPASSWORD }} - name: Build with Maven - run: mvn --batch-mode -e -X clean deploy -DskipTests=true + run: | + copy my/pom.xml pom.xml + mvn --batch-mode -e -X clean deploy -DskipTests=true env: MAVEN_GPG_KEY: ${{ secrets.OSSRHGPGKEY }} MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRHGPGPASSWORD }} diff --git a/my/pom.xml b/my/pom.xml index d23ca3e63..93a0050f2 100644 --- a/my/pom.xml +++ b/my/pom.xml @@ -1,37 +1,33 @@ - + 4.0.0 org.redkale redkale jar RedkaleProject - http://redkale.org + https://redkale.org redkale -- java framework - 2.7.0-SNAPSHOT + 2.8.0-SNAPSHOT UTF-8 11 11 - - 5.7.0 - 3.2.0 - 3.0.1 - 3.9.0 - 3.0.0 - 3.0.0 + + 5.9.0 + 3.4.0 + 3.2.4 + 3.2.0 + 3.7.0 + 1.7.0 + 3.13.0 + 3.2.5 + 3.2.5 2.43.0 2.46.0 + - - - - org.junit.jupiter - junit-jupiter - ${junit.version} - test - - @@ -42,6 +38,28 @@ + + + org.junit.jupiter + junit-jupiter + ${junit.version} + test + + + + + + central + Central Repository + https://repo.maven.apache.org/maven2 + + + sonatype-nexus-snapshots + Sonatype Nexus Snapshots + https://oss.sonatype.org/content/repositories/snapshots + + + Redkale @@ -60,16 +78,16 @@ 8 - + - - ossrh - https://oss.sonatype.org/content/repositories/snapshots - ossrh https://oss.sonatype.org/service/local/staging/deploy/maven2/ + + ossrh + https://oss.sonatype.org/content/repositories/snapshots/ + @@ -77,26 +95,46 @@ scm:git:git@github.com/redkale/redkale.git scm:git:git@github.com:redkale/redkale.git - + + + GitHub Issues + https://github.com/redkale/redkale/issues + + + org.apache.maven.plugins maven-compiler-plugin - ${maven-compiler-plugin.version} - - -parameters + ${maven-compiler-plugin.version} + UTF-8 - - - - + + -parameters + + - + org.apache.maven.plugins maven-jar-plugin - ${maven-plugin.version} + ${maven-jar-plugin.version} false @@ -106,7 +144,22 @@ - + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + once + -Dfile.encoding=UTF-8 + + + + + org.apache.maven.plugins + maven-failsafe-plugin + ${maven-failsafe-plugin.version} + org.apache.maven.plugins maven-gpg-plugin @@ -118,6 +171,9 @@ sign + + bc + @@ -125,7 +181,7 @@ org.apache.maven.plugins maven-source-plugin - ${maven-plugin.version} + ${maven-source-plugin.version} @@ -134,28 +190,15 @@ - - - org.apache.maven.plugins - maven-javadoc-plugin - ${maven-plugin.version} - - - - jar - - - - org.apache.maven.plugins maven-assembly-plugin - ${maven-plugin.version} + ${maven-assembly-plugin.version} false - assembly.xml + my/assembly.xml @@ -172,7 +215,7 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.6.13 + ${nexus-staging-plugin.version} true ossrh @@ -180,21 +223,22 @@ true - + com.diffplug.spotless spotless-maven-plugin ${spotless-maven-plugin.version} + UNIX - src/** + src/**/java/**/*.java - true + true 4 @@ -216,8 +260,7 @@ - - \ No newline at end of file + diff --git a/pom.xml b/pom.xml index 93a0050f2..34479517e 100644 --- a/pom.xml +++ b/pom.xml @@ -17,10 +17,6 @@ 5.9.0 3.4.0 - 3.2.4 - 3.2.0 - 3.7.0 - 1.7.0 3.13.0 3.2.5 3.2.5 @@ -79,28 +75,12 @@ - - - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - - ossrh - https://oss.sonatype.org/content/repositories/snapshots/ - - - https://github.com/redkale/redkale scm:git:git@github.com/redkale/redkale.git scm:git:git@github.com:redkale/redkale.git - - GitHub Issues - https://github.com/redkale/redkale/issues - - @@ -160,70 +140,7 @@ maven-failsafe-plugin ${maven-failsafe-plugin.version} - - org.apache.maven.plugins - maven-gpg-plugin - ${maven-gpg-plugin.version} - - - sign-artifacts - verify - - sign - - - bc - - - - - - org.apache.maven.plugins - maven-source-plugin - ${maven-source-plugin.version} - - - - jar - - - - - - - org.apache.maven.plugins - maven-assembly-plugin - ${maven-assembly-plugin.version} - - false - - my/assembly.xml - - - - - redkale - package - - single - - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - ${nexus-staging-plugin.version} - true - - ossrh - https://oss.sonatype.org/ - true - - - com.diffplug.spotless spotless-maven-plugin