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.
Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/70db9a4c Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/70db9a4c Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/70db9a4c Branch: refs/heads/master Commit: 70db9a4c42418fdc520e4f3d6414a0e753a79266 Parents: ac50375 Author: Carl Harris <[email protected]> Authored: Sat Oct 7 10:12:49 2017 -0400 Committer: Carl Harris <[email protected]> Committed: Sat Oct 7 10:12:49 2017 -0400 ---------------------------------------------------------------------- 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(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/70db9a4c/extensions/guacamole-auth-cas/pom.xml ---------------------------------------------------------------------- diff --git a/extensions/guacamole-auth-cas/pom.xml b/extensions/guacamole-auth-cas/pom.xml index e76c50b..b517e6c 100644 --- a/extensions/guacamole-auth-cas/pom.xml +++ b/extensions/guacamole-auth-cas/pom.xml @@ -185,6 +185,7 @@ <exclude>**/*.json</exclude> <exclude>src/licenses/**/*</exclude> <exclude>src/main/resources/templates/*.html</exclude> + <exclude>src/main/resources/generated/**</exclude> </excludes> </configuration> http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/70db9a4c/extensions/guacamole-auth-duo/pom.xml ---------------------------------------------------------------------- diff --git a/extensions/guacamole-auth-duo/pom.xml b/extensions/guacamole-auth-duo/pom.xml index 104b594..6f7037c 100644 --- a/extensions/guacamole-auth-duo/pom.xml +++ b/extensions/guacamole-auth-duo/pom.xml @@ -186,6 +186,7 @@ <exclude>**/*.json</exclude> <exclude>src/licenses/**/*</exclude> <exclude>src/main/resources/templates/*.html</exclude> + <exclude>src/main/resources/generated/**</exclude> <exclude>src/main/resources/lib/DuoWeb/**/*</exclude> <exclude>src/main/java/com/duosecurity/duoweb/**/*</exclude> </excludes> http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/70db9a4c/extensions/guacamole-auth-openid/pom.xml ---------------------------------------------------------------------- diff --git a/extensions/guacamole-auth-openid/pom.xml b/extensions/guacamole-auth-openid/pom.xml index 4076998..e5cb9b6 100644 --- a/extensions/guacamole-auth-openid/pom.xml +++ b/extensions/guacamole-auth-openid/pom.xml @@ -185,6 +185,7 @@ <exclude>**/*.json</exclude> <exclude>src/licenses/**/*</exclude> <exclude>src/main/resources/templates/*.html</exclude> + <exclude>src/main/resources/generated/**</exclude> </excludes> </configuration> http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/70db9a4c/guacamole/pom.xml ---------------------------------------------------------------------- diff --git a/guacamole/pom.xml b/guacamole/pom.xml index 4784cda..2afb743 100644 --- a/guacamole/pom.xml +++ b/guacamole/pom.xml @@ -223,6 +223,7 @@ <configuration> <excludes> <exclude>src/main/webapp/app/*/templates/*.html</exclude> + <exclude>src/main/webapp/generated/**</exclude> <exclude>**/*.json</exclude> <exclude>src/licenses/**/*</exclude> </excludes>
