diff --git a/solr/build.xml b/solr/build.xml
index 12a5cd2df43..95ab635365e 100644
--- a/solr/build.xml
+++ b/solr/build.xml
@@ -798,7 +798,7 @@
+ excludes="${package.dir}/** ${dist}/** **/lucene-libs/** example/webapps/*.war lib/README.committers.txt **/data/ **/logs/* **/classes/ **/*.sh **/bin/ src/scripts/ src/site/build/ **/target/ client/python client/javascript contrib/**/build/ **/*.iml **/*.ipr **/*.iws" />