Skip to content

Commit f2eab3d

Browse files
authored
#647: Migrate to Maven Central Portal (#648)
1 parent 36bced6 commit f2eab3d

18 files changed

Lines changed: 358 additions & 332 deletions

File tree

.github/workflows/release.yml

Lines changed: 18 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dependencies.md

Lines changed: 109 additions & 109 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/changes/changelog.md

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/changes/changes_5.2.0.md

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# Project Keeper 5.2.0, released 2025-??-??
2+
3+
Code name: Maven Central Portal Deployment
4+
5+
## Summary
6+
7+
This release updates the Maven Central release process to use the new Central Portal instead of the deprecated OSSRH. It also updates the next Java build from Java 23 to 24.
8+
9+
## Features
10+
11+
* #647: Migrate to Central Portal for Maven Central publishing
12+
13+
## Dependency Updates
14+
15+
### Project Keeper Shared Model Classes
16+
17+
#### Plugin Dependency Updates
18+
19+
* Added `org.sonatype.central:central-publishing-maven-plugin:0.7.0`
20+
* Removed `org.sonatype.plugins:nexus-staging-maven-plugin:1.7.0`
21+
22+
### Project Keeper Core
23+
24+
#### Compile Dependency Updates
25+
26+
* Updated `com.exasol:project-keeper-shared-model-classes:5.1.0` to `5.2.0`
27+
28+
#### Runtime Dependency Updates
29+
30+
* Updated `com.exasol:project-keeper-java-project-crawler:5.1.0` to `5.2.0`
31+
32+
#### Test Dependency Updates
33+
34+
* Updated `com.exasol:project-keeper-shared-test-setup:5.1.0` to `5.2.0`
35+
36+
#### Plugin Dependency Updates
37+
38+
* Added `org.sonatype.central:central-publishing-maven-plugin:0.7.0`
39+
* Removed `org.sonatype.plugins:nexus-staging-maven-plugin:1.7.0`
40+
41+
### Project Keeper Command Line Interface
42+
43+
#### Compile Dependency Updates
44+
45+
* Updated `com.exasol:project-keeper-core:5.1.0` to `5.2.0`
46+
47+
#### Test Dependency Updates
48+
49+
* Updated `com.exasol:project-keeper-shared-test-setup:5.1.0` to `5.2.0`
50+
51+
#### Plugin Dependency Updates
52+
53+
* Added `org.sonatype.central:central-publishing-maven-plugin:0.7.0`
54+
* Removed `org.sonatype.plugins:nexus-staging-maven-plugin:1.7.0`
55+
56+
### Project Keeper Maven Plugin
57+
58+
#### Compile Dependency Updates
59+
60+
* Updated `com.exasol:project-keeper-core:5.1.0` to `5.2.0`
61+
62+
#### Plugin Dependency Updates
63+
64+
* Added `org.sonatype.central:central-publishing-maven-plugin:0.7.0`
65+
* Removed `org.sonatype.plugins:nexus-staging-maven-plugin:1.7.0`
66+
67+
### Project Keeper Java Project Crawler
68+
69+
#### Compile Dependency Updates
70+
71+
* Updated `com.exasol:project-keeper-shared-model-classes:5.1.0` to `5.2.0`
72+
73+
#### Test Dependency Updates
74+
75+
* Updated `com.exasol:project-keeper-shared-test-setup:5.1.0` to `5.2.0`
76+
77+
#### Plugin Dependency Updates
78+
79+
* Added `org.sonatype.central:central-publishing-maven-plugin:0.7.0`
80+
* Removed `org.sonatype.plugins:nexus-staging-maven-plugin:1.7.0`
81+
82+
### Project Keeper Shared Test Setup
83+
84+
#### Compile Dependency Updates
85+
86+
* Updated `com.exasol:project-keeper-shared-model-classes:5.1.0` to `5.2.0`
87+
88+
#### Plugin Dependency Updates
89+
90+
* Updated `org.apache.maven.plugins:maven-deploy-plugin:3.1.2` to `3.1.4`

maven-project-crawler/pk_generated_parent.pom

Lines changed: 12 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

parent-pom/pom.xml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,8 @@
1717
<distribution>repo</distribution>
1818
</license>
1919
</licenses>
20-
<distributionManagement>
21-
<snapshotRepository>
22-
<id>ossrh</id>
23-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
24-
</snapshotRepository>
25-
<repository>
26-
<id>ossrh</id>
27-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
28-
</repository>
29-
</distributionManagement>
3020
<properties>
31-
<revision>5.1.0</revision>
21+
<revision>5.2.0</revision>
3222
<!-- Integration test ProjectKeeperMojoIT starts a Maven build which requires Java 17. -->
3323
<java.version>17</java.version>
3424
<maven.version>3.9.9</maven.version>
@@ -321,6 +311,17 @@
321311
<processParent>false</processParent>
322312
</configuration>
323313
</plugin>
314+
<plugin>
315+
<!-- Explicitly upgrade deploy plugin to fix error
316+
Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:3.1.2:deploy (default-deploy) on project project-keeper-parent-pom: Deployment failed:
317+
repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::url parameter -->
318+
<groupId>org.apache.maven.plugins</groupId>
319+
<artifactId>maven-deploy-plugin</artifactId>
320+
<version>3.1.4</version>
321+
<configuration>
322+
<skip>true</skip>
323+
</configuration>
324+
</plugin>
324325
</plugins>
325326
</build>
326327
</project>

project-keeper-cli/pk_generated_parent.pom

Lines changed: 12 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

project-keeper-maven-plugin/pk_generated_parent.pom

Lines changed: 12 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)