You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "tdiesler (via GitHub)" <gi...@apache.org> on 2024/04/30 09:20:47 UTC
[I] Build should enforce a required jdk version [camel-k]
tdiesler opened a new issue, #5439:
URL: https://github.com/apache/camel-k/issues/5439
### What happened?
With Java11, I see
```
--- FAIL: TestGenerateQuarkusProjectWithBuildTimeProperties (2.52s)
quarkus_test.go:155:
Error Trace: /Users/tdiesler/git/camel-k/pkg/builder/quarkus_test.go:155
Error: Received unexpected error:
failure while building project: [ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:3.8.3:build (build-integration) on project camel-k-integration: Execution build-integration of goal io.quarkus:quarkus-maven-plugin:3.8.3:build failed: Unable to load the mojo 'build' (or one of its required components) from the plugin 'io.quarkus:quarkus-maven-plugin:3.8.3': java.util.NoSuchElementException: exit status 1
Test: TestGenerateQuarkusProjectWithBuildTimeProperties
--- FAIL: TestGenerateQuarkusProjectWithNativeSources (3.43s)
quarkus_test.go:214:
Error Trace: /Users/tdiesler/git/camel-k/pkg/builder/quarkus_test.go:214
Error: Received unexpected error:
failure while building project: [ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:3.8.3:build (build-integration) on project camel-k-integration: Execution build-integration of goal io.quarkus:quarkus-maven-plugin:3.8.3:build failed: Unable to load the mojo 'build' (or one of its required components) from the plugin 'io.quarkus:quarkus-maven-plugin:3.8.3': java.util.NoSuchElementException: exit status 1
Test: TestGenerateQuarkusProjectWithNativeSources
--- FAIL: TestBuildQuarkusRunner (3.14s)
quarkus_test.go:290:
Error Trace: /Users/tdiesler/git/camel-k/pkg/builder/quarkus_test.go:290
Error: Received unexpected error:
failure while building project: [ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:3.8.3:build (build-integration) on project camel-k-integration: Execution build-integration of goal io.quarkus:quarkus-maven-plugin:3.8.3:build failed: Unable to load the mojo 'build' (or one of its required components) from the plugin 'io.quarkus:quarkus-maven-plugin:3.8.3': java.util.NoSuchElementException: exit status 1
Test: TestBuildQuarkusRunner
FAIL
FAIL github.com/apache/camel-k/v2/pkg/builder 9.663s
```
### Steps to reproduce
_No response_
### Relevant log output
_No response_
### Camel K version
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Build should enforce a required jdk version [camel-k]
Posted by "tdiesler (via GitHub)" <gi...@apache.org>.
tdiesler commented on issue #5439:
URL: https://github.com/apache/camel-k/issues/5439#issuecomment-2084996095
PR: https://github.com/apache/camel-k/pull/5440
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Build should enforce a required jdk version [camel-k]
Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez closed issue #5439: Build should enforce a required jdk version
URL: https://github.com/apache/camel-k/issues/5439
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Build should enforce a required jdk version [camel-k]
Posted by "tdiesler (via GitHub)" <gi...@apache.org>.
tdiesler commented on issue #5439:
URL: https://github.com/apache/camel-k/issues/5439#issuecomment-2084810115
It works with this ...
```
$ mvn -version
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: /opt/homebrew/Cellar/maven/3.9.6/libexec
Java version: 17.0.6, vendor: Azul Systems, Inc., runtime: /Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "14.4.1", arch: "aarch64", family: "mac"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org