Skip to content

Conversation

kwin
Copy link
Contributor

@kwin kwin commented Feb 3, 2024

This closes #140

@gnodet
Copy link
Member

gnodet commented Feb 3, 2024

Does this mean you cannot have a single configuration that would target JDK 8 and built on both JDK 8 and JDK 11 ?

@kwin
Copy link
Contributor Author

kwin commented Feb 3, 2024

The other way around:
Right now you cannot use "release" with javac 8 (leads to an error), in the future it will be silently disregarded. This makes JDK9+ specific profiles like https://github.com/apache/maven-apache-parent/blob/4e05486793fa7938cb4de7eff04d54ceae05f9d3/pom.xml#L528-L538 obsolete.

@kwin kwin merged commit d8e98dd into master Feb 5, 2024
@kwin kwin deleted the feature/set-release-conditionally branch February 5, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"release" parameter should only be set for javac version >= 9
4 participants