File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 178178 <extensions >true</extensions >
179179 <configuration >
180180 <serverId >ossrh</serverId >
181- <nexusUrl >https://oss.sonatype.org/</nexusUrl >
181+ <nexusUrl >https://s01. oss.sonatype.org/</nexusUrl >
182182 <!-- <stagingProfileId>19375019933d12</stagingProfileId> -->
183183 <autoReleaseAfterClose >true</autoReleaseAfterClose >
184184 </configuration >
222222 </plugins >
223223 </build >
224224 </profile >
225+ <!-- Deployment profile (required so these plugins are only used when deploying) -->
226+ <profile >
227+ <id >deploy</id >
228+ <build >
229+ <plugins >
230+ <!-- Source plugin -->
231+ <plugin >
232+ <groupId >org.apache.maven.plugins</groupId >
233+ <artifactId >maven-source-plugin</artifactId >
234+ <version >3.2.1</version >
235+ <executions >
236+ <execution >
237+ <id >attach-sources</id >
238+ <goals >
239+ <goal >jar-no-fork</goal >
240+ </goals >
241+ </execution >
242+ </executions >
243+ </plugin >
244+
245+ <!-- Javadoc plugin -->
246+ <plugin >
247+ <groupId >org.apache.maven.plugins</groupId >
248+ <artifactId >maven-javadoc-plugin</artifactId >
249+ <version >3.3.1</version >
250+ <executions >
251+ <execution >
252+ <id >attach-javadocs</id >
253+ <goals >
254+ <goal >jar</goal >
255+ </goals >
256+ </execution >
257+ </executions >
258+ </plugin >
259+
260+ <!-- GPG plugin -->
261+ <plugin >
262+ <groupId >org.apache.maven.plugins</groupId >
263+ <artifactId >maven-gpg-plugin</artifactId >
264+ <version >3.0.1</version >
265+ <executions >
266+ <execution >
267+ <id >sign-artifacts</id >
268+ <phase >verify</phase >
269+ <goals >
270+ <goal >sign</goal >
271+ </goals >
272+ <configuration >
273+ <!-- Prevent `gpg` from using pinentry programs -->
274+ <gpgArguments >
275+ <arg >--pinentry-mode</arg >
276+ <arg >loopback</arg >
277+ </gpgArguments >
278+ </configuration >
279+ </execution >
280+ </executions >
281+ </plugin >
282+ </plugins >
283+ </build >
284+ </profile >
225285 </profiles >
226286</project >
You can’t perform that action at this time.
0 commit comments