Skip to content

Commit e97bd6d

Browse files
committed
adapt new maven repo
1 parent 9e737aa commit e97bd6d

1 file changed

Lines changed: 36 additions & 28 deletions

File tree

pom.xml

Lines changed: 36 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
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">
24
<modelVersion>4.0.0</modelVersion>
35
<groupId>org.imixs.workflow</groupId>
46
<artifactId>imixs-marty</artifactId>
@@ -84,8 +86,12 @@
8486

8587
<repositories>
8688
<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>
8995
<snapshots>
9096
<enabled>true</enabled>
9197
</snapshots>
@@ -118,25 +124,11 @@
118124
<goals>deploy</goals>
119125
</configuration>
120126
</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-
135127

136128
<plugin>
137129
<groupId>org.apache.maven.plugins</groupId>
138130
<artifactId>maven-site-plugin</artifactId>
139-
<version>3.9.0</version>
131+
<version>3.12.1</version>
140132
</plugin>
141133

142134
<plugin>
@@ -160,7 +152,6 @@
160152
<version>3.0.0</version>
161153
</plugin>
162154

163-
164155
</plugins>
165156
</build>
166157

@@ -184,12 +175,27 @@
184175
</reporting>
185176

186177
<profiles>
187-
<!-- Activate using the release property -->
178+
179+
<!-- Profile for Releases -->
188180
<profile>
189181
<id>release</id>
190182
<build>
191183
<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 -->
193199
<plugin>
194200
<groupId>org.apache.maven.plugins</groupId>
195201
<artifactId>maven-source-plugin</artifactId>
@@ -203,6 +209,8 @@
203209
</execution>
204210
</executions>
205211
</plugin>
212+
213+
<!-- Javadoc Plugin -->
206214
<plugin>
207215
<groupId>org.apache.maven.plugins</groupId>
208216
<artifactId>maven-javadoc-plugin</artifactId>
@@ -220,11 +228,11 @@
220228
</executions>
221229
</plugin>
222230

223-
<!-- To sign the artifacts -->
231+
<!-- GPG Signing Plugin -->
224232
<plugin>
225233
<groupId>org.apache.maven.plugins</groupId>
226234
<artifactId>maven-gpg-plugin</artifactId>
227-
<version>1.6</version>
235+
<version>3.1.0</version>
228236
<executions>
229237
<execution>
230238
<id>sign-artifacts</id>
@@ -309,15 +317,15 @@
309317
</dependencies>
310318

311319

312-
<!-- Distributen Management oss.sonatype.org -->
320+
<!-- Distribution Management central.sonatype.org -->
313321
<distributionManagement>
314322
<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>
317325
</snapshotRepository>
318326
<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>
321329
</repository>
322330
</distributionManagement>
323331

0 commit comments

Comments
 (0)