|
1 | | -<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 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 2 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
2 | 4 | <modelVersion>4.0.0</modelVersion> |
3 | 5 | <groupId>org.imixs.workflow</groupId> |
4 | 6 | <artifactId>imixs-marty</artifactId> |
|
84 | 86 |
|
85 | 87 | <repositories> |
86 | 88 | <repository> |
87 | | - <id>snapshots-repo</id> |
88 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 89 | + <id>central-portal-snapshots</id> |
| 90 | + <name>Central Portal Snapshots</name> |
| 91 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 92 | + <releases> |
| 93 | + <enabled>false</enabled> |
| 94 | + </releases> |
89 | 95 | <snapshots> |
90 | 96 | <enabled>true</enabled> |
91 | 97 | </snapshots> |
|
118 | 124 | <goals>deploy</goals> |
119 | 125 | </configuration> |
120 | 126 | </plugin> |
121 | | - <!-- release to Maven central --> |
122 | | - <plugin> |
123 | | - <groupId>org.sonatype.plugins</groupId> |
124 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
125 | | - <version>1.6.13</version> |
126 | | - <extensions>true</extensions> |
127 | | - <configuration> |
128 | | - <serverId>ossrh</serverId> |
129 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
130 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
131 | | - <stagingProgressTimeoutMinutes>15</stagingProgressTimeoutMinutes> |
132 | | - </configuration> |
133 | | - </plugin> |
134 | | - |
135 | 127 |
|
136 | 128 | <plugin> |
137 | 129 | <groupId>org.apache.maven.plugins</groupId> |
138 | 130 | <artifactId>maven-site-plugin</artifactId> |
139 | | - <version>3.9.0</version> |
| 131 | + <version>3.12.1</version> |
140 | 132 | </plugin> |
141 | 133 |
|
142 | 134 | <plugin> |
|
160 | 152 | <version>3.0.0</version> |
161 | 153 | </plugin> |
162 | 154 |
|
163 | | - |
164 | 155 | </plugins> |
165 | 156 | </build> |
166 | 157 |
|
|
184 | 175 | </reporting> |
185 | 176 |
|
186 | 177 | <profiles> |
187 | | - <!-- Activate using the release property --> |
| 178 | + |
| 179 | + <!-- Profile for Releases --> |
188 | 180 | <profile> |
189 | 181 | <id>release</id> |
190 | 182 | <build> |
191 | 183 | <plugins> |
192 | | - <!-- To generate javadoc --> |
| 184 | + <!-- for RELEASES: Central Publishing Plugin --> |
| 185 | + <plugin> |
| 186 | + <groupId>org.sonatype.central</groupId> |
| 187 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 188 | + <version>0.8.0</version> |
| 189 | + <extensions>true</extensions> |
| 190 | + <configuration> |
| 191 | + <publishingServerId>central</publishingServerId> |
| 192 | + <autoPublish>true</autoPublish> |
| 193 | + <waitUntil>published</waitUntil> |
| 194 | + </configuration> |
| 195 | + </plugin> |
| 196 | + |
| 197 | + |
| 198 | + <!-- Source Plugin --> |
193 | 199 | <plugin> |
194 | 200 | <groupId>org.apache.maven.plugins</groupId> |
195 | 201 | <artifactId>maven-source-plugin</artifactId> |
|
203 | 209 | </execution> |
204 | 210 | </executions> |
205 | 211 | </plugin> |
| 212 | + |
| 213 | + <!-- Javadoc Plugin --> |
206 | 214 | <plugin> |
207 | 215 | <groupId>org.apache.maven.plugins</groupId> |
208 | 216 | <artifactId>maven-javadoc-plugin</artifactId> |
|
220 | 228 | </executions> |
221 | 229 | </plugin> |
222 | 230 |
|
223 | | - <!-- To sign the artifacts --> |
| 231 | + <!-- GPG Signing Plugin --> |
224 | 232 | <plugin> |
225 | 233 | <groupId>org.apache.maven.plugins</groupId> |
226 | 234 | <artifactId>maven-gpg-plugin</artifactId> |
227 | | - <version>1.6</version> |
| 235 | + <version>3.1.0</version> |
228 | 236 | <executions> |
229 | 237 | <execution> |
230 | 238 | <id>sign-artifacts</id> |
|
309 | 317 | </dependencies> |
310 | 318 |
|
311 | 319 |
|
312 | | - <!-- Distributen Management oss.sonatype.org --> |
| 320 | + <!-- Distribution Management central.sonatype.org --> |
313 | 321 | <distributionManagement> |
314 | 322 | <snapshotRepository> |
315 | | - <id>ossrh</id> |
316 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 323 | + <id>central</id> |
| 324 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
317 | 325 | </snapshotRepository> |
318 | 326 | <repository> |
319 | | - <id>ossrh</id> |
320 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 327 | + <id>central</id> |
| 328 | + <url>https://central.sonatype.com</url> |
321 | 329 | </repository> |
322 | 330 | </distributionManagement> |
323 | 331 |
|
|
0 commit comments