Github user amberarrow commented on the pull request:

    
https://github.com/apache/incubator-apex-core/pull/199#issuecomment-170275846
  
    Since command line parameter definitions override those in pom.xml, 
developers can use aliases to toggle these flags in any desired way, for 
example:
    
    * alias vfy-none="mvn verify -Dcheckstyle.console=false 
-Dcheckstyle.consoleOutput=false -DskipTests"
    * alias vfy-both="mvn verify -Dcheckstyle.console=true 
-Dcheckstyle.consoleOutput=true -DskipTests"
    * alias vfy-cc="mvn verify -Dcheckstyle.console=true 
-Dcheckstyle.consoleOutput=false -DskipTests"
    * alias vfy-co="mvn verify -Dcheckstyle.console=false 
-Dcheckstyle.consoleOutput=true -DskipTests"
    
    We can then use these aliases:
        vfy-cc > cc.txt
        vfy-co > co.txt
        vfy-none > none.txt
        vfy-both > both.txt
    
    And finally examine the results:
    
        grep -ic warn both.txt none.txt co.txt cc.txt
        both.txt:1270
        none.txt:0
        co.txt:1268
        cc.txt:2
    
        grep -ic error both.txt none.txt co.txt cc.txt
        both.txt:6564
        none.txt:2
        co.txt:3283
        cc.txt:3283
    
    (I'm not arguing for the decision to go one way or the other, just 
suggesting that developers can cope with either with minimal inconvenience).



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to