You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2020/03/20 14:30:21 UTC

[GitHub] [commons-beanutils] aherbert commented on issue #23: Formatted source code using Apache Commons standards.

aherbert commented on issue #23: Formatted source code using Apache Commons standards.
URL: https://github.com/apache/commons-beanutils/pull/23#issuecomment-601730207
 
 
   Although this a good step to standardisation I wondered if there is a way to achieve the same in a maven plugin so that those not using eclipse can be compliant? 
   
   A quick check found this [formatter-maven-plugin](https://github.com/revelc/formatter-maven-plugin) which is built on top of the eclipse formatter. Could you have a look and see if it works when added to the pom for the code in this PR. I.e. you should be able to run `mvn formatter:format` and it should not change any of your files that you formatted in eclipse.
   
   If it works then the `formatter:validate` goal could be added to the goals run by the CI server (in a future PR) to make sure new code has not forgotten to run the formatting.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services