Just add this
<forceJavacCompilerUse>true</forceJavacCompilerUse>
to your maven compiler build plugin in your POM and you’ll see all the javac errors! Source with more details
More Related Contents:
- Is Maven ready for JDK9?
- Where should I put unit tests when migrating a Java 8 project to Jigsaw
- Differences between dependencyManagement and dependencies in Maven
- Maven: Lifecycle vs. Phase vs. Plugin vs. Goal [closed]
- How to add a dependency to a Spring Boot Jar in another project?
- Passing command line arguments from Maven as properties in pom.xml
- What is under in pom.xml for?
- Jersey fails when creating uber jar with maven-assembly-plugin
- Tomcat casting servlets to javax.servlet.Servlet instead of jakarta.servlet.http.HttpServlet
- Maven – exclude folder from build
- mvn release:prepare not committing changes to pom.xml
- Caused by: java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags when using lombok
- failsafe plugin won’t run on one project but will run on another — why?
- Maven: excluding java files in compilation
- How to get access to Maven’s dependency hierarchy within a plugin
- How can I skip tests in maven install goal, while running them in maven test goal?
- Cannot use jacoco JVM args and surefire JVM args together in maven
- How do I Extract Version ID from POM inside Jenkins Declarative and Scripted pipelines?
- Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.
- Cannot get maven project.version property in a Spring application with @Value
- What is the meaning of type “bundle” in a maven dependency?
- How to place the output jar into another folder with maven?
- By default, where does Spring Boot expect views to be stored?
- Maven Snapshot Repository vs Release Repository
- Generate test-jar along with jar file in test package
- ClassNotFoundException with com.mysql.cj.jdbc.Driver, MySQL Connector and IntelliJ IDEA [duplicate]
- How to override the `project.build.finalName` Maven property from the command line?
- Make maven’s surefire show stacktrace in console
- Maven best practice for creating ad hoc zip artifact
- How to exclude maven dependencies?