This is an automated email from the ASF dual-hosted git repository.
min pushed a commit to branch 0.1-release
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-ops.git
The following commit(s) were added to refs/heads/0.1-release by this push:
new b7c12fe add maven compiler plugin
b7c12fe is described below
commit b7c12fea9fe7894d624b3f2ece2bc878d86086bb
Author: nzomkxia <[email protected]>
AuthorDate: Wed Jan 30 15:31:52 2019 +0800
add maven compiler plugin
---
pom.xml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/pom.xml b/pom.xml
index 0a615ec..f94c529 100644
--- a/pom.xml
+++ b/pom.xml
@@ -67,6 +67,10 @@
<snakeyaml-version>1.19</snakeyaml-version>
<maven-checkstyle-plugin-version>3.0.0</maven-checkstyle-plugin-version>
<spring-boot-version>2.0.2.RELEASE</spring-boot-version>
+ <maven_compiler_version>3.6.0</maven_compiler_version>
+ <java_source_version>1.8</java_source_version>
+ <java_target_version>1.8</java_target_version>
+ <file_encoding>UTF-8</file_encoding>
</properties>
<dependencyManagement>
@@ -215,6 +219,16 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>${maven_compiler_version}</version>
+ <configuration>
+ <source>${java_source_version}</source>
+ <target>${java_target_version}</target>
+ <encoding>${file_encoding}</encoding>
+ </configuration>
+ </plugin>
</plugins>
</build>