File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 242242 </plugins >
243243 </pluginManagement >
244244 </build >
245+ <profiles >
246+ <profile >
247+ <id >release</id >
248+ <build >
249+ <plugins >
250+ <!-- Source -->
251+ <plugin >
252+ <groupId >org.apache.maven.plugins</groupId >
253+ <artifactId >maven-source-plugin</artifactId >
254+ <version >2.2.1</version >
255+ <executions >
256+ <execution >
257+ <phase >package</phase >
258+ <goals >
259+ <goal >jar-no-fork</goal >
260+ </goals >
261+ </execution >
262+ </executions >
263+ </plugin >
264+ <!-- Javadoc -->
265+ <plugin >
266+ <groupId >org.apache.maven.plugins</groupId >
267+ <artifactId >maven-javadoc-plugin</artifactId >
268+ <version >2.9.1</version >
269+ <executions >
270+ <execution >
271+ <phase >package</phase >
272+ <goals >
273+ <goal >jar</goal >
274+ </goals >
275+ </execution >
276+ </executions >
277+ </plugin >
278+ <!-- GPG -->
279+ <plugin >
280+ <groupId >org.apache.maven.plugins</groupId >
281+ <artifactId >maven-gpg-plugin</artifactId >
282+ <version >1.6</version >
283+ <executions >
284+ <execution >
285+ <phase >verify</phase >
286+ <goals >
287+ <goal >sign</goal >
288+ </goals >
289+ </execution >
290+ </executions >
291+ </plugin >
292+ <plugin >
293+ <groupId >org.sonatype.plugins</groupId >
294+ <artifactId >nexus-staging-maven-plugin</artifactId >
295+ <version >1.6.12</version >
296+ <extensions >true</extensions >
297+ <configuration >
298+ <serverId >sonatype</serverId >
299+ <nexusUrl >https://s01.oss.sonatype.org/</nexusUrl >
300+ <autoReleaseAfterClose >true</autoReleaseAfterClose >
301+ </configuration >
302+ </plugin >
303+ </plugins >
304+ </build >
305+
306+ <distributionManagement >
307+ <snapshotRepository >
308+ <id >sonatype</id >
309+ <url >https://s01.oss.sonatype.org/content/repositories/snapshots/</url >
310+ </snapshotRepository >
311+ <repository >
312+ <id >sonatype</id >
313+ <url >https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url >
314+ </repository >
315+ </distributionManagement >
316+ </profile >
317+ </profiles >
245318</project >
You can’t perform that action at this time.
0 commit comments