diff --git a/.github/workflows/depoly.yml b/.github/workflows/depoly.yml index b649dfc..ac8b86f 100644 --- a/.github/workflows/depoly.yml +++ b/.github/workflows/depoly.yml @@ -32,7 +32,7 @@ jobs: gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase - name: Publish to Apache Maven Central - run: mvn deploy -Prelease + run: mvn com.github.yulichang:pom-maven-plugin:1.1:pom -Prelease && mvn clean deploy -Prelease env: MAVEN_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }} MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }} diff --git a/mybatis-plus-join-test/pom.xml b/mybatis-plus-join-test/pom.xml index 04aa5c7..dd2e830 100644 --- a/mybatis-plus-join-test/pom.xml +++ b/mybatis-plus-join-test/pom.xml @@ -114,29 +114,6 @@ true - - org.sonatype.plugins - nexus-staging-maven-plugin - true - - true - - - - org.apache.maven.plugins - maven-source-plugin - - - attach-sources - - jar-no-fork - - - - - true - - org.apache.maven.plugins maven-javadoc-plugin @@ -144,30 +121,6 @@ true - - org.codehaus.mojo - flatten-maven-plugin - - true - resolveCiFriendliesOnly - - - - flatten - process-resources - - flatten - - - - flatten.clean - clean - - clean - - - - - + \ No newline at end of file diff --git a/pom.xml b/pom.xml index e507a97..e6e758a 100644 --- a/pom.xml +++ b/pom.xml @@ -105,6 +105,21 @@ release + + com.github.yulichang + pom-maven-plugin + 1.0 + + + + remove + mybatis-plus-join-root + project/modules/module + \S*-test + + + + org.sonatype.plugins nexus-staging-maven-plugin