adorsys / keycloak-config-cli

Import YAML/JSON-formatted configuration files into Keycloak - Configuration as Code for Keycloak.
https://adorsys.github.io/keycloak-config-cli/
Apache License 2.0
800 stars 146 forks source link

Fix env.JAVA_HOME test failures before build #1154

Closed AssahBismarkabah closed 1 month ago

AssahBismarkabah commented 1 month ago

What this PR does / why we need it: update The Maven Wrapper script (mvnw) and potential build with mvn now incorporate a verification step to ensure the presence of the JAVA_HOME environment variable before executing any Maven commands. This enhancement mitigates potential build failures stemming from the absence of a configured JAVA_HOME environment variable.

Which issue this PR fixes: fixes https://github.com/adorsys/keycloak-config-cli/issues/1149

Special notes for your reviewer:

PR Readiness Checklist:

Complete these before marking the PR as ready to review:

AssahBismarkabah commented 1 month ago

resolved @francis-pouatcha

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud