|
102 | 102 | </developer> |
103 | 103 | </developers> |
104 | 104 | <repositories> |
105 | | - <repository> |
106 | | - <id>ossrh-snapshots</id> |
107 | | - <name>Sonatype OSS Repository</name> |
108 | | - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
109 | | - <snapshots> |
110 | | - <enabled>true</enabled> |
111 | | - </snapshots> |
112 | | - </repository> |
113 | | - </repositories> |
| 105 | + <repository> |
| 106 | + <name>Central Portal Snapshots</name> |
| 107 | + <id>central-portal-snapshots</id> |
| 108 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 109 | + <releases> |
| 110 | + <enabled>false</enabled> |
| 111 | + </releases> |
| 112 | + <snapshots> |
| 113 | + <enabled>true</enabled> |
| 114 | + </snapshots> |
| 115 | + </repository> |
| 116 | + </repositories> |
114 | 117 | <pluginRepositories> |
115 | 118 | <pluginRepository> |
116 | | - <id>ossrh-snapshots</id> |
117 | | - <name>Sonatype OSS Repository</name> |
118 | | - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
| 119 | + <name>Central Portal Snapshots</name> |
| 120 | + <id>central-portal-snapshots</id> |
| 121 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
119 | 122 | <snapshots> |
120 | 123 | <enabled>true</enabled> |
121 | 124 | </snapshots> |
122 | 125 | </pluginRepository> |
123 | 126 | </pluginRepositories> |
124 | | - <distributionManagement> |
125 | | - <repository> |
126 | | - <id>ossrh</id> |
127 | | - <name>Sonatype OSS Repository</name> |
128 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
129 | | - </repository> |
130 | | - <snapshotRepository> |
131 | | - <id>ossrh</id> |
132 | | - <name>Sonatype OSS Repository</name> |
133 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
134 | | - </snapshotRepository> |
135 | | - </distributionManagement> |
136 | 127 | <!-- Source Control --> |
137 | 128 | <scm> |
138 | 129 | <connection>scm:git:https://github.com/OpenIdentityPlatform/OpenIG.git</connection> |
|
877 | 868 | </configuration> |
878 | 869 | </plugin> |
879 | 870 | <plugin> |
880 | | - <groupId>org.sonatype.plugins</groupId> |
881 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
882 | | - <version>1.7.0</version> |
883 | | - <extensions>true</extensions> |
884 | | - <configuration> |
885 | | - <serverId>ossrh</serverId> |
886 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
887 | | - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
888 | | - <stagingProgressTimeoutMinutes>15</stagingProgressTimeoutMinutes> |
889 | | - <keepStagingRepositoryOnFailure>true</keepStagingRepositoryOnFailure> |
890 | | - <keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure> |
891 | | - </configuration> |
892 | | - <dependencies> |
893 | | - <dependency> |
894 | | - <groupId>com.google.guava</groupId> |
895 | | - <artifactId>guava</artifactId> |
896 | | - <version>15.0</version> |
897 | | - </dependency> |
898 | | - </dependencies> |
| 871 | + <groupId>org.sonatype.central</groupId> |
| 872 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 873 | + <version>0.8.0</version> |
| 874 | + <extensions>true</extensions> |
| 875 | + <configuration> |
| 876 | + <publishingServerId>ossrh</publishingServerId> |
| 877 | + <autoPublish>true</autoPublish> |
| 878 | + </configuration> |
899 | 879 | </plugin> |
900 | 880 | </plugins> |
901 | 881 | <pluginManagement> |
|
0 commit comments