diff --git a/pom.xml b/pom.xml
index ef2c61b..b113d5d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -222,8 +222,8 @@
org.apache.maven.plugins
maven-compiler-plugin
- ${java_version}
-
+ ${maven.compiler.target}
+
@@ -301,6 +301,9 @@
distro
1.8
+ ${java_version}
+ ${java_version}
+
UTF-8
3.0.0
http://maven.research-infrastructures.eu:8081/nexus/content/repositories/gcube-snapshots