-
Notifications
You must be signed in to change notification settings - Fork 96
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
Java 8 Maven Projects fail with 2.0.1 Build Snapshot (invalid flag: --release) #320
Comments
I believe what is happening, is that the Adding |
My earlier comment is only partially correct. Unsetting
This is because of a call to An issue (https://issues.apache.org/jira/browse/MCOMPILER-339) exists in the Maven Compiler Plugin Jira requesting that Maven just ignore release when the JDK being used is < 9. A comment there suggests:
|
It looks like all Java 8 builds are failing. They fail in JDK 8 due to the release flag error here and in newer versions because the parent pom is setting the release flag to |
Description
A new project created with 2.0.1 Build Snapshot for Java 8 with Maven will not build. I observed this when debugging failing GitHub Actions for #319
Task List
Steps to Reproduce
Expected Behaviour
The application should build
Actual Behaviour
The application does not build:
Environment Information
Example Application
https://github.com/JasonTypesCodes/mn2-mvn-jdk8
The text was updated successfully, but these errors were encountered: