diff --git a/gerrit-common/pom.xml b/gerrit-common/pom.xml
index 6299d06967..814afad1c0 100644
--- a/gerrit-common/pom.xml
+++ b/gerrit-common/pom.xml
@@ -90,6 +90,17 @@ limitations under the License.
+
+ org.apache.maven.plugins
+ maven-source-plugin
+
+
+
+ jar
+
+
+
+
diff --git a/gerrit-patch-jgit/pom.xml b/gerrit-patch-jgit/pom.xml
index 1fc0819914..f2d1cfdd93 100644
--- a/gerrit-patch-jgit/pom.xml
+++ b/gerrit-patch-jgit/pom.xml
@@ -49,4 +49,20 @@ limitations under the License.
provided
+
+
+
+
+ org.apache.maven.plugins
+ maven-source-plugin
+
+
+
+ jar
+
+
+
+
+
+
diff --git a/gerrit-prettify/pom.xml b/gerrit-prettify/pom.xml
index 686888482a..3ac4deb9c9 100644
--- a/gerrit-prettify/pom.xml
+++ b/gerrit-prettify/pom.xml
@@ -56,4 +56,20 @@ limitations under the License.
provided
+
+
+
+
+ org.apache.maven.plugins
+ maven-source-plugin
+
+
+
+ jar
+
+
+
+
+
+
diff --git a/gerrit-reviewdb/pom.xml b/gerrit-reviewdb/pom.xml
index c9a7912a74..8c43204f2d 100644
--- a/gerrit-reviewdb/pom.xml
+++ b/gerrit-reviewdb/pom.xml
@@ -38,4 +38,20 @@ limitations under the License.
gwtorm
+
+
+
+
+ org.apache.maven.plugins
+ maven-source-plugin
+
+
+
+ jar
+
+
+
+
+
+
diff --git a/pom.xml b/pom.xml
index 83b0479410..d2f854103e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -322,6 +322,12 @@ limitations under the License.
2.3.2
+
+ org.apache.maven.plugins
+ maven-source-plugin
+ 2.1.2
+
+
org.apache.maven.plugins
maven-shade-plugin
@@ -376,19 +382,6 @@ limitations under the License.
UTF-8
-
-
- org.apache.maven.plugins
- maven-source-plugin
- 2.1.2
-
-
-
- jar
-
-
-
-