Interview Prep/CI/CD/Build Tools, Nexus, SonarQube and Test Failures

Maven `[ERROR] Source option 5 is no longer supported. Use 8 or later.` after a JDK change.

BeginnerTroubleshootingBuild Tools, Nexus, SonarQube and Test Failures
Answer

Likely causes → The POM relies on default compiler level; newer JDK dropped old defaults.

Diagnose → mvn -v, check maven.compiler.*.

Fix → Set <maven.compiler.release>17</maven.compiler.release>.

Prevent → Explicit compiler settings and toolchains.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Build Tools, Nexus, SonarQube and Test Failures