nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sivaprasanna <sivaprasanna...@gmail.com>
Subject Re: Failed to execute goal org.apache.rat:apache-rat-plugin:0.11:check (default) on project nifi-poi-processors: Too many files with unapproved license
Date Fri, 26 Jan 2018 04:01:19 GMT
Maven version details:

E:\Workspace\nifi\nifi-nar-bundles\nifi-azure-bundle>mvn -version
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d;
2017-10-18T13:28:13+05:30)
Maven home: C:\Program Files\apache-maven-3.5.2\bin\..
Java version: 1.8.0_111, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_111\jre
Default locale: en_IN, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

rat version info:

Name: Apache Creadur Rat::Plugin4Maven
Description: A plugin for Apache Maven that runs Apache Rat to audit the
  source to be distributed.
Group Id: org.apache.rat
Artifact Id: apache-rat-plugin
Version: 0.12
Goal Prefix: apache-rat

This plugin has 3 goals:

apache-rat:check
  Description: Run Rat to perform a violation check.

apache-rat:help
  Description: Display help information on apache-rat-plugin.
    Call mvn apache-rat:help -Ddetail=true -Dgoal=<goal-name> to display
    parameter details.

apache-rat:rat
  Description: Generates a report with Rat's output.

The rat version is probably from one of NiFi's module's POM since I never
had maven before and never installed any maven plugins before.

And I have followed the Contributor Guide (
https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide) to set
things up. I applied the "Windows Specific Configuration" as well. Could
this be because I'm running the build from a Windows machine? I'm on
Windows 10 as you can see from my mvn -version output.


On Thu, Jan 25, 2018 at 11:59 PM, Kevin Doran <kdoran@apache.org> wrote:

