[
https://issues.apache.org/jira/browse/MCOMPILER-442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
mike duigou updated MCOMPILER-442:
----------------------------------
Description:
Add a showLint configuration option to eliminate the need to use
{code:java}
<configuration>
<fork>true</fork>
<compilerArgs>
<arg>-Xlint:all</arg>
</compilerArgs>
...
</configuration>{code}
to configure the display of compiler lint messages. The advantage to a showLint
configuration would be that it is more ammenable to inclusion in a parent or
reactor project for inheritance in to sub-modules.
The <showLint> element, if present would add the "-Xlint" option to the
compiler command line and the contents of the element as the parameter. ie.
{code:java}
<showLint>all,-options,-path</showLint>
{code}
would add:
{code:java}
-Xlint:all,-options,-path
{code}
to the compiler command line.
was:
Add a showLint configuration option to eliminate the need to use
{code:java}
<configuration>
<fork>true</fork>
<compilerArgs>
<arg>-Xlint:all</arg>
</compilerArgs>
...
</configuration>{code}
to configure the display of compiler lint messages. The advantage to a showLint
configuration would be that it is more ammenable to inclusion in a parent or
reactor project for inheritance in to sub-modules.
The <showLint> element, if present would add the "-Xlint" option to the
compiler command line and the contents of the element as the parameter. ie.
{code:java}
<showLint>all,-options,-path</showLint>
{code}
would add:
{code:java}
-Xlint:all,-options,-path
{code}
to the compiler command line.
> Add "showLint" option
> ---------------------
>
> Key: MCOMPILER-442
> URL: https://issues.apache.org/jira/browse/MCOMPILER-442
> Project: Maven Compiler Plugin
> Issue Type: New Feature
> Affects Versions: 3.8.1
> Reporter: mike duigou
> Priority: Minor
>
> Add a showLint configuration option to eliminate the need to use
>
> {code:java}
> <configuration>
> <fork>true</fork>
> <compilerArgs>
> <arg>-Xlint:all</arg>
> </compilerArgs>
> ...
> </configuration>{code}
> to configure the display of compiler lint messages. The advantage to a
> showLint configuration would be that it is more ammenable to inclusion in a
> parent or reactor project for inheritance in to sub-modules.
> The <showLint> element, if present would add the "-Xlint" option to the
> compiler command line and the contents of the element as the parameter. ie.
> {code:java}
> <showLint>all,-options,-path</showLint>
> {code}
> would add:
> {code:java}
> -Xlint:all,-options,-path
> {code}
> to the compiler command line.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)