You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reproduce verify if mvn -v and java -version are different (ideally the latter is Java "old", like 11).
This can already be confirmed with the following ITs
[ERROR] The following builds failed:
[ERROR] * aot-sample\pom.xml
[ERROR] * issue375\pom.xml
[ERROR] * package-jar-aot\pom.xml
[ERROR] * run-aot-jvmargs\pom.xml
[ERROR] * run-aot\pom.xml
Root cause is the AbstractMicronautAotCli. This class doesn't execute java directly, but delegates it to the exec-maven-plugin. However, this one just calls "java".
To reproduce verify if
mvn -v
andjava -version
are different (ideally the latter is Java "old", like 11).This can already be confirmed with the following ITs
[ERROR] The following builds failed:
[ERROR] * aot-sample\pom.xml
[ERROR] * issue375\pom.xml
[ERROR] * package-jar-aot\pom.xml
[ERROR] * run-aot-jvmargs\pom.xml
[ERROR] * run-aot\pom.xml
Root cause is the AbstractMicronautAotCli. This class doesn't execute java directly, but delegates it to the exec-maven-plugin. However, this one just calls "java".
By injecting the ToolchainManager and MavenSession and replacing this small piece of code it'll work as expected
The text was updated successfully, but these errors were encountered: