|
49 | 49 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
50 | 50 | </properties> |
51 | 51 |
|
52 | | - <repositories> |
53 | | - <!-- The order of definitions matters. Explicitly defining central here |
54 | | - to make sure it has the highest priority. --> |
55 | | - <repository> |
56 | | - <id>central</id> |
57 | | - <url>https://repo.maven.apache.org/maven2</url> |
58 | | - <snapshots> |
59 | | - <enabled>false</enabled> |
60 | | - </snapshots> |
61 | | - </repository> |
62 | | - </repositories> |
63 | | - |
64 | | - <pluginRepositories> |
65 | | - <!-- The order of definitions matters. Explicitly defining central here |
66 | | - to make sure it has the highest priority. --> |
67 | | - <pluginRepository> |
68 | | - <id>central</id> |
69 | | - <url>https://repo.maven.apache.org/maven2</url> |
70 | | - <snapshots> |
71 | | - <enabled>false</enabled> |
72 | | - </snapshots> |
73 | | - </pluginRepository> |
74 | | - </pluginRepositories> |
75 | | - |
76 | | - <distributionManagement> |
77 | | - <snapshotRepository> |
78 | | - <id>ossrh</id> |
79 | | - <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
80 | | - </snapshotRepository> |
81 | | - <repository> |
82 | | - <id>ossrh</id> |
83 | | - <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
84 | | - </repository> |
85 | | - </distributionManagement> |
86 | | - |
87 | 52 | <dependencies> |
88 | 53 | <dependency> |
89 | 54 | <groupId>software.xdev.sse</groupId> |
|
184 | 149 | </build> |
185 | 150 | <profiles> |
186 | 151 | <profile> |
187 | | - <id>ossrh</id> |
| 152 | + <id>publish-sonatype-central-portal</id> |
188 | 153 | <build> |
189 | 154 | <plugins> |
190 | 155 | <plugin> |
|
228 | 193 | </plugin> |
229 | 194 |
|
230 | 195 | <plugin> |
231 | | - <groupId>org.sonatype.plugins</groupId> |
232 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
233 | | - <version>1.7.0</version> |
| 196 | + <groupId>org.sonatype.central</groupId> |
| 197 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 198 | + <version>0.7.0</version> |
234 | 199 | <extensions>true</extensions> |
235 | 200 | <configuration> |
236 | | - <serverId>ossrh</serverId> |
237 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
238 | | - <!-- Sometimes OSSRH is really slow --> |
239 | | - <stagingProgressTimeoutMinutes>30</stagingProgressTimeoutMinutes> |
240 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 201 | + <publishingServerId>sonatype-central-portal</publishingServerId> |
| 202 | + <autoPublish>true</autoPublish> |
241 | 203 | </configuration> |
242 | 204 | </plugin> |
243 | 205 | </plugins> |
|
0 commit comments