accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3771) Configure automatic java code style formatting
Date Thu, 07 May 2015 14:34:01 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-3771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14532757#comment-14532757
] 

ASF GitHub Bot commented on ACCUMULO-3771:
------------------------------------------

Github user mikewalch commented on the pull request:

    https://github.com/apache/accumulo/pull/35#issuecomment-99889091
  
    I tried to create a build-tools module.  However, I ran into a problem where java-formatter-plugin
tries to run on parent pom but fails as the build-tools jar has not been created.  The parent
pom needs to be configured so that build plugins (formatter, checkstyle, find-bugs, etc) are
not run in the parent and only run in child modules after the build-tools jar is built.  I
will create a separate JIRA issue for this.


> Configure automatic java code style formatting 
> -----------------------------------------------
>
>                 Key: ACCUMULO-3771
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3771
>             Project: Accumulo
>          Issue Type: Task
>    Affects Versions: 1.8.0
>            Reporter: Mike Walch
>            Assignee: Mike Walch
>            Priority: Minor
>             Fix For: 1.8.0
>
>
> I configured automatic Java style formatting for Fluo in [FLUO-479|https://github.com/fluo-io/fluo/issues/479].
 This was done using the maven-java-formatter-plugin which formats all Java classes on every
build according to a specified Eclipse style configuration file.  This has worked well for
Fluo so Christopher Tubbs asked me to create a patch for Accumulo.  
> This patch will be composed of two commits.  The first commit will be the configuration
for the plugin.   The second commit will be all changes to Java classes after the plugin is
run.
> While auto-formatting has been a nice addition for Fluo, it does require a lot of changes
to the code initially.  If you are unhappy with this change, feel free to object...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message