diff --git a/java/core/pom_template.xml b/java/core/pom_template.xml
index 4a30ddc863..11bd41964f 100644
--- a/java/core/pom_template.xml
+++ b/java/core/pom_template.xml
@@ -18,4 +18,24 @@
{dependencies}
+
+
+
+
+
+ org.apache.felix
+ maven-bundle-plugin
+ true
+
+
+ com.google.protobuf
+ https://developers.google.com/protocol-buffers/
+ com.google.protobuf
+ com.google.protobuf;version=${project.version}
+ sun.misc;resolution:=optional,*
+
+
+
+
+
diff --git a/java/lite/pom_template.xml b/java/lite/pom_template.xml
index fa6cfd2ae6..728c291a4b 100644
--- a/java/lite/pom_template.xml
+++ b/java/lite/pom_template.xml
@@ -19,4 +19,23 @@
{dependencies}
+
+
+
+
+ org.apache.felix
+ maven-bundle-plugin
+ true
+
+
+ com.google.protobuf
+ https://developers.google.com/protocol-buffers/
+ com.google.protobuf
+ com.google.protobuf;version=${project.version}
+ sun.misc;resolution:=optional,*
+
+
+
+
+
diff --git a/java/util/pom_template.xml b/java/util/pom_template.xml
index f897892510..74ef795f17 100644
--- a/java/util/pom_template.xml
+++ b/java/util/pom_template.xml
@@ -20,4 +20,23 @@
{dependencies}
+
+
+
+
+ org.apache.felix
+ maven-bundle-plugin
+ true
+
+
+ com.google.protobuf.util
+ https://developers.google.com/protocol-buffers/
+ com.google.protobuf.util
+ com.google.protobuf.util;version=${project.version}
+
+
+
+
+
+