Steve Lawrence created DAFFODIL-2430:
----------------------------------------

             Summary: ratCheck fails when run from the sbt console
                 Key: DAFFODIL-2430
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2430
             Project: Daffodil
          Issue Type: Bug
          Components: Infrastructure
            Reporter: Steve Lawrence


If you run the rat check using the sbt console, the ratCheck command fails with 
the following:
{code:java}
$ sbt
sbt:daffodil> ratCheck
[error] Unapproved licenses found: 1. See full report in 
.../daffodil.git/target/rat.txt
[error] (ratCheck) org.musigma.sbt.rat.SbtRatCheck$UnapprovedLicenseException: 
Unapproved licenses
[error] Total time: 2 s, completed Nov 4, 2020 11:07:15 AM
{code}

This happens because the sbt console generates a {{.bsp}} directory with 
unlicensed files in it, and the ratCheck finds these files and errors. The 
ratCheck command is supposed to ignore files listed in .gitingore, and .bsp is 
listed, so it should ignore this file. Need to figure out why it's not being 
ignored so that we can run ratCheck from the sbt console.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to