File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed
Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 4848 gpg-passphrase : PASSPHRASE
4949
5050 - name : Publish to Maven Central Repository
51- run : mvn -Pdeploy -Pproduction --batch-mode deploy
51+ run : mvn -Prelease-sign-artifacts - Pdeploy -Pproduction --batch-mode deploy
5252 env :
5353 MAVEN_USERNAME : ${{ secrets.ORG_OSSRH_USERNAME }}
5454 MAVEN_PASSWORD : ${{ secrets.ORG_OSSRH_PASSWORD }}
Original file line number Diff line number Diff line change 111111 <id >deploy</id >
112112 <build >
113113 <plugins >
114+ <plugin >
115+ <groupId >org.apache.maven.plugins</groupId >
116+ <artifactId >maven-source-plugin</artifactId >
117+ </plugin >
114118 <plugin >
115119 <groupId >org.apache.maven.plugins</groupId >
116120 <artifactId >maven-javadoc-plugin</artifactId >
212216 <artifactId >maven-site-plugin</artifactId >
213217 <version >3.12.1</version >
214218 </plugin >
219+ <plugin >
220+ <groupId >org.apache.maven.plugins</groupId >
221+ <artifactId >maven-source-plugin</artifactId >
222+ <version >3.2.1</version >
223+ <executions >
224+ <execution >
225+ <id >attach-sources</id >
226+ <goals >
227+ <goal >jar-no-fork</goal >
228+ </goals >
229+ </execution >
230+ </executions >
231+ </plugin >
215232 <plugin >
216233 <artifactId >maven-javadoc-plugin</artifactId >
217234 <version >3.6.3</version >
235+ <executions >
236+ <execution >
237+ <id >attach-javadocs</id >
238+ <goals >
239+ <goal >jar</goal >
240+ </goals >
241+ </execution >
242+ </executions >
218243 </plugin >
219244 <plugin >
220245 <artifactId >maven-project-info-reports-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments