Skip to content

Commit 3256c44

Browse files
authored
Merge branch 'main' into luc-veldhuis/69-resolvedtype-to-java-type
2 parents 57b6c55 + 5c66c89 commit 3256c44

File tree

3 files changed

+26
-32
lines changed

3 files changed

+26
-32
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,48 @@ name: Build
22
on:
33
push:
44
branches:
5-
- master
5+
- main
66
- "1.6"
7+
- "1.7"
78
paths-ignore:
89
- "README.md"
910
- "release-notes/*"
1011
pull_request:
1112
branches:
12-
- master
13+
- main
1314
- "1.6"
15+
- "1.7"
16+
1417
permissions:
1518
contents: read
19+
1620
jobs:
1721
build:
18-
runs-on: 'ubuntu-22.04'
22+
runs-on: 'ubuntu-latest'
1923
strategy:
2024
fail-fast: false
2125
matrix:
22-
# Alas, JDK14 can't be yet used while build is for Java 6
26+
# 26-Sep-2025, tatu: some test failures on 21 cannot yet enable
2327
java_version: ['8', '11', '17']
2428
env:
2529
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
2630
steps:
27-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31+
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2832
- name: Set up JDK
29-
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
33+
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
3034
with:
3135
distribution: "temurin"
3236
java-version: ${{ matrix.java_version }}
3337
cache: 'maven'
3438
- name: Build
3539
run: ./mvnw -B -ff -ntp clean verify
3640
- name: Generate code coverage
37-
if: github.event_name != 'pull_request' && matrix.java_version == '8'
41+
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' }}
3842
run: ./mvnw -B -q -ff -ntp test
3943
- name: Publish code coverage
40-
if: github.event_name != 'pull_request' && matrix.java_version == '8'
41-
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
44+
if: ${{ github.event_name != 'pull_request' && matrix.java_version == '8' }}
45+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
4246
with:
4347
token: ${{ secrets.CODECOV_TOKEN }}
44-
file: ./target/site/jacoco/jacoco.xml
48+
files: ./target/site/jacoco/jacoco.xml
4549
flags: unittests

VERSION.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ Java ClassMate project: licensed under Apache License 2.0
33

44
Release notes:
55

6+
1.7.1 (26-Sep-2025)
7+
8+
- Branch "master" renamed as "main"
9+
- Update to `oss-parent` v69 to switch to Central Portal publishing
10+
611
1.7.0 (02-Jan-2024)
712

813
#51: `TypeResolver.resolve(Long[].class)` should not return a `ResolvedType`

pom.xml

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
<parent>
44
<groupId>com.fasterxml</groupId>
55
<artifactId>oss-parent</artifactId>
6-
<version>56</version>
6+
<version>69</version>
77
</parent>
88
<artifactId>classmate</artifactId>
99
<name>ClassMate</name>
10-
<version>1.7.1-SNAPSHOT</version>
10+
<version>1.7.2-SNAPSHOT</version>
1111
<packaging>bundle</packaging>
1212
<description>Library for introspecting types with full generic information
1313
including resolving of field and method types.
@@ -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)