Karm / mandrel-integration-tests

Integration tests for GraalVM and its Mandrel distribution. Runs Quarkus, Helidon and Micronaut applications and small targeted reproducers. The focus is solely on native-image utility and compilation of Java applications into native executables.
Apache License 2.0
5 stars 3 forks source link

quarkus-full-microprofile fails to compile with latest quarkus main #132

Closed jerboaa closed 1 year ago

jerboaa commented 1 year ago

Compilation of that integration test seems to fail like so:

Error:  Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project quarkus-full-microprofile: Compilation failure: Compilation failure: 
Error:  /home/runner/work/mandrel/mandrel/mandrel-integration-tests/apps/quarkus-full-microprofile/src/main/java/com/example/quarkus/metric/MetricController.java:[9,32] package javax.enterprise.context does not exist
Error:  /home/runner/work/mandrel/mandrel/mandrel-integration-tests/apps/quarkus-full-microprofile/src/main/java/com/example/quarkus/metric/MetricController.java:[10,20] package javax.inject does not exist
Error:  /home/runner/work/mandrel/mandrel/mandrel-integration-tests/apps/quarkus-full-microprofile/src/main/java/com/example/quarkus/metric/MetricController.java:[11,19] package javax.ws.rs does not exist
Error:  /home/runner/work/mandrel/mandrel/mandrel-integration-tests/apps/quarkus-full-microprofile/src/main/java/com/example/quarkus/metric/MetricController.java:[12,19] package javax.ws.rs does not exist
Error:  /home/runner/work/mandrel/mandrel/mandrel-integration-tests/apps/quarkus-full-microprofile/src/main/java/com/example/quarkus/metric/MetricController.java:[15,2] cannot find symbol
Error:    symbol: class Path
Error:  /home/runner/work/mandrel/mandrel/mandrel-integration-tests/apps/quarkus-full-microprofile/src/main/java/com/example/quarkus/metric/MetricController.java:[16,2] cannot find symbol
Error:    symbol: class ApplicationScoped
Error:  /home/runner/work/mandrel/mandrel/mandrel-integration-tests/apps/quarkus-full-microprofile/src/main/java/com/example/quarkus/config/ConfigTestController.java:[7,32] package javax.enterprise.context does not exist
Error:  /home/runner/work/mandrel/mandrel/mandrel-integration-tests/apps/quarkus-full-microprofile/src/main/java/com/example/quarkus/config/ConfigTestController.java:[8,20] package javax.inject does not exist
Error:  /home/runner/work/mandrel/mandrel/mandrel-integration-tests/apps/quarkus-full-microprofile/src/main/java/com/example/quarkus/config/ConfigTestController.java:[9,19] package javax.ws.rs does not exist
Error:  /home/runner/work/mandrel/mandrel/mandrel-integration-tests/apps/quarkus-full-microprofile/src/main/java/com/example/quarkus/config/ConfigTestController.java:[10,19] package javax.ws.rs does not exist
Error:  /home/runner/work/mandrel/mandrel/mandrel-integration-tests/apps/quarkus-full-microprofile/src/main/java/com/example/quarkus/config/ConfigTestController.java:[15,2] cannot find sym

See https://github.com/graalvm/mandrel/actions/runs/4109707075/jobs/7092101479#step:10:18622

Karm commented 1 year ago

@jerboaa That is related to the switch to Jakarta.

We will have to maintain a fork or do some extensive patching.

jerboaa commented 1 year ago

@jerboaa That is related to the switch to Jakarta.

We will have to maintain a fork or do some extensive patching.

I'll leave that up to you what's best to do here. But we need a solution one way or another. Using different app versions for different Graal/Mandrel versions seems fine too.