On Mon, Mar 24, 2025 at 12:49 PM Reinier Post <rp4...@gmail.com> wrote:
> I've recently had to fix a compilation issue (possibly the same) by > setting the MAVEN_ARGUMENTS environment variable to: > --Drat.numUnapprovedLicenses=100 > > This is only "required" in order to bypass unapproved licenses within the source tree. There are two main ways that this happens: * If you're not making changes to the code yourself, then you have a build tree that has artifacts from a different version or build level, and the licenses haven't been updated. The quickest way to fix this is to just remove the source tree entirely and then check out a clean copy from the Github repository. * If you are making changes to the code yourself, then you have added Java files or dependencies, but have not set up the licensing correctly so that the RAT module knows what license the code applies to. The RAT plugin looks at both the headers of the .java files, and the dependencies that are included from pom.xml entries to make sure they are approved licenses. If you are generating new code, make sure it has the correct license headers. > Incidentally: > > This was part of our effort to replace the standard 1.5.5 Docker image for > guacamole-client with one based on Tomcat 9. > It isn't hard; we did it based on the Docker setup at > https://github.com/boschkundendienst and the Docker build repository > provided by Guacamole (thank you, Bosch and Guacamole). > I'm happy to share the results, if anyone is interested. > > I believe the official repository, in the staging/1.6.0, patch, or main branch, has the changes for a Docker image with Tomcat 9. That said, they are not version 1.5.5, but have the changes for the upcoming 1.6.0 release. -Nick >