maven:customize-compiler-options
Add some custom options to java compiler from maven
Add this to the project pom file:
<build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.10.1</version> <configuration> <compilerArgs> <arg>-verbose</arg> <arg>-Xlint:all,-options,-path</arg> </compilerArgs> </configuration> </plugin> </plugins> </build>
maven/customize-compiler-options.txt · Last modified: 2023/07/04 19:36 by 127.0.0.1