diff --git a/sonar-batch-protocol/pom.xml b/sonar-batch-protocol/pom.xml
index 4766df2a574..8fb61e4cabc 100644
--- a/sonar-batch-protocol/pom.xml
+++ b/sonar-batch-protocol/pom.xml
@@ -12,6 +12,10 @@
Classes used for communication between batch and server
+
+ src/main/gen-java/**/*
+
+
net.jpountz.lz4
diff --git a/sonar-db/pom.xml b/sonar-db/pom.xml
index a1977e527d3..753d725295b 100644
--- a/sonar-db/pom.xml
+++ b/sonar-db/pom.xml
@@ -14,6 +14,10 @@
SonarQube :: Database
Create and request SonarQube schema
+
+ src/main/gen-java/**/*
+
+
com.google.code.findbugs
diff --git a/sonar-ws/pom.xml b/sonar-ws/pom.xml
index 95d9e89a25f..7a9c8c2a797 100644
--- a/sonar-ws/pom.xml
+++ b/sonar-ws/pom.xml
@@ -12,6 +12,10 @@
SonarQube :: Web Service
Protocol Buffers specification of Web Services
+
+ src/main/gen-java/**/*
+
+
com.google.protobuf