Which 2 files are in /home/travis/build/apache/ metron/metron-stellar/stellar-common/target/rat.txt? Do you get this same error when you run mvn apache-rat:check locally? You will need to either add licenses to those 2 files or add exclusions in /metron/pom.xml if they should in fact be excluded (test data for example).
Ryan On Wed, Nov 1, 2017 at 4:56 PM, jasper-k <[email protected]> wrote: > Github user jasper-k commented on the issue: > > https://github.com/apache/metron/pull/823 > > The Travis build failed with an error relating to licensing and Rat. I > don't know how to tackle this problem. The error points to the new files I > added in this PR. Locally I could suppress the error with the extra MVN > switch "-Drat.numUnapprovedLicenses=100" > > Error: > Too many files with unapproved license: 2 See RAT report in: > /home/travis/build/apache/metron/metron-stellar/stellar- > common/target/rat.txt > > Other then this the build and the tests are fine. > How can I solve this? > > > --- >
