diff --git a/java/core/pom_template.xml b/java/core/pom_template.xml
index a5ea5e3b6df3..11bd41964f8d 100644
--- a/java/core/pom_template.xml
+++ b/java/core/pom_template.xml
@@ -31,7 +31,7 @@
com.google.protobuf
https://developers.google.com/protocol-buffers/
com.google.protobuf
- com.google.protobuf;version={project.version}
+ 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 878b64658a9b..728c291a4be4 100644
--- a/java/lite/pom_template.xml
+++ b/java/lite/pom_template.xml
@@ -31,7 +31,7 @@
com.google.protobuf
https://developers.google.com/protocol-buffers/
com.google.protobuf
- com.google.protobuf;version={project.version}
+ 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 456aac471e54..77ffa8538d83 100644
--- a/java/util/pom_template.xml
+++ b/java/util/pom_template.xml
@@ -32,7 +32,7 @@
com.google.protobuf.util
https://developers.google.com/protocol-buffers/
com.google.protobuf.util
- com.google.protobuf.util;version={project.version}
+ com.google.protobuf.util;version=${project.version}