> From the output it appears to me that the maven rat plugin is failing to
> identify 'nifi/nifi-nar-bundles/nifi-poi-bundle/nifi-poi-
> processors/src/test/resources/Unsupported.xls' as a binary file. Do you
> know what version of the rat plugin your system has? This is printed in the
> build output, e.g.:
>
> [INFO] --- apache-rat-plugin:0.11:check (default)
>
> Can you also send us the output of 'mvn -version'. For example, mine is:
>
> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
> 2017-04-03T15:39:06-04:00)
> Maven home: /usr/local/Cellar/maven/3.5.0/libexec
> Java version: 1.8.0_131, vendor: Oracle Corporation
> Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_
> 131.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.12.6", arch: "x86_64", family: "mac"
>
> Thanks,
> Kevin
>
> On 1/25/18, 12:56, "Joe Witt" <joe.witt@gmail.com> wrote:
>
>     I would say verify your git settings match what we recommend for end
>     of line, etc..
>
>     Verify you have no extraneous items in your local source tree by doing
>     a git clean.  I use 'git clean -fxd' but it is pretty destructive.
>
>     The build works great on many platforms so I feel strongly this is a
>     local issue.  We just need your help to narrow in on it.
>
>     Thanks
>
>     On Thu, Jan 25, 2018 at 12:53 PM, Sivaprasanna
>     <sivaprasanna246@gmail.com> wrote:
>     > Nope. I built it using the usual “mvn install -Pcontrib-check”.
> Ignoring
>     > the contrib-check profile works fine. I had to do that to build.
>     >
>     > On Thu, 25 Jan 2018 at 9:52 PM, Matt Gilman <matt.c.gilman@gmail.com>
> wrote:
>     >
>     >> Are you possibly running your build with multiple threads? There
> have been
>     >> issues in the past running multi-threaded builds with the
> contrib-check
>     >> profile enabled.
>     >>
>     >> Matt
>     >>
>     >> On Tue, Jan 23, 2018 at 12:26 PM, Sivaprasanna <
> sivaprasanna246@gmail.com>
>     >> wrote:
>     >>
>     >> > When I tried to build the master branch, the build fails here.
> When I
>     >> took
>     >> > a look at the
>     >> >
>     >> ~nifi\nifi-nar-bundles\nifi-poi-bundle\nifi-poi-
> processors\target\rat.txt,
>     >> > it had the following content:
>     >> >
>     >> > <Begin rat.txt>
>     >> >
>     >> >
>     >> > *****************************************************
>     >> > Summary
>     >> > -------
>     >> > Generated at: 2018-01-23T22:43:53+05:30
>     >> > Notes: 0
>     >> > Binaries: 4
>     >> > Archives: 0
>     >> > Standards: 7
>     >> >
>     >> > Apache Licensed: 6
>     >> > Generated Documents: 0
>     >> >
>     >> > JavaDocs are generated and so license header is optional
>     >> > Generated files do not required license headers
>     >> >
>     >> > 1 Unknown Licenses
>     >> >
>     >> > *******************************
>     >> >
>     >> > Unapproved licenses:
>     >> >
>     >> >
>     >> > E:/Workspace/nifi/nifi-nar-bundles/nifi-poi-bundle/nifi-
>     >> > poi-processors/src/test/resources/Unsupported.xls
>     >> >
>     >> > *******************************
>     >> >
>     >> > Archives:
>     >> >
>     >> > *****************************************************
>     >> >   Files with Apache License headers will be marked AL
>     >> >   Binary files (which do not require AL headers) will be marked B
>     >> >   Compressed archives will be marked A
>     >> >   Notices, licenses etc will be marked N
>     >> >   AL
>     >> > E:/Workspace/nifi/nifi-nar-bundles/nifi-poi-bundle/nifi-
>     >> > poi-processors/pom.xml
>     >> >   AL
>     >> > E:/Workspace/nifi/nifi-nar-bundles/nifi-poi-bundle/nifi-
>     >> > poi-processors/src/main/java/org/apache/nifi/processors/poi/
>     >> > ConvertExcelToCSVProcessor.java
>     >> >   AL
>     >> > E:/Workspace/nifi/nifi-nar-bundles/nifi-poi-bundle/nifi-
>     >> > poi-processors/src/main/resources/docs/org.apache.
> nifi.processors.poi.
>     >> > ConvertExcelToCSVProcessor/additionalDetails.html
>     >> >   AL
>     >> > E:/Workspace/nifi/nifi-nar-bundles/nifi-poi-bundle/nifi-
>     >> > poi-processors/src/main/resources/META-INF/services/
>     >> > org.apache.nifi.processor.Processor
>     >> >   AL
>     >> > E:/Workspace/nifi/nifi-nar-bundles/nifi-poi-bundle/nifi-
>     >> > poi-processors/src/test/java/org/apache/nifi/processors/poi/
>     >> > ConvertExcelToCSVProcessorTest.java
>     >> >   B
>     >> >  E:/Workspace/nifi/nifi-nar-bundles/nifi-poi-bundle/nifi-
>     >> > poi-processors/src/test/resources/CollegeScorecard.xlsx
>     >> >   B
>     >> >  E:/Workspace/nifi/nifi-nar-bundles/nifi-poi-bundle/nifi-
>     >> > poi-processors/src/test/resources/dataformatting.xlsx
>     >> >   AL
>     >> > E:/Workspace/nifi/nifi-nar-bundles/nifi-poi-bundle/nifi-
>     >> > poi-processors/src/test/resources/logback-test.xml
>     >> >   B
>     >> >  E:/Workspace/nifi/nifi-nar-bundles/nifi-poi-bundle/nifi-
>     >> > poi-processors/src/test/resources/TwoSheets.xlsx
>     >> >  !?????
>     >> > E:/Workspace/nifi/nifi-nar-bundles/nifi-poi-bundle/nifi-
>     >> > poi-processors/src/test/resources/Unsupported.xls
>     >> >   B
>     >> >  E:/Workspace/nifi/nifi-nar-bundles/nifi-poi-bundle/nifi-
>     >> > poi-processors/src/test/resources/with-blank-cells.xlsx
>     >> >
>     >> > *****************************************************
>     >> >  Printing headers for files without AL header...
>     >> >
>     >> >
>     >> > ============================================================
> ===========
>     >> > ==E:/Workspace/nifi/nifi-nar-bundles/nifi-poi-bundle/nifi-
>     >> > poi-processors/src/test/resources/Unsupported.xls
>     >> > ============================================================
> ===========
>     >> > ÐÏ?ࡱ?á????????????????>???þÿ
>     >> > ?????????????????1???????????þÿÿÿ????þÿÿÿ????0???
>     >> > ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
>     >> > ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
>     >> > ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
>     >> > ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
>     >> > ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
>     >> > ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
>     >> > ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
> ÿÿÿÿÿÿÿÿÿÿÿÿ
>     >> > ???????£DÍ?Á???????á???°?Á?????â???\?p????james
>     >> >
>     >> >
>     >> > B???°?a?????À???=?????œ???????????????????????¯?????¼?????=?
>     >> > ??????­R“!8???????X?@???????????"???????????·?????Ú?????1???
>     >> > Ü???????????????C?a?l?i?b?r?i?1???Ü???????????????C?a?l?i?b?
>     >> > r?i?1???Ü???????????????C?a?l?i?b?r?i?1???Ü???????????????C?
>     >> > a?l?i?b?r?i?1???Ü???????????????C?a?l?i?b?r?i?1?*?h???6?????????
>     >> > ?C?a?l?i?b?r?i?
>     >> > ?L?i?g?h?t?1???,???6?¼?????????C?a?l?i?b?r?i?1???????6?¼????
>     >> > ?????C?a?l?i?b?r?i?1???Ü???6?¼?????????C?a?l?i?b?r?i?1???Ü??
>     >> > ?????????????C?a?l?i?b?r?i?1???Ü???????????????C?a?l?i?b?r?
>     >> > i?1???Ü???<???????????C?a?l?i?b?r?i?1???Ü???>???????????C?a?
>     >> > l?i?b?r?i?1???Ü?????¼?????????C?a?l?i?b?r?i?1???Ü???4?¼?????
>     >> > ????C?a?l?i?b?r?i?1???Ü???4???????????C?a?l?i?b?r?i?1???Ü???
>     >> > ?¼?????????C?a?l?i?b?r?i?1???Ü???
>     >> > ???????????C?a?l?i?b?r?i?1???Ü???????????????C?a?l?i?b?r?i?
>     >> > 1???Ü?????¼?????????C?a?l?i?b?r?i?1???Ü???
>     >> > ???????????C?a?l?i?b?r?i??????????"$"#,##0_);\("$"#,##0\)??!
>     >> > ??????"$"#,##0_);[Red]\("$"#,##0\)??"??????"$"#,##0.00_);\("
>     >> > $"#,##0.00\)??'???"??"$"#,##0.00_);[Red]\("$"#,##0.00\)??7?*
> ?2??_("$"*
>     >> > #,##0_);_("$"* \(#,##0\);_("$"* "-"_);_(@_)??.?)?)??_(*
> #,##0_);_(*
>     >> > \(#,##0\);_(* "-"_);_(@_)????,?:??_("$"* #,##0.00_);_("$"*
>     >> > \(#,##0.00\);_("$"* "-"??_);_(@_)??6?+?1??_(* #,##0.00_);_(*
>     >> > \(#,##0.00\);_(* "-"??_);_(@_)à???????õÿ ???????????À à???????õÿ
>     >> > ??ô????????À à???????õÿ ??ô????????À à???????õÿ ??ô????????À
> à???????õÿ
>     >> > ??ô????????À à???????õÿ ??ô????????À à???????õÿ ??ô????????À
> à???????õÿ
>     >> > ??ô????????À à???????õÿ ??ô????????À à???????õÿ ??ô????????À
> à???????õÿ
>     >> > ??ô????????À à???????õÿ ??ô????????À à???????õÿ ??ô????????À
> à???????õÿ
>     >> > ??ô????????À à???????õÿ ??ô????????À à????????? ???????????À
> à???????õÿ
>     >> > ??´????????Ÿ à???????õÿ ??´????????¯ à???????õÿ ??´????????‰
> à???????õÿ
>     >> > ??´????????š à???????õÿ ??´????????› à???????õÿ ??´????????ª
> à???????õÿ
>     >> > ??´????????¬ à???????õÿ ??´????????¯ à???????õÿ ??´????????–
> à???????õÿ
>     >> > ??´????????« à???????õÿ ??´????????¬ à???????õÿ ??´????????«
> à???????õÿ
>     >> > ??´????????± à???????õÿ ??´????????¯ à???????õÿ ??´????????–
> à???????õÿ
>     >> > ??´????????« à???????õÿ ??´????????¬ à???????õÿ ??´????????¹
> à???????õÿ
>     >> > ??´????????¾ à???????õÿ ??´????????µ à???????õÿ ??´????????·
> à???????õÿ
>     >> > ??´????????³ à???????õÿ ??´????????± à???????õÿ ??´????????¹
> à???????õÿ
>     >> > ??´????????­ à???????õÿ ??”??—?—???– à???????õÿ ??”ff¿?¿???·
> à?????+?õÿ
>     >> > ??ø????????À à?????)?õÿ ??ø????????À à?????,?õÿ ??ø????????À
> à?????*?õÿ
>     >> > ??ø????????À à???????õÿ ??ô????????À à???
>     >> > ???õÿ ??´????????ª à???????õÿ ??Ô?P??????À à???????õÿ
> ??Ô?P??????À à???
>     >> > ???õÿ
>     >> > ??Ô? ??€???À à??? ???õÿ ??ô????????À à???
>     >> > ???õÿ ??”??—?—???¯ à???????õÿ ??Ô?`??????À à???????õÿ
??´????????«
>     >> > à???????õÿ ??œ????????š à???????õÿ ??”??¿?¿???– à?????
?õÿ
> ??ø????????À
>     >> > à???????õÿ ??ô????????À à???????õÿ ??Ô?a??>???À à???????õÿ
> ??ô????????À
>     >> > à????????? ??H????????? |???|???????????????q¼PA}?-?}?
> ??????????????????
>     >> > ???????????00\);_(*?????}?-?}???????????????????
>     >> > ???????????00\);_(*?????}?-?}???????????????????
>     >> > ???????????00\);_(*?????}?-?}???????????????????
>     >> > ???????????00\);_(*?????}?-?}???????????????????
>     >> > ???????????00\);_(*?????}?-?}???????????????????
>     >> > ???????????00\);_(*?????}?-?}???????????????????
>     >> > ???????????00\);_(*?????}?-?}???????????????????
>     >> > ???????????00\);_(*?????}?-?}???????????????????
>     >> > ???????????00\);_(*?????}?-?}????????????? ?????
>     >> > ???????????00\);_(*?????}?-?}?????????????
>     >> > ?????
>     >> > ???????????00\);_(*?????}?-?}???????????????????
>     >> > ???????????00\);_(*?????}?-?}???????????????????
>     >> > ???????????00\);_(*?????}?-?}?????????????
>     >> > ?????
>     >> > ???????????00\);_(*?????}?-?}???????????????????
>     >> > ???????????00\);_(*?????}?-?}???????????????????
>     >> > ???????????00\);_(*?????}?-?}?????????????+?????
>     >> > ???????????00\);_(*?????}?-?}?????????????,?????
>     >> > ???????????00\);_(*?????}?-?}?????????????-?????
>     >> > ???????????00\);_(*?????}?-?}?????????????.?????
>     >> > ???????????00\);_(*?????}?-?}?????????????:?????
>     >> > ???????????00\);_(*?????}?-?}?????????????;?????
>     >> > ???????????00\);_(*?????}?A?}?????????????1?????
>     >> > ???????????00\);_(*?????????????????;_(@_)
> }?A?}?????????????2?????
>     >> > ???????????00\);_(*???????????ÿ?????;_(@_)
> }?A?}?????????????3?????
>     >> > ???????????00\);_(*???????????23????;_(@_)
> }?-?}?????????????4?????
>     >> > ???????????00\);_(*?????}?A?}?????????????0?????
>     >> > ????????a?ÿ00\);_(*?????????????ÆïÎÿ;_(@_)
> }?A?}?????????????(?????
>     >> > ???????œ??ÿ00\);_(*?????????????ÿÇÎÿ;_(@_)
> }?A?}?????????????7?????
>     >> > ???????œW?ÿ00\);_(*?????????????ÿëœÿ;_(@_)
> }?‘?}?????????????5?????
>     >> > ?????????vÿ00\);_(*?????????????ÿÌ™ÿ;_(@_)  ???????? ÿ
> ???????? ÿ
>     >> >     ??????? ÿ????????
>     >> > ??????? ÿ????????}?‘?}?????????????9?????
>     >> > ??????????ÿ00\);_(*?????????????òòòÿ;_(@_)  ???????????ÿ
>     >> > ???????????ÿ        ??????????ÿ????????
>     >> > ??????????ÿ????????}?‘?}?????????????)?????
>     >> > ???????ú}?ÿ00\);_(*?????????????òòòÿ;_(@_)  ???????? ÿ
> ???????? ÿ
>     >> >     ??????? ÿ????????
>     >> > ??????? ÿ????????}?A?}?????????????6?????
>     >> > ???????ú}?ÿ00\);_(*?????????????ÿ€?ÿ;_(@_)
> }?‘?}?????????????*?????
>     >> > ???????????00\);_(*?????????????¥¥¥ÿ;_(@_)  ???????????ÿ
>     >> > ???????????ÿ        ??????????ÿ????????
>     >> > ??????????ÿ????????}?-?}?????????????=?????
>     >> > ???????ÿ??ÿ00\);_(*?????}?‘?}?????????????8?????
>     >> > ???????????00\);_(*?????????????ÿÿÌÿ;_(@_)  ????????²²²ÿ
>     >> > ????????²²²ÿ        ???????²²²ÿ????????
>     >> > ???????²²²ÿ????????}?-?}?????????????/?????
>     >> > ??????? ÿ00\);_(*?????}?U?}?????????????<?????
>     >> > ???????????00\);_(*?????????????????;_(@_)  ????????????
>     >> > }?A?}?????????????"?????
>     >> >
>     >> >
>     >> > <End>
>     >> >
>     >> > It says
>     >> > E:/Workspace/nifi/nifi-nar-bundles/nifi-poi-bundle/nifi-
>     >> > poi-processors/src/test/resources/Unsupported.xls
>     >> > as unapproved. I don't what's wrong with it. Am I missing
> something?
>     >> >
>     >> > Thanks.
>     >> >
>     >>
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message