Skip to content

Commit

Permalink
Move to Java 17 and Quarkus 3.7.2 (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez authored Feb 14, 2024
1 parent 49edd8e commit 8bba512
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 17 deletions.
8 changes: 7 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,10 @@ updates:
- package-ecosystem: maven
directory: "/"
schedule:
interval: "daily"
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
18 changes: 6 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,15 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up JDK 11
uses: actions/setup-java@v1
- uses: actions/setup-java@v4
name: Set up JDK 17
with:
java-version: 11

- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
distribution: 'temurin'
java-version: 17
cache: 'maven'
cache-dependency-path: '**/pom.xml'

- name: Build with Maven
run: |
mvn -version
mvn formatter:validate verify --file pom.xml
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:

- uses: actions/checkout@v4

- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
java-version: 17
cache: 'maven'
server-id: ossrh
server-username: MAVEN_USERNAME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ quarkus.smallrye-openapi.auto-add-tags=false

# Fault Tolerance
smallrye.faulttolerance.mp-compatibility=true
MP_Fault_Tolerance_NonFallback_Enabled=true
MP_Fault_Tolerance_Metrics_Enabled=true

# MP Telemetry is disabled by default
quarkus.otel.sdk.disabled=true
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>io.quarkiverse</groupId>
<artifactId>quarkiverse-parent</artifactId>
<version>15</version>
<version>16</version>
</parent>

<groupId>io.quarkiverse.microprofile</groupId>
Expand All @@ -14,7 +14,7 @@
<name>Quarkus - MicroProfile - Parent</name>

<properties>
<quarkus.version>3.6.7</quarkus.version>
<quarkus.version>3.7.2</quarkus.version>
</properties>

<scm>
Expand Down
1 change: 1 addition & 0 deletions tck/fault-tolerance/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<dependenciesToScan>
<dependency>org.eclipse.microprofile.fault-tolerance:microprofile-fault-tolerance-tck</dependency>
</dependenciesToScan>
<excludesFile>src/test/resources/exclusions.txt</excludesFile>
</configuration>
</plugin>
</plugins>
Expand Down
11 changes: 11 additions & 0 deletions tck/fault-tolerance/src/test/resources/exclusions.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Metrics Tests using the old MP Metrics that we don't support anymore
org.eclipse.microprofile.fault.tolerance.tck.metrics.*
org.eclipse.microprofile.fault.tolerance.tck.metrics.AllMetricsTest
org.eclipse.microprofile.fault.tolerance.tck.metrics.BulkheadMetricTest
org.eclipse.microprofile.fault.tolerance.tck.metrics.CircuitBreakerMetricTest
org.eclipse.microprofile.fault.tolerance.tck.metrics.ClashingNameTest
org.eclipse.microprofile.fault.tolerance.tck.metrics.ClassLevelMetricTest
org.eclipse.microprofile.fault.tolerance.tck.metrics.FallbackMetricTest
org.eclipse.microprofile.fault.tolerance.tck.metrics.MetricsDisabledTest
org.eclipse.microprofile.fault.tolerance.tck.metrics.RetryMetricTest
org.eclipse.microprofile.fault.tolerance.tck.metrics.TimeoutMetricTest
3 changes: 3 additions & 0 deletions tck/jsonb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
<dependenciesToScan>
<dependency>jakarta.json.bind:jakarta.json.bind-tck</dependency>
</dependenciesToScan>
<systemPropertyVariables>
<java.locale.providers>COMPAT</java.locale.providers>
</systemPropertyVariables>
<excludes>
<exclude>ee.jakarta.tck.json.bind.signaturetest.jsonb.JSONBSigTest</exclude>
<!-- @BeforeAll requires to be public -->
Expand Down

0 comments on commit 8bba512

Please sign in to comment.