Compile Java code to a different version using Maven

Опубликовано: 08 Июль 2023
на канале: Code With Katia
231
7

WHAT problem we are solving:
Compile your code to a specific version of Java.

WHY do you need it?
Compatibility / Backward Compatibility, Deployment Requirements, Team / Project Standards, Third Party Dependencies, Language Features, etc.

HOW to fix it?
Configure maven-compiler-plugin in your pom.xml project file.

Maven compiler config code: https://maven.apache.org/plugins/mave...