Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZOOKEEPER-3440 Fix Apache RAT check by excluding binary files (images) #998

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -13,7 +13,7 @@ addons:
packages:
- libcppunit-dev

script: mvn clean install -DskipTests spotbugs:check checkstyle:check -Pfull-build
script: mvn clean apache-rat:check install -DskipTests spotbugs:check checkstyle:check -Pfull-build

branches:
only:
Expand Down
29 changes: 17 additions & 12 deletions pom.xml
Expand Up @@ -784,22 +784,27 @@
<exclude>README_packaging.txt</exclude>
<exclude>src/main/resources/markdown/skin/*</exclude>
<exclude>src/main/resources/markdown/html/*</exclude>
<exclude>zookeeper-contrib/zookeeper-contrib-loggraph/src/main/resources/webapp/org/apache/zookeeper/graph/resources/*</exclude>
<exclude>zookeeper-contrib/zookeeper-contrib-zooinspector/TODO</exclude>
<exclude>zookeeper-contrib/zookeeper-contrib-zkperl/Changes</exclude>
<exclude>zookeeper-contrib/zookeeper-contrib-zkperl/MANIFEST</exclude>
<exclude>zookeeper-contrib/zookeeper-contrib-fatjar/src/main/resources/mainClasses</exclude>
<exclude>zookeeper-contrib/zookeeper-contrib-monitoring/JMX-RESOURCES</exclude>
<exclude>zookeeper-contrib/zookeeper-contrib-zooinspector/src/main/java/com/nitido/utils/toaster/Toaster.java</exclude>
<exclude>src/main/resources/markdown/images/*</exclude>
<!-- contrib -->
<exclude>zookeeper-contrib-monitoring/JMX-RESOURCES</exclude>
<exclude>zookeeper-contrib-fatjar/src/main/resources/mainClasses</exclude>
<exclude>zookeeper-contrib-zkperl/Changes</exclude>
<exclude>zookeeper-contrib-zkperl/MANIFEST</exclude>
<exclude>zookeeper-contrib-loggraph/src/main/resources/webapp/org/apache/zookeeper/graph/resources/*</exclude>
<exclude>src/main/resources/webapp/org/apache/zookeeper/graph/resources/*</exclude>
<exclude>src/main/java/com/nitido/utils/toaster/Toaster.java</exclude>
<exclude>TODO</exclude>
<!-- c client -->
<exclude>**/acinclude.m4</exclude>
<exclude>**/aminclude.am</exclude>
<exclude>zookeeper-client-c/src/hashtable/*</exclude>
<exclude>zookeeper-client-c/include/winconfig.h</exclude>
<exclude>zookeeper-client-c/tests/wrappers.opt</exclude>
<exclude>zookeeper-client-c/tests/quorum.cfg</exclude>
<exclude>zookeeper-client-c/tests/wrappers-mt.opt</exclude>
<exclude>src/hashtable/*</exclude>
<exclude>include/winconfig.h</exclude>
<exclude>tests/wrappers.opt</exclude>
<exclude>tests/quorum.cfg</exclude>
<exclude>tests/wrappers-mt.opt</exclude>
<exclude>**/c-doc.Doxyfile</exclude>
</excludes>
<consoleOutput>true</consoleOutput>
</configuration>
</plugin>
</plugins>
Expand Down