File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed
Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ jobs:
114114 - name : " Deploy"
115115 run : |
116116 MVN_ARGS="${{ env.MVN_CLI_ARGS }} -Drelease -s settings.xml"
117- mvn org.sonatype.central:central-publishing-maven-plugin:publish $MVN_ARGS
117+ mvn deploy $MVN_ARGS
118118 env :
119119 MAVEN_GPG_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
120120
Original file line number Diff line number Diff line change @@ -724,6 +724,28 @@ https://gitbox.apache.org/repos/asf?p=maven-pmd-plugin.git;a=blob_plain;f=src/ma
724724 </plugins >
725725 </pluginManagement >
726726 <plugins >
727+ <!-- The release artifacts don't contain our custom config files for these plugins -->
728+ <plugin >
729+ <groupId >org.apache.maven.plugins</groupId >
730+ <artifactId >maven-checkstyle-plugin</artifactId >
731+ <configuration >
732+ <skip >true</skip >
733+ </configuration >
734+ </plugin >
735+ <plugin >
736+ <groupId >org.apache.maven.plugins</groupId >
737+ <artifactId >maven-pmd-plugin</artifactId >
738+ <configuration >
739+ <skip >true</skip >
740+ </configuration >
741+ </plugin >
742+ <plugin >
743+ <groupId >com.github.spotbugs</groupId >
744+ <artifactId >spotbugs-maven-plugin</artifactId >
745+ <configuration >
746+ <skip >true</skip >
747+ </configuration >
748+ </plugin >
727749 <plugin >
728750 <groupId >org.apache.maven.plugins</groupId >
729751 <artifactId >maven-source-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments