Hey there @JakeCham
So, the error you're running into, "Too many files with unapproved licence: 23 RAT report," basically means there's an issue with the license headers in your source code files. To fix this:
Take a look at your source files and make sure each one has a proper license header at the top. Double-check that the license info is correct and follows your project's licensing rules.
If any files are missing license headers or have the wrong info, update them. You want all your files to have accurate and consistent license details.
Consider using the Apache Rat Maven plugin in your project. Just pop this bit of code into your pom.xml file:
<build> <plugins> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <version>0.13</version> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
This plugin helps manage license headers during your project build.
Dive into the RAT report to pinpoint which files are causing trouble. Fix up any licensing issues in those specific files.
Or could you please share the detailed error report !
Thanks