You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2013/03/05 23:38:13 UTC

[jira] [Created] (OOZIE-1252) Fix javac warning calculation for bin/test-patch

Rohini Palaniswamy created OOZIE-1252:
-----------------------------------------

             Summary: Fix javac warning calculation for bin/test-patch
                 Key: OOZIE-1252
                 URL: https://issues.apache.org/jira/browse/OOZIE-1252
             Project: Oozie
          Issue Type: Bug
            Reporter: Rohini Palaniswamy


bin/test-patch-10-compile is actually counting maven warnings and not javac warnings. maven-compiler-plugin first needs to be configured to output javac warnings.

{code}
<plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <compilerArgument>-Xlint:all</compilerArgument>
          <showWarnings>true</showWarnings>
          <showDeprecation>true</showDeprecation>
        </configuration>
      </plugin>
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira