-
Notifications
You must be signed in to change notification settings - Fork 213
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
maven.compiler.source & maven.compiler.target 8 #320
Comments
The client is >= 11, but the server needs to be compatible with JDK 8. |
Sorry for the late reply. My main point is that, ideally, the |
It is in the client and as @gnodet pointed out above, client's baseline is Java 11. Other modules should be Java 8+.
Yes, some sort of verification would be nice. Is animal-sniffer-plugin reasonably fast? Running the native integration tests on Java 8 would also be fine.
I think that's already guaranteed by the fact that we build with Java 11 on the CI. The build would fail if we used APIs from newer Java versions. |
I would say so. I'm using it in https://github.com/vackosar/gitflow-incremental-builder (which is a smaller project than
Yeah, right, but it's always a bit frustrating if you think you're done (locally), just to see CI failing after the push. 😉 |
I'd find it more frustrating to have slow local build :) |
I'll have a second, more detailed look at |
I've given up on this for now:
|
These two properties are defined in root pom.xml, but shouldn't both be set to 11?
Furthermore,
maven.compiler.release
should be used instead, which also makes sure that you don't use JDK 12+ APIs.The text was updated successfully, but these errors were encountered: