hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Eagles (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11883) Checkstyle Results are Different Between Command Line and Eclipse
Date Sun, 03 May 2015 05:21:06 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-11883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jonathan Eagles updated HADOOP-11883:
    Attachment: HADOOP-11883.1.patch

[~aw], this plugin tries to follow the blog post above. I do make a deviation in that the
method posted in the blog runs checkstyle during mvn install. This adds one minute to the
build time. Instead I take another approach where I build the checkstyle rules resources from
the hadoop-build-tools jar and unpack that resource jar into the appropriate output directory.
I have also not added the checkstyle project natures to the maven-eclipse-plugin. Eclipse
add-ons like eclipse-cs trigger off of the project natures as to whether checkstyle should
be run as part of the build process. If not, then you can just run checkstyle on demand. I
think this meets our process as of today.

> Checkstyle Results are Different Between Command Line and Eclipse
> -----------------------------------------------------------------
>                 Key: HADOOP-11883
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11883
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Jonathan Eagles
>         Attachments: HADOOP-11883.1.patch
> If I run the checkstyle plugin from with eclipse, I want it to apply the same rules as
when run from the command line.

This message was sent by Atlassian JIRA

View raw message