Skip to content

Commit

Permalink
Bump quarkus.platform.version from 3.2.4.Final to 3.14.0 in /java/nat…
Browse files Browse the repository at this point in the history
…ive-image/quarkus-native-image-maven (#796)

* Bump quarkus.platform.version

Bumps `quarkus.platform.version` from 3.2.4.Final to 3.14.0.

Updates `io.quarkus:quarkus-bom` from 3.2.4.Final to 3.14.0
- [Release notes](https://github.com/quarkusio/quarkus/releases)
- [Commits](quarkusio/quarkus@3.2.4.Final...3.14.0)

Updates `io.quarkus:quarkus-maven-plugin` from 3.2.4.Final to 3.14.0

---
updated-dependencies:
- dependency-name: io.quarkus:quarkus-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.quarkus:quarkus-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump to Java 21

Signed-off-by: Daniel Mikusa <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Daniel Mikusa <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Mikusa <[email protected]>
  • Loading branch information
dependabot[bot] and dmikusa authored Aug 23, 2024
1 parent b090d3b commit 718471e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/java-quarkus-native-image-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ name: java-quarkus-native-image-maven
merge_group:
pull_request:
paths:
- java/native-image/quarkus-native-image-maven/**
- java/native-image/quarkus-native-image-maven/**
push:
branches:
- main
- main
paths:
- java/native-image/quarkus-native-image-maven/**
- java/native-image/quarkus-native-image-maven/**

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
java: [17]
java: [21]

steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
distribution: "zulu"
- run: ./mvnw -B package -Djava.version=${{ matrix.java }}
working-directory: java/native-image/quarkus-native-image-maven
2 changes: 1 addition & 1 deletion java/native-image/quarkus-native-image-maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<properties>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
<quarkus.platform.version>3.2.4.Final</quarkus.platform.version>
<quarkus.platform.version>3.14.0</quarkus.platform.version>
<compiler-plugin.version>3.13.0</compiler-plugin.version>
<surefire-plugin.version>3.4.0</surefire-plugin.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ package native_image_test
import (
"flag"
"fmt"
"github.com/paketo-buildpacks/samples/tests"
"os"
"path/filepath"
"testing"
"time"

"github.com/paketo-buildpacks/samples/tests"

"github.com/paketo-buildpacks/occam"
"github.com/sclevine/spec"
"github.com/sclevine/spec/report"
Expand All @@ -22,6 +23,7 @@ var builders tests.BuilderFlags
func init() {
flag.Var(&builders, "name", "the name a builder to test with")
}

func TestJNIQuarkus(t *testing.T) {
Expect := NewWithT(t).Expect

Expand Down Expand Up @@ -83,6 +85,7 @@ func testQuarkusWithBuilder(builder string) func(*testing.T, spec.G, spec.S) {
image, logs, err = pack.Build.
WithPullPolicy("never").
WithEnv(map[string]string{
"BP_JVM_VERSION": "21",
"BP_NATIVE_IMAGE": "true",
"BP_MAVEN_BUILD_ARGUMENTS": "-Dquarkus.package.type=native-sources -Dmaven.test.skip=true package",
"BP_MAVEN_BUILT_ARTIFACT": "target/native-sources",
Expand Down

0 comments on commit 718471e

Please sign in to comment.