Skip to content

Commit 384ff2a

Browse files
authored
Merge branch 'eclipse-ee4j:master' into npe-custom-timestamp-formatter
2 parents 655f068 + 14e68b6 commit 384ff2a

28 files changed

+414
-346
lines changed

.github/workflows/maven.yml

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2021, 2022 Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2021, 2024 Oracle and/or its affiliates. All rights reserved.
33
#
44
# This program and the accompanying materials are made available under the
55
# terms of the Eclipse Public License v. 2.0 which is available at
@@ -21,39 +21,26 @@ jobs:
2121

2222
strategy:
2323
matrix:
24-
java_version: [ 11, 17 ]
24+
java_version: [ 11, 17, 21 ]
2525

2626
steps:
2727
- name: Checkout for build
28-
uses: actions/checkout@v2.3.4
28+
uses: actions/checkout@v4
2929
with:
3030
fetch-depth: 0
3131
- name: Set up compile JDK
32-
uses: actions/setup-java@v2
32+
uses: actions/setup-java@v4
3333
with: #Compile java needs to be the highest to ensure proper compilation of the multi-release jar
34-
distribution: 'adopt'
34+
distribution: 'temurin'
3535
java-version: 17
36-
- name: Maven cache
37-
uses: actions/cache@v2
38-
env:
39-
cache-name: maven-cache
40-
with:
41-
path:
42-
~/.m2
43-
key: build-${{ env.cache-name }}
36+
cache: 'maven'
4437
- name: Copyright
4538
run: bash etc/copyright.sh
4639
- name: Checkstyle
47-
run: mvn -B checkstyle:checkstyle
40+
run: mvn -B checkstyle:checkstyle -Pstaging
4841
- name: Yasson install
49-
# run: mvn -U -C -Pstaging clean install -DskipTests
50-
run: mvn -U -C clean install -DskipTests
51-
- name: Set up JDK for tests
52-
uses: actions/setup-java@v2
53-
with:
54-
distribution: 'adopt'
55-
java-version: ${{ matrix.java_version }}
42+
run: mvn -U -C clean install -Pstaging -DskipTests
5643
- name: Yasson tests
5744
run: mvn -U -B -C -Dmaven.javadoc.skip=true -Pstaging verify
5845
- name: JSONB-API TCK
59-
run: cd yasson-tck && mvn -U -B test -DargLine="-Djava.locale.providers=COMPAT"
46+
run: cd yasson-tck && mvn -U -B test -DargLine="-Djava.locale.providers=COMPAT" -Pstaging

etc/checkstyle.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright (c) 2019, 2022 Oracle and/or its affiliates. All rights reserved.
4+
Copyright (c) 2019, 2024 Oracle and/or its affiliates. All rights reserved.
55
66
This program and the accompanying materials are made available under the
77
terms of the Eclipse Public License v. 2.0 which is available at
@@ -88,7 +88,7 @@
8888
<!-- Checks for Javadoc comments. -->
8989
<!-- See http://checkstyle.sf.net/config_javadoc.html -->
9090
<module name="JavadocMethod">
91-
<property name="scope" value="protected"/>
91+
<property name="accessModifiers" value="protected"/>
9292
<property name="allowMissingReturnTag" value="true"/>
9393
<property name="allowMissingParamTags" value="true"/>
9494
</module>

0 commit comments

Comments
 (0)