Skip to content

Commit c8a9b25

Browse files
Merge pull request #976 from zalando/migrate-central-portal
Migrate to Central Portal
2 parents cd281fd + a267c67 commit c8a9b25

File tree

8 files changed

+17
-19
lines changed

8 files changed

+17
-19
lines changed

.java-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.8
1+
17

pom.xml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>org.zalando</groupId>
66
<artifactId>problem-spring-parent</artifactId>
7+
<name>problem-spring-web</name>
8+
<description>make it easy to produce application/problem+json responses from a Spring application</description>
79
<version>0.29.2-SNAPSHOT</version>
810
<packaging>pom</packaging>
911
<url>https://github.com/zalando/problem-spring-web</url>
@@ -465,16 +467,6 @@
465467
</plugin>
466468
</plugins>
467469
</build>
468-
<distributionManagement>
469-
<snapshotRepository>
470-
<id>ossrh</id>
471-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
472-
</snapshotRepository>
473-
<repository>
474-
<id>ossrh</id>
475-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
476-
</repository>
477-
</distributionManagement>
478470
<profiles>
479471
<profile>
480472
<id>webflux</id>
@@ -533,14 +525,14 @@
533525
</executions>
534526
</plugin>
535527
<plugin>
536-
<groupId>org.sonatype.plugins</groupId>
537-
<artifactId>nexus-staging-maven-plugin</artifactId>
538-
<version>1.6.13</version>
528+
<groupId>org.sonatype.central</groupId>
529+
<artifactId>central-publishing-maven-plugin</artifactId>
530+
<version>0.8.0</version>
539531
<extensions>true</extensions>
540532
<configuration>
541-
<serverId>ossrh</serverId>
542-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
543-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
533+
<publishingServerId>central</publishingServerId>
534+
<deploymentName>${project.name}:${project.version}</deploymentName>
535+
<autoPublish>true</autoPublish>
544536
</configuration>
545537
</plugin>
546538
</plugins>

problem-spring-common/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<version>0.29.2-SNAPSHOT</version>
99
</parent>
1010
<artifactId>problem-spring-common</artifactId>
11+
<name>${artifactId}</name>
1112
<dependencies>
1213
<dependency>
1314
<groupId>org.zalando</groupId>

problem-spring-web-autoconfigure/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<version>0.29.2-SNAPSHOT</version>
1010
</parent>
1111
<artifactId>problem-spring-web-autoconfigure</artifactId>
12+
<name>${artifactId}</name>
1213
<dependencies>
1314
<dependency>
1415
<groupId>jakarta.servlet</groupId>

problem-spring-web-starter/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<version>0.29.2-SNAPSHOT</version>
1010
</parent>
1111
<artifactId>problem-spring-web-starter</artifactId>
12+
<name>${artifactId}</name>
1213
<dependencies>
1314
<dependency>
1415
<groupId>${project.groupId}</groupId>

problem-spring-web/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<version>0.29.2-SNAPSHOT</version>
99
</parent>
1010
<artifactId>problem-spring-web</artifactId>
11+
<name>${artifactId}</name>
1112
<dependencies>
1213

1314
<dependency>

problem-spring-webflux/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<version>0.29.2-SNAPSHOT</version>
99
</parent>
1010
<artifactId>problem-spring-webflux</artifactId>
11+
<name>${artifactId}</name>
1112
<dependencies>
1213

1314
<dependency>

problem-violations/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<version>0.29.2-SNAPSHOT</version>
99
</parent>
1010
<artifactId>problem-violations</artifactId>
11+
<name>${artifactId}</name>
1112
<dependencies>
1213

1314
<dependency>
@@ -62,9 +63,9 @@
6263
<build>
6364
<plugins>
6465
<plugin>
65-
<groupId>org.apache.maven.plugin</groupId>
66+
<groupId>org.apache.maven.plugins</groupId>
6667
<artifactId>maven-javadoc-plugin</artifactId>
67-
<version>3.5.0</version>
68+
<version>3.5.0</version>
6869
<configuration>
6970
<additionalDependencies>
7071
<additionalDependency>

0 commit comments

Comments
 (0)