Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG buildall script does not support JDK11 profile #8690

Closed
jlowe opened this issue Jul 11, 2023 · 2 comments
Closed

[BUG buildall script does not support JDK11 profile #8690

jlowe opened this issue Jul 11, 2023 · 2 comments
Assignees
Labels
bug Something isn't working build Related to CI / CD or cleanly building

Comments

@jlowe
Copy link
Member

jlowe commented Jul 11, 2023

Describe the bug
Using the build/buildall script with the JDK11 profile produces the following error:

[INFO] Scanning for projects...
[ERROR] [ERROR] Could not find the selected project in the reactor: sql-plugin @ 
[ERROR] Could not find the selected project in the reactor: sql-plugin -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException

Steps/Code to reproduce bug
build/buildall -o=-Pjdk11

@jlowe jlowe added bug Something isn't working ? - Needs Triage Need team to review and classify build Related to CI / CD or cleanly building labels Jul 11, 2023
@mattahrens mattahrens removed the ? - Needs Triage Need team to review and classify label Jul 18, 2023
@pxLi
Copy link
Collaborator

pxLi commented Jul 19, 2023

The buildall script works fine in my local ENV (using latest branch-23.08) using build/buildall -o=-Pjdk11

 % java --version
openjdk 11.0.19 2023-04-18
OpenJDK Runtime Environment (build 11.0.19+7-post-Ubuntu-0ubuntu118.04.1)
OpenJDK 64-Bit Server VM (build 11.0.19+7-post-Ubuntu-0ubuntu118.04.1, mixed mode, sharing)

% echo $JAVA_HOME
/usr/lib/jvm/java-11-openjdk-amd64

% mvn --version
Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Maven home: /usr/local/apache-maven-3.8.4
Java version: 11.0.19, vendor: Ubuntu, runtime: /usr/lib/jvm/java-11-openjdk-amd64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.4.0-80-generic", arch: "amd64", family: "unix"

maybe there is some path error in your ENV, please help provide more context if any, thanks

@jlowe
Copy link
Member Author

jlowe commented Jul 19, 2023

This was fixed by #8711. Thanks @gerashegalov!

@jlowe jlowe closed this as completed Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build Related to CI / CD or cleanly building
Projects
None yet
Development

No branches or pull requests

3 participants