|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd"> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 5 | <modelVersion>4.0.0</modelVersion> |
4 | 6 |
|
5 | 7 | <groupId>org.springframework.vault</groupId> |
|
54 | 56 | <doc.resources>${project.build.directory}/doc-resources</doc.resources> |
55 | 57 |
|
56 | 58 | <!-- To be overridden by individual modules --> |
57 | | - <java-module-name /> |
| 59 | + <java-module-name/> |
58 | 60 | </properties> |
59 | 61 |
|
60 | 62 | <inceptionYear>2016</inceptionYear> |
|
676 | 678 | <version>1.7.0</version> |
677 | 679 | </plugin> |
678 | 680 |
|
| 681 | + <plugin> |
| 682 | + <groupId>org.sonatype.central</groupId> |
| 683 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 684 | + <version>0.7.0</version> |
| 685 | + <extensions>true</extensions> |
| 686 | + </plugin> |
| 687 | + |
679 | 688 | </plugins> |
680 | 689 | </pluginManagement> |
681 | 690 | </build> |
|
744 | 753 |
|
745 | 754 | </plugins> |
746 | 755 | </build> |
747 | | - |
748 | 756 | </profile> |
749 | 757 |
|
750 | 758 | <profile> |
751 | 759 | <id>release</id> |
752 | 760 | <build> |
753 | 761 | <plugins> |
| 762 | + |
754 | 763 | <plugin> |
755 | 764 | <groupId>org.apache.maven.plugins</groupId> |
756 | 765 | <artifactId>maven-release-plugin</artifactId> |
|
802 | 811 | </dependency> |
803 | 812 | </dependencies> |
804 | 813 | </plugin> |
| 814 | + |
805 | 815 | </plugins> |
806 | 816 | </build> |
807 | 817 | </profile> |
|
843 | 853 |
|
844 | 854 | <id>central</id> |
845 | 855 |
|
846 | | - <distributionManagement> |
847 | | - <snapshotRepository> |
848 | | - <id>sonatype-nexus-snapshots</id> |
849 | | - <name>Sonatype Nexus Snapshots</name> |
850 | | - <url>https://s01.oss.sonatype.org/content/repositories/snapshots/ |
851 | | - </url> |
852 | | - </snapshotRepository> |
853 | | - <repository> |
854 | | - <id>sonatype-nexus-staging</id> |
855 | | - <name>Nexus Release Repository</name> |
856 | | - <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ |
857 | | - </url> |
858 | | - </repository> |
859 | | - </distributionManagement> |
| 856 | + <properties> |
| 857 | + <skipTests>true</skipTests> |
| 858 | + </properties> |
860 | 859 |
|
861 | 860 | <build> |
862 | 861 | <plugins> |
|
888 | 887 | </executions> |
889 | 888 | </plugin> |
890 | 889 |
|
| 890 | + <plugin> |
| 891 | + <groupId>org.sonatype.central</groupId> |
| 892 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 893 | + <configuration> |
| 894 | + <deploymentName>Spring Vault ${project.version}</deploymentName> |
| 895 | + <publishingServerId>central</publishingServerId> |
| 896 | + <autoPublish>true</autoPublish> |
| 897 | + </configuration> |
| 898 | + </plugin> |
| 899 | + |
891 | 900 | </plugins> |
892 | 901 | </build> |
893 | 902 |
|
894 | 903 | </profile> |
895 | 904 |
|
896 | 905 | <profile> |
897 | | - |
898 | 906 | <!-- |
899 | 907 | Profile to be activated when building the distribution artifacts. |
900 | 908 |
|
901 | 909 | Generates reference documentation, aggregates JavaDoc etc. Has to be combined with |
902 | 910 | profiles "release" or "milestone" to deploy artifacts into the appropriate places. |
903 | 911 | --> |
904 | | - |
905 | 912 | <id>distribute</id> |
906 | 913 |
|
907 | 914 | <properties> |
|
911 | 918 | </properties> |
912 | 919 |
|
913 | 920 | <build> |
914 | | - |
915 | 921 | <plugins> |
916 | | - <!-- |
917 | | - Configures JavaDoc generation. |
918 | | - --> |
919 | 922 |
|
920 | 923 | <plugin> |
921 | 924 | <groupId>org.apache.maven.plugins</groupId> |
|
987 | 990 | </pluginManagement> |
988 | 991 |
|
989 | 992 | <plugins> |
990 | | - |
991 | 993 | <plugin> |
992 | 994 | <groupId>org.jfrog.buildinfo</groupId> |
993 | 995 | <artifactId>artifactory-maven-plugin</artifactId> |
994 | 996 | </plugin> |
995 | | - |
996 | 997 | </plugins> |
997 | | - |
998 | 998 | </build> |
999 | 999 | </profile> |
1000 | 1000 | <profile> |
|
0 commit comments