diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2017-02-23 13:24:41 -0500 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2017-02-23 13:24:47 -0500 |
commit | 067860fa1cb0f493908608fcfc0a3651e7f7c091 (patch) | |
tree | 597c9c7357925d74ad4acba6d504c14ee9a41ed0 | |
parent | a5861db7aa3b94eea927f6fea72594bf329c9764 (diff) |
need to set compiler version
Change-Id: I8643dec9412dd0a17bfbe9ddff4196dfb837d237
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
-rw-r--r-- | pom.xml | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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> <!-- |