On Thu, Jul 6, 2023 at 10:33 AM Adrian Owen <[email protected]> wrote: > > Debian 12 + openjdk-17-jdk > > > > git clone https://github.com/apache/guacamole-client.git > > cd guacamole-client > > git checkout 1.5.2 > > mvn package > > > Stops with error: > > > [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.13:check > (validate-licenses) on project guacamole-client: > Too many files with unapproved license: 1 See RAT report in: > /home/nonroot/guacamole-client/target/rat.txt -> [Help 1]
It seems like there may be some extra files in your guacamole-client directory that are getting picked up by RAT, which checks for proper license documentation in source code files. My environment is slightly different - CentOS 8 Stream with OpenJDK (11 and 17), but I've tried the steps you posted above and I do not get this error (OpenJDK 17 does not work with 1.5.2 for other reasons). You can also check the rat.txt file mentioned to see which file it is complaining about. -Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
