Skip to content

Commit f067773

Browse files
authored
Switch to Sonatype Central publish (#106)
1 parent 0fd88bd commit f067773

File tree

3 files changed

+14
-23
lines changed

3 files changed

+14
-23
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,27 @@ on:
44
branches:
55
- main
66
- "1.6"
7+
- "1.7"
78
paths-ignore:
89
- "README.md"
910
- "release-notes/*"
1011
pull_request:
1112
branches:
1213
- main
1314
- "1.6"
15+
- "1.7"
16+
1417
permissions:
1518
contents: read
19+
1620
jobs:
1721
build:
1822
runs-on: 'ubuntu-latest'
1923
strategy:
2024
fail-fast: false
2125
matrix:
22-
java_version: ['8', '11', '17', '21']
26+
# 26-Sep-2025, tatu: some test failures on 21 cannot yet enable
27+
java_version: ['8', '11', '17']
2328
env:
2429
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
2530
steps:

VERSION.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ Java ClassMate project: licensed under Apache License 2.0
33

44
Release notes:
55

6-
1.7.1 (not yet released)
6+
1.7.1 (26-Sep-2025)
77

88
- Branch "master" renamed as "main"
9+
- Update to `oss-parent` v68 to switch to Central Portal publishing
910

1011
1.7.0 (02-Jan-2024)
1112

pom.xml

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>com.fasterxml</groupId>
55
<artifactId>oss-parent</artifactId>
6-
<version>56</version>
6+
<version>68</version>
77
</parent>
88
<artifactId>classmate</artifactId>
99
<name>ClassMate</name>
@@ -67,26 +67,11 @@ com.fasterxml.classmate.*;version=${project.version}
6767

6868
<build>
6969
<plugins>
70-
71-
<!-- 19-Oct-2019, tatu: Copied from
72-
73-
https://github.com/stephenc/git-timestamp-maven-plugin/blob/master/pom.xml#L327-L337
74-
75-
to simplify releases. I hope.
76-
-->
77-
<plugin>
78-
<groupId>org.sonatype.plugins</groupId>
79-
<artifactId>nexus-staging-maven-plugin</artifactId>
80-
<version>1.6.13</version>
81-
<extensions>true</extensions>
82-
<configuration>
83-
<serverId>sonatype-nexus-staging</serverId>
84-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
85-
<!-- 19-Oct-2019, tatu: from output -->
86-
<stagingProfileId>b34f19b9cc6224</stagingProfileId>
87-
</configuration>
88-
</plugin>
89-
70+
<!-- 26-Sep-2025, tatu: Ensure we use new Sonatype Central Portal: -->
71+
<plugin>
72+
<groupId>org.sonatype.central</groupId>
73+
<artifactId>central-publishing-maven-plugin</artifactId>
74+
</plugin>
9075
<plugin>
9176
<artifactId>maven-compiler-plugin</artifactId>
9277
<configuration>

0 commit comments

Comments
 (0)