Declare java compiler version in pom.xml

This commit is contained in:
Guillermo Casanova 2016-07-08 07:53:38 +02:00
parent 8a85449479
commit f876a94fc5
1 changed files with 16 additions and 0 deletions

View File

@ -32,6 +32,22 @@
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>