aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pom.xml11
1 files changed, 9 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index b838eecc4..832c72692 100644
--- a/pom.xml
+++ b/pom.xml
@@ -31,6 +31,11 @@
<packaging>pom</packaging>
<properties>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.source.version>1.8</project.source.version>
+ <project.target.version>1.8</project.target.version>
<nexusproxy>https://nexus.openecomp.org</nexusproxy>
</properties>
@@ -76,9 +81,11 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
+ <version>3.0</version>
<configuration>
- <source>1.8</source>
- <target>1.8</target>
+ <encoding>${project.encoding}</encoding>
+ <source>${project.source.version}</source>
+ <target>${project.target.version}</target>
</configuration>
</plugin>
<!--