From 70db9a4c42418fdc520e4f3d6414a0e753a79266 Mon Sep 17 00:00:00 2001 From: Carl Harris Date: Sat, 7 Oct 2017 10:12:49 -0400 Subject: [PATCH] GUACAMOLE-408: exclude generated HTML files from rat validation When building inside of the Docker container, some files with generated HTML are being validated by RAT and failing due to the lack of a license header. When building outside of Docker, this problem does not occur. Not sure why these paths don't fail when building outside of the container, and I don't know enough about the plugin that generates these files to understand why it behaves differently inside of the container. Nonetheless, I think these excludes seem reasonable. --- extensions/guacamole-auth-cas/pom.xml | 1 + extensions/guacamole-auth-duo/pom.xml | 1 + extensions/guacamole-auth-openid/pom.xml | 1 + guacamole/pom.xml | 1 + 4 files changed, 4 insertions(+) diff --git a/extensions/guacamole-auth-cas/pom.xml b/extensions/guacamole-auth-cas/pom.xml index e76c50b88..b517e6cd1 100644 --- a/extensions/guacamole-auth-cas/pom.xml +++ b/extensions/guacamole-auth-cas/pom.xml @@ -185,6 +185,7 @@ **/*.json src/licenses/**/* src/main/resources/templates/*.html + src/main/resources/generated/** diff --git a/extensions/guacamole-auth-duo/pom.xml b/extensions/guacamole-auth-duo/pom.xml index 104b5942b..6f7037cc8 100644 --- a/extensions/guacamole-auth-duo/pom.xml +++ b/extensions/guacamole-auth-duo/pom.xml @@ -186,6 +186,7 @@ **/*.json src/licenses/**/* src/main/resources/templates/*.html + src/main/resources/generated/** src/main/resources/lib/DuoWeb/**/* src/main/java/com/duosecurity/duoweb/**/* diff --git a/extensions/guacamole-auth-openid/pom.xml b/extensions/guacamole-auth-openid/pom.xml index 4076998f1..e5cb9b63d 100644 --- a/extensions/guacamole-auth-openid/pom.xml +++ b/extensions/guacamole-auth-openid/pom.xml @@ -185,6 +185,7 @@ **/*.json src/licenses/**/* src/main/resources/templates/*.html + src/main/resources/generated/** diff --git a/guacamole/pom.xml b/guacamole/pom.xml index 4784cdabd..2afb743d8 100644 --- a/guacamole/pom.xml +++ b/guacamole/pom.xml @@ -223,6 +223,7 @@ src/main/webapp/app/*/templates/*.html + src/main/webapp/generated/** **/*.json src/licenses/**/*