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

    https://github.com/apache/incubator-brooklyn/pull/49#discussion_r14706576
  
    --- Diff: pom.xml ---
    @@ -678,6 +662,64 @@
                         </execution>
                     </executions>
                 </plugin>
    +            <!-- Needed for command-line access, e.g mvn apache-rat:rat 
and mvn apache-rat:check -->
    +            <plugin>
    +              <groupId>org.apache.rat</groupId>
    +              <artifactId>apache-rat-plugin</artifactId>
    +              <version>0.10</version>
    +              <executions>
    +                <execution>
    +                  <phase>verify</phase>
    +                  <goals>
    +                    <goal>check</goal>
    +                  </goals>
    +                </execution> 
    +              </executions>
    +              <configuration>
    +                <!--
    +                     If you wish to override this list in the component 
(child) pom, ensure you use
    +                         <excludes combine.children="merge">
    +                     so that the child pom entries replace the parent 
entries
    +                 -->
    +                <excludes combine.children="append">
    +                  <!-- git and IDE project files -->
    +                  <!-- see https://issues.apache.org/jira/browse/RAT-107 
-->
    +                  <exclude>**/.git/**</exclude>
    +                  <exclude>**/.gitignore</exclude>
    +                  <exclude>**/.idea/**</exclude>
    +                  <exclude>**/*.iml</exclude>
    +                  <exclude>**/.classpath/**</exclude>
    +                  <exclude>**/.project</exclude>
    +                  <exclude>**/.settings/**</exclude>
    +                  <exclude>**/*.log</exclude>
    +                  <exclude>**/brooklyn*.log.*</exclude>
    +                  <!-- files not requiring licence -->
    +                  <exclude>ignored/**</exclude>
    +                  <exclude>LICENSE.md</exclude>
    +                  <exclude>**/MANIFEST.MF</exclude>
    +                  <exclude>**/test-output/**</exclude>
    +                  <exclude>**/*.pem.pub</exclude>
    +                  <exclude>**/*.svg</exclude>
    +                  <exclude>**/*.crt</exclude>
    +                  <exclude>**/*.csr</exclude>
    +                  <exclude>**/*.key</exclude>
    +                  <exclude>**/*.key.org</exclude>
    +                  <exclude>**/*.psd</exclude>
    +                  <exclude>**/*.json</exclude>
    --- End diff --
    
    I excluded json as it doesn't support comments, I had a quick look at json 
files in jClouds (just as an example of an Apache TLP) and their json files 
don't include the apache header


---
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