|
317 | 317 | <id>deploy-maven</id> |
318 | 318 | <build> |
319 | 319 | <plugins> |
320 | | - <plugin> |
321 | | - <groupId>org.apache.maven.plugins</groupId> |
322 | | - <artifactId>maven-source-plugin</artifactId> |
323 | | - <version>3.2.0</version> |
324 | | - <executions> |
325 | | - <execution> |
326 | | - <id>attach-sources</id> |
327 | | - <goals> |
328 | | - <goal>jar-no-fork</goal> |
329 | | - </goals> |
330 | | - </execution> |
331 | | - </executions> |
332 | | - </plugin> |
333 | | - <plugin> |
334 | | - <groupId>org.apache.maven.plugins</groupId> |
335 | | - <artifactId>maven-javadoc-plugin</artifactId> |
336 | | - <version>3.3.2</version> |
337 | | - <executions> |
338 | | - <execution> |
339 | | - <id>attach-javadocs</id> |
340 | | - <goals> |
341 | | - <goal>jar</goal> |
342 | | - </goals> |
343 | | - </execution> |
344 | | - </executions> |
345 | | - <configuration> |
346 | | - <doclint>none</doclint> |
347 | | - </configuration> |
348 | | - </plugin> |
349 | | - <plugin> |
350 | | - <groupId>org.apache.maven.plugins</groupId> |
351 | | - <artifactId>maven-gpg-plugin</artifactId> |
352 | | - <version>1.6</version> |
353 | | - <executions> |
354 | | - <execution> |
355 | | - <id>sign-artifacts</id> |
356 | | - <phase>deploy</phase> |
357 | | - <goals> |
358 | | - <goal>sign</goal> |
359 | | - </goals> |
360 | | - <configuration> |
361 | | - <!-- Prevent `gpg` from using pinentry programs --> |
362 | | - <gpgArguments> |
363 | | - <arg>--pinentry-mode</arg> |
364 | | - <arg>loopback</arg> |
365 | | - </gpgArguments> |
366 | | - </configuration> |
367 | | - </execution> |
368 | | - </executions> |
369 | | - </plugin> |
370 | | - <!-- Unified publishing plugin for Sonatype Central (releases & snapshots) --> |
371 | 320 | <plugin> |
372 | 321 | <groupId>org.sonatype.central</groupId> |
373 | 322 | <artifactId>central-publishing-maven-plugin</artifactId> |
374 | 323 | <version>0.8.0</version> |
375 | 324 | <extensions>true</extensions> |
376 | 325 | <configuration> |
377 | | - <!-- Must match the <server><id>ossrh</id> in your settings.xml --> |
378 | 326 | <publishingServerId>ossrh</publishingServerId> |
379 | | - <!-- Automatically close and release staging repositories --> |
380 | 327 | <autoPublish>true</autoPublish> |
381 | | - <!-- Wait until artifacts are actually published --> |
382 | 328 | <waitUntil>published</waitUntil> |
383 | | - <!-- Skip already published components in multimodule builds --> |
384 | 329 | <ignorePublishedComponents>true</ignorePublishedComponents> |
385 | 330 | </configuration> |
386 | 331 | </plugin> |
387 | | - |
388 | 332 | </plugins> |
389 | 333 | </build> |
390 | 334 | </profile> |
|
0 commit comments