diff --git a/boringssl-static/pom.xml b/boringssl-static/pom.xml
index f5e63b2dc..a75ba9ff2 100644
--- a/boringssl-static/pom.xml
+++ b/boringssl-static/pom.xml
@@ -47,11 +47,11 @@
-
org.apache.maven.plugins
maven-jar-plugin
+
empty-javadoc-jar
package
@@ -63,6 +63,18 @@
${basedir}/javadoc
+
+
+ source-jar
+ package
+
+ jar
+
+
+ source
+ ${generatedSourcesDir}/c
+
+
diff --git a/libressl-static/pom.xml b/libressl-static/pom.xml
index 0dc2c9ea7..8c198861c 100644
--- a/libressl-static/pom.xml
+++ b/libressl-static/pom.xml
@@ -196,11 +196,11 @@
-
org.apache.maven.plugins
maven-jar-plugin
+
empty-javadoc-jar
package
@@ -212,6 +212,18 @@
${basedir}/javadoc
+
+
+ source-jar
+ package
+
+ jar
+
+
+ source
+ ${generatedSourcesDir}/c
+
+
diff --git a/openssl-dynamic/pom.xml b/openssl-dynamic/pom.xml
index dab587d82..3ee7ad74e 100644
--- a/openssl-dynamic/pom.xml
+++ b/openssl-dynamic/pom.xml
@@ -153,11 +153,11 @@
-
org.apache.maven.plugins
maven-jar-plugin
+
empty-javadoc-jar
package
@@ -169,6 +169,18 @@
${basedir}/javadoc
+
+
+ source-jar
+ package
+
+ jar
+
+
+ source
+ ${basedir}/src/main/c
+
+
diff --git a/openssl-static/pom.xml b/openssl-static/pom.xml
index cc3dbe1c5..fcd446470 100644
--- a/openssl-static/pom.xml
+++ b/openssl-static/pom.xml
@@ -190,11 +190,11 @@
-
org.apache.maven.plugins
maven-jar-plugin
+
empty-javadoc-jar
package
@@ -206,6 +206,18 @@
${basedir}/javadoc
+
+
+ source-jar
+ package
+
+ jar
+
+
+ source
+ ${generatedSourcesDir}/c
+
+