You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hugegraph.apache.org by GitBox <gi...@apache.org> on 2022/10/31 08:06:23 UTC

[GitHub] [incubator-hugegraph-computer] imbajin commented on a diff in pull request #191: support check license header with RAT

imbajin commented on code in PR #191:
URL: https://github.com/apache/incubator-hugegraph-computer/pull/191#discussion_r1009126695


##########
pom.xml:
##########
@@ -207,6 +207,49 @@
 
     <build>
         <plugins>
+            <!-- Apache RAT for license check -->
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <exclude>**/*.versionsBackup</exclude>
+                        <exclude>**/*.proto</exclude>
+                        <exclude>**/*.log</exclude>
+                        <exclude>**/*.txt</exclude>
+                        <exclude>**/*.json</exclude>
+                        <exclude>**/*.conf</exclude>
+                        <exclude>**/*.map</exclude>
+                        <exclude>**/go.mod</exclude>
+                        <exclude>**/go.sum</exclude>
+                        <exclude>**/*.properties</exclude>
+                        <exclude>dist/**/*</exclude>
+                        <exclude>**/assembly/static/bin/hugegraph.service</exclude>
+                        <exclude>scripts/dev/reviewers</exclude>
+                        <exclude>scripts/dev/reviewers</exclude>
+                        <exclude>**/*.md</exclude>
+                        <exclude>**/dependency-reduced-pom.xml</exclude>
+                        <exclude>**/logs/*.log</exclude>
+                        <exclude>**/META-INF/**/*</exclude>
+                        <exclude>**/target/*</exclude>
+                        <exclude>style/*</exclude>
+                        <exclude>ChangeLog</exclude>
+                        <exclude>CONFIG.ini</exclude>
+                        <exclude>GROUPS</exclude>
+                        <exclude>OWNERS</exclude>
+                        <!-- GitHub -->
+                        <exclude>.github/**/*</exclude>
+                        <!-- Intellij -->
+                        <exclude>**/*.iml</exclude>
+                        <exclude>**/*.iws</exclude>
+                        <exclude>**/*.ipr</exclude>
+                        <exclude>**/META-INF/MANIFEST.MF</exclude>
+                        <!-- Maven -->
+                        <exclude>.repository/**</exclude>

Review Comment:
   no need to remove them now, enhance later if need (just remove duplicate items)



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

To unsubscribe, e-mail: dev-unsubscribe@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org