I am writing a Jenkins plugin but new to Java and Maven.
When I create a plugin in intelliJ, I get all the compiler warnings that I expect to see (for example, failure warnings), but I cannot find a way to compile it through the command line that will show them (for example, with mvn hpi: hpi / mvn compile)
I tried adding the following lines to the maven-compiler-plugin section of the Maven settings file, but to no avail:
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
The ultimate goal of this is to compile the plugin on jenkins and provide warnings to the alert plugin.
source
share