aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2017-02-23 13:24:41 -0500
committerPamela Dragosh <pdragosh@research.att.com>2017-02-23 13:24:47 -0500
commit067860fa1cb0f493908608fcfc0a3651e7f7c091 (patch)
tree597c9c7357925d74ad4acba6d504c14ee9a41ed0
parenta5861db7aa3b94eea927f6fea72594bf329c9764 (diff)
need to set compiler version
Change-Id: I8643dec9412dd0a17bfbe9ddff4196dfb837d237 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
-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>
<!--