diff --git a/pom.xml b/pom.xml
index ca670c6c951..d572c011ce6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -339,6 +339,12 @@
true
+
+ ${basedir}/src/test/java
+
+ **/*.gz
+
+
${basedir}/src/test/resources
diff --git a/src/test/java/org/elasticsearch/search/geo/GeoFilterTests.java b/src/test/java/org/elasticsearch/search/geo/GeoFilterTests.java
index eb63a5d2321..ca218402db5 100644
--- a/src/test/java/org/elasticsearch/search/geo/GeoFilterTests.java
+++ b/src/test/java/org/elasticsearch/search/geo/GeoFilterTests.java
@@ -393,7 +393,7 @@ public class GeoFilterTests extends ElasticsearchIntegrationTest {
@Test
@Slow
public void bulktest() throws Exception {
- byte[] bulkAction = unZipData("/org/elasticsearch/search/geo/gzippedmap.json");
+ byte[] bulkAction = unZipData("/org/elasticsearch/search/geo/gzippedmap.gz");
String mapping = XContentFactory.jsonBuilder()
.startObject()
diff --git a/src/test/java/org/elasticsearch/search/geo/gzippedmap.json b/src/test/java/org/elasticsearch/search/geo/gzippedmap.gz
similarity index 100%
rename from src/test/java/org/elasticsearch/search/geo/gzippedmap.json
rename to src/test/java/org/elasticsearch/search/geo/gzippedmap.gz