|
57 | 57 | <maven-source-plugin.version>3.3.1</maven-source-plugin.version>
|
58 | 58 | <maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version>
|
59 | 59 | <maven-shade-plugin.version>3.6.0</maven-shade-plugin.version>
|
60 |
| - <nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version> |
| 60 | + <central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version> |
61 | 61 | <moditect-maven-plugin.version>1.2.2.Final</moditect-maven-plugin.version>
|
62 | 62 |
|
63 | 63 | <!-- Dependencies -->
|
|
73 | 73 | <moditect.module.name>de.sonallux.spotify</moditect.module.name>
|
74 | 74 | </properties>
|
75 | 75 |
|
76 |
| - <distributionManagement> |
77 |
| - <snapshotRepository> |
78 |
| - <id>ossrh</id> |
79 |
| - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
80 |
| - </snapshotRepository> |
81 |
| - <repository> |
82 |
| - <id>ossrh</id> |
83 |
| - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
84 |
| - </repository> |
85 |
| - </distributionManagement> |
86 |
| - |
87 | 76 | <build>
|
88 | 77 | <plugins>
|
89 | 78 | <plugin>
|
|
170 | 159 | <id>deploy</id>
|
171 | 160 | <build>
|
172 | 161 | <plugins>
|
173 |
| - <plugin> |
174 |
| - <groupId>org.sonatype.plugins</groupId> |
175 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
176 |
| - <version>${nexus-staging-maven-plugin.version}</version> |
177 |
| - <extensions>true</extensions> |
178 |
| - <configuration> |
179 |
| - <serverId>ossrh</serverId> |
180 |
| - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
181 |
| - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
182 |
| - </configuration> |
183 |
| - </plugin> |
184 | 162 | <plugin>
|
185 | 163 | <groupId>org.apache.maven.plugins</groupId>
|
186 | 164 | <artifactId>maven-gpg-plugin</artifactId>
|
|
195 | 173 | </execution>
|
196 | 174 | </executions>
|
197 | 175 | </plugin>
|
| 176 | + <plugin> |
| 177 | + <groupId>org.sonatype.central</groupId> |
| 178 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 179 | + <version>${central-publishing-maven-plugin.version}</version> |
| 180 | + <extensions>true</extensions> |
| 181 | + <configuration> |
| 182 | + <publishingServerId>central</publishingServerId> |
| 183 | + <!-- |
| 184 | + <autoPublish>true</autoPublish> |
| 185 | + <waitUntil>published</waitUntil> |
| 186 | + --> |
| 187 | + </configuration> |
| 188 | + </plugin> |
198 | 189 | </plugins>
|
199 | 190 | </build>
|
200 | 191 | </profile>
|
|
0 commit comments