Skip to content

Commit

Permalink
Merge branch 'eclipse-ee4j:master' into npe-custom-timestamp-formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
greek1979 authored Sep 11, 2024
2 parents 655f068 + 14e68b6 commit 384ff2a
Show file tree
Hide file tree
Showing 28 changed files with 414 additions and 346 deletions.
31 changes: 9 additions & 22 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2021, 2022 Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2021, 2024 Oracle and/or its affiliates. All rights reserved.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License v. 2.0 which is available at
Expand All @@ -21,39 +21,26 @@ jobs:

strategy:
matrix:
java_version: [ 11, 17 ]
java_version: [ 11, 17, 21 ]

steps:
- name: Checkout for build
uses: actions/checkout@v2.3.4
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up compile JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with: #Compile java needs to be the highest to ensure proper compilation of the multi-release jar
distribution: 'adopt'
distribution: 'temurin'
java-version: 17
- name: Maven cache
uses: actions/cache@v2
env:
cache-name: maven-cache
with:
path:
~/.m2
key: build-${{ env.cache-name }}
cache: 'maven'
- name: Copyright
run: bash etc/copyright.sh
- name: Checkstyle
run: mvn -B checkstyle:checkstyle
run: mvn -B checkstyle:checkstyle -Pstaging
- name: Yasson install
# run: mvn -U -C -Pstaging clean install -DskipTests
run: mvn -U -C clean install -DskipTests
- name: Set up JDK for tests
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: ${{ matrix.java_version }}
run: mvn -U -C clean install -Pstaging -DskipTests
- name: Yasson tests
run: mvn -U -B -C -Dmaven.javadoc.skip=true -Pstaging verify
- name: JSONB-API TCK
run: cd yasson-tck && mvn -U -B test -DargLine="-Djava.locale.providers=COMPAT"
run: cd yasson-tck && mvn -U -B test -DargLine="-Djava.locale.providers=COMPAT" -Pstaging
4 changes: 2 additions & 2 deletions etc/checkstyle.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2019, 2022 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2019, 2024 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0 which is available at
Expand Down Expand Up @@ -88,7 +88,7 @@
<!-- Checks for Javadoc comments. -->
<!-- See http://checkstyle.sf.net/config_javadoc.html -->
<module name="JavadocMethod">
<property name="scope" value="protected"/>
<property name="accessModifiers" value="protected"/>
<property name="allowMissingReturnTag" value="true"/>
<property name="allowMissingParamTags" value="true"/>
</module>
Expand Down
Loading

0 comments on commit 384ff2a

Please sign in to comment.