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

ASF GitHub Bot commented on FLINK-9249:
---------------------------------------

Github user zhangminglei commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5904#discussion_r183790505
  
    --- Diff: pom.xml ---
    @@ -636,6 +636,63 @@ under the License.
     
        <profiles>
     
    +           <profile>
    +                   <id>fast</id>
    +                   <activation>
    +                           <property>
    +                                   <name>fast</name>
    +                           </property>
    +                   </activation>
    +                   <build>
    +                           <pluginManagement>
    +                                   <plugins>
    +                                           <plugin>
    +                                                   
<groupId>org.apache.rat</groupId>
    +                                                   
<artifactId>apache-rat-plugin</artifactId>
    +                                                   <configuration>
    +                                                           
<skip>true</skip>
    +                                                   </configuration>
    +                                           </plugin>
    +                                           <plugin>
    +                                                   
<groupId>org.apache.maven.plugins</groupId>
    +                                                   
<artifactId>maven-checkstyle-plugin</artifactId>
    +                                                   <configuration>
    +                                                           
<skip>true</skip>
    +                                                   </configuration>
    --- End diff --
    
    That's good. I think this works because of ```.travis.yml``` enable it at 
least. Correct ?


> Add convenience profile for skipping non-essential plugins
> ----------------------------------------------------------
>
>                 Key: FLINK-9249
>                 URL: https://issues.apache.org/jira/browse/FLINK-9249
>             Project: Flink
>          Issue Type: Improvement
>          Components: Build System
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> When compiling Flink devs can already set a variety of command line options 
> to speed up the process, for example skipping checkstyle. We also do the same 
> thing on travis.
> However, not only is it difficult to keep track of all possible options, it 
> is also tedious to write and obfuscates the actual command.
> I propose adding a {{fast}} profile that skips non-essential plugins, 
> including:
> * rat
> * checkstyle
> * scalastyle
> * enforcer
> * japicmp
> * javadoc



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to