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.
This commit is contained in:
Carl Harris
2017-10-07 10:12:49 -04:00
parent ac50375ad5
commit 70db9a4c42
4 changed files with 4 additions and 0 deletions

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>