I've a maven project with a maven compiler plugin, and I want use -Xlint:overrides as option to java compiler, so I added this line to maven compiler plugin <compilerArgument>-Xlint:overrides</compilerArgument>
but I've already need to use unchecked options and I need only these two parameters, how can I add to parameters to Xlint? -Xlint:unchecked overrides doesn't work... maven returns build faulire.
Can you help me?
If you have maven 3.1 you can use
<compilerArgs>
<arg>arg 1</arg>
<arg>arg 2</arg>
</compilerArgs>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With