|
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> |
|
56 | 58 | <doc.resources>${project.build.directory}/doc-resources</doc.resources> |
57 | 59 |
|
58 | 60 | <!-- To be overridden by individual modules --> |
59 | | - <java-module-name /> |
| 61 | + <java-module-name/> |
60 | 62 | </properties> |
61 | 63 |
|
62 | 64 | <inceptionYear>2016</inceptionYear> |
|
690 | 692 | <version>1.7.0</version> |
691 | 693 | </plugin> |
692 | 694 |
|
| 695 | + <plugin> |
| 696 | + <groupId>org.sonatype.central</groupId> |
| 697 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 698 | + <version>0.7.0</version> |
| 699 | + <extensions>true</extensions> |
| 700 | + </plugin> |
| 701 | + |
693 | 702 | </plugins> |
694 | 703 | </pluginManagement> |
695 | 704 | </build> |
|
758 | 767 |
|
759 | 768 | </plugins> |
760 | 769 | </build> |
761 | | - |
762 | 770 | </profile> |
763 | 771 |
|
764 | 772 | <profile> |
765 | 773 | <id>release</id> |
766 | 774 | <build> |
767 | 775 | <plugins> |
| 776 | + |
768 | 777 | <plugin> |
769 | 778 | <groupId>org.apache.maven.plugins</groupId> |
770 | 779 | <artifactId>maven-release-plugin</artifactId> |
|
816 | 825 | </dependency> |
817 | 826 | </dependencies> |
818 | 827 | </plugin> |
| 828 | + |
819 | 829 | </plugins> |
820 | 830 | </build> |
821 | 831 | </profile> |
|
857 | 867 |
|
858 | 868 | <id>central</id> |
859 | 869 |
|
860 | | - <distributionManagement> |
861 | | - <snapshotRepository> |
862 | | - <id>sonatype-nexus-snapshots</id> |
863 | | - <name>Sonatype Nexus Snapshots</name> |
864 | | - <url>https://s01.oss.sonatype.org/content/repositories/snapshots/ |
865 | | - </url> |
866 | | - </snapshotRepository> |
867 | | - <repository> |
868 | | - <id>sonatype-nexus-staging</id> |
869 | | - <name>Nexus Release Repository</name> |
870 | | - <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ |
871 | | - </url> |
872 | | - </repository> |
873 | | - </distributionManagement> |
| 870 | + <properties> |
| 871 | + <skipTests>true</skipTests> |
| 872 | + </properties> |
874 | 873 |
|
875 | 874 | <build> |
876 | 875 | <plugins> |
|
902 | 901 | </executions> |
903 | 902 | </plugin> |
904 | 903 |
|
| 904 | + <plugin> |
| 905 | + <groupId>org.sonatype.central</groupId> |
| 906 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 907 | + <configuration> |
| 908 | + <deploymentName>Spring Vault ${project.version}</deploymentName> |
| 909 | + <publishingServerId>central</publishingServerId> |
| 910 | + <autoPublish>true</autoPublish> |
| 911 | + </configuration> |
| 912 | + </plugin> |
| 913 | + |
905 | 914 | </plugins> |
906 | 915 | </build> |
907 | 916 |
|
908 | 917 | </profile> |
909 | 918 |
|
910 | 919 | <profile> |
911 | | - |
912 | 920 | <!-- |
913 | 921 | Profile to be activated when building the distribution artifacts. |
914 | 922 |
|
915 | 923 | Generates reference documentation, aggregates JavaDoc etc. Has to be combined with |
916 | 924 | profiles "release" or "milestone" to deploy artifacts into the appropriate places. |
917 | 925 | --> |
918 | | - |
919 | 926 | <id>distribute</id> |
920 | 927 |
|
921 | 928 | <properties> |
|
925 | 932 | </properties> |
926 | 933 |
|
927 | 934 | <build> |
928 | | - |
929 | 935 | <plugins> |
930 | | - <!-- |
931 | | - Configures JavaDoc generation. |
932 | | - --> |
933 | 936 |
|
934 | 937 | <plugin> |
935 | 938 | <groupId>org.apache.maven.plugins</groupId> |
|
1001 | 1004 | </pluginManagement> |
1002 | 1005 |
|
1003 | 1006 | <plugins> |
1004 | | - |
1005 | 1007 | <plugin> |
1006 | 1008 | <groupId>org.jfrog.buildinfo</groupId> |
1007 | 1009 | <artifactId>artifactory-maven-plugin</artifactId> |
1008 | 1010 | </plugin> |
1009 | | - |
1010 | 1011 | </plugins> |
1011 | | - |
1012 | 1012 | </build> |
1013 | 1013 | </profile> |
1014 | 1014 | <profile> |
|
0 commit comments