|
276 | 276 | </dependencies> |
277 | 277 |
|
278 | 278 | <build> |
| 279 | + <pluginManagement> |
| 280 | + <plugins> |
| 281 | + <plugin> |
| 282 | + <groupId>org.apache.maven.plugins</groupId> |
| 283 | + <artifactId>maven-dependency-plugin</artifactId> |
| 284 | + </plugin> |
| 285 | + </plugins> |
| 286 | + </pluginManagement> |
279 | 287 | <plugins> |
280 | 288 | <plugin> |
281 | 289 | <artifactId>maven-compiler-plugin</artifactId> |
|
318 | 326 | </plugin> |
319 | 327 |
|
320 | 328 | <plugin> |
| 329 | + <groupId>org.apache.maven.plugins</groupId> |
321 | 330 | <artifactId>maven-jar-plugin</artifactId> |
322 | | - <version>2.6</version> |
| 331 | + <version>3.1.0</version> |
323 | 332 | <configuration> |
324 | 333 | <archive> |
325 | 334 | <manifest> |
|
330 | 339 | </configuration> |
331 | 340 | </plugin> |
332 | 341 |
|
| 342 | + <plugin> |
| 343 | + <groupId>org.apache.maven.plugins</groupId> |
| 344 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 345 | + <version>3.0.1</version> |
| 346 | + <executions> |
| 347 | + <execution> |
| 348 | + <id>attach-javadocs</id> |
| 349 | + <phase>package</phase> |
| 350 | + <goals><goal>jar</goal></goals> |
| 351 | + </execution> |
| 352 | + </executions> |
| 353 | + </plugin> |
| 354 | + |
| 355 | + <plugin> |
| 356 | + <groupId>org.apache.maven.plugins</groupId> |
| 357 | + <artifactId>maven-source-plugin</artifactId> |
| 358 | + <version>3.0.1</version> |
| 359 | + <executions> |
| 360 | + <execution> |
| 361 | + <id>attach-sources</id> |
| 362 | + <phase>package</phase> |
| 363 | + <goals><goal>jar-no-fork</goal></goals> |
| 364 | + </execution> |
| 365 | + </executions> |
| 366 | + </plugin> |
| 367 | + |
333 | 368 | <!-- Check for updates to dependencies and report on them. --> |
334 | 369 | <plugin> |
335 | 370 | <groupId>org.codehaus.mojo</groupId> |
|
485 | 520 | <artifactId>maven-site-plugin</artifactId> |
486 | 521 | <version>3.4</version> |
487 | 522 | </plugin> |
488 | | - <plugin> |
489 | | - <groupId>org.apache.maven.plugins</groupId> |
490 | | - <artifactId>maven-deploy-plugin</artifactId> |
491 | | - <version>2.8.2</version> |
492 | | - </plugin> |
493 | 523 | </plugins> |
494 | 524 | </reporting> |
495 | 525 |
|
|
557 | 587 | <build> |
558 | 588 | <plugins> |
559 | 589 |
|
560 | | - <!-- Signs all artifacts prior to deploying to maven central --> |
561 | | - <plugin> |
562 | | - <groupId>org.apache.maven.plugins</groupId> |
563 | | - <artifactId>maven-gpg-plugin</artifactId> |
564 | | - <version>1.6</version> |
565 | | - <executions> |
566 | | - <execution> |
567 | | - <id>sign-artifacts</id> |
568 | | - <phase>deploy</phase> |
569 | | - <goals> |
570 | | - <goal>sign</goal> |
571 | | - </goals> |
572 | | - <configuration> |
573 | | - <!-- Refers to Kevin Wall's GPG signing key. --> |
574 | | - <keyname>8A2A524F</keyname> |
575 | | - </configuration> |
576 | | - </execution> |
577 | | - </executions> |
578 | | - </plugin> |
579 | | - |
580 | 590 | <plugin> |
581 | 591 | <groupId>org.apache.maven.plugins</groupId> |
582 | 592 | <artifactId>maven-jar-plugin</artifactId> |
|
674 | 684 |
|
675 | 685 | <!-- Performs a full release. See release documentation for information on how to |
676 | 686 | perform an ESAPI release using Maven --> |
| 687 | + <!-- |
| 688 | + mvn release:prepare was not working as expected, so I'm commenting this out and we |
| 689 | + are doing all this SCM magic manually for now. - kevin wall, 2019-04-09 |
677 | 690 | <plugin> |
678 | 691 | <groupId>org.apache.maven.plugins</groupId> |
679 | 692 | <artifactId>maven-release-plugin</artifactId> |
|
682 | 695 | <tagBase>https://github.com/ESAPI/esapi-java-legacy/tags</tagBase> |
683 | 696 | </configuration> |
684 | 697 | </plugin> |
| 698 | + --> |
685 | 699 |
|
686 | 700 | </plugins> |
687 | 701 | </build> |
|
0 commit comments