Repository: incubator-distributedlog Updated Branches: refs/heads/master 57e347795 -> 1f705bea6
DL-195: exclude DISCLAIMER.bin.txt for Apache Rat Check Failures "mvn apache-rat:check package findbugs:check -DskipTests" would fail with report: ``` [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.7:check (default-cli) on project distributedlog_2.10: Too many unapproved licenses: 1 -> [Help 1] ``` Check the rat report, seems we need to exclude file DISCLAIMER.bin.txt from rat checking. After exclude 1 file for rat check, by adding this line at line232 of pom.xml, we could execute above command successfully, ``` <exclude>src/main/resources/DISCLAIMER.bin.txt</exclude> ``` build result ``` [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache DistributedLog :: Parent .................... SUCCESS [ 2.625 s] [INFO] Apache DistributedLog :: Build Tools ............... SUCCESS [ 0.809 s] [INFO] Apache DistributedLog :: Protocol .................. SUCCESS [ 21.284 s] [INFO] Apache DistributedLog :: Core Library .............. SUCCESS [ 24.496 s] [INFO] Apache DistributedLog :: Proxy Client .............. SUCCESS [ 11.254 s] [INFO] Apache DistributedLog :: Proxy Service ............. SUCCESS [ 21.825 s] [INFO] Apache DistributedLog :: Benchmark ................. SUCCESS [ 14.015 s] [INFO] Apache DistributedLog :: Tutorials :: Basics ....... SUCCESS [ 18.098 s] [INFO] Apache DistributedLog :: Tutorials :: Messaging Tutorial SUCCESS [ 32.122 s] [INFO] Apache DistributedLog :: Tutorials :: Kafka Tutorial SUCCESS [ 51.698 s] [INFO] Apache DistributedLog :: Tutorials :: MapReduce Tutorial SUCCESS [09:17 min] [INFO] Apache DistributedLog :: Tutorials ................. SUCCESS [ 0.050 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS ``` Author: jiazhai <zhaiji...@gmail.com> Author: jiazhai <jiaz...@users.noreply.github.com> Reviewers: Sijie Guo <si...@apache.org> Closes #124 from jiazhai/DL-195 and squashes the following commits: 6c642c3 [jiazhai] exclude 1 file to pass rat check f30f454 [jiazhai] Merge remote-tracking branch 'us/master' a40f92f [jiazhai] Merge pull request #2 from apache/master f2cb5f4 [jiazhai] Merge pull request #1 from apache/master Project: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/commit/1f705bea Tree: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/tree/1f705bea Diff: http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/diff/1f705bea Branch: refs/heads/master Commit: 1f705bea69d1e597ef2585cbca63862edd1773e5 Parents: 57e3477 Author: jiazhai <zhaiji...@gmail.com> Authored: Mon Apr 3 09:52:04 2017 -0700 Committer: Sijie Guo <si...@apache.org> Committed: Mon Apr 3 09:52:04 2017 -0700 ---------------------------------------------------------------------- pom.xml | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1f705bea/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index e3479bd..020baeb 100644 --- a/pom.xml +++ b/pom.xml @@ -229,6 +229,7 @@ <exclude>CONFIG.ini</exclude> <exclude>**/**.md</exclude> <exclude>scripts/dev/reviewers</exclude> + <exclude>src/main/resources/DISCLAIMER.bin.txt</exclude> </excludes> </configuration> </plugin>