Skip to content
This repository was archived by the owner on Dec 11, 2022. It is now read-only.

Commit b9af456

Browse files
committed
Clean up POM
1 parent bda0a18 commit b9af456

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

pom.xml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,14 @@
6868
</license>
6969
</licenses>
7070

71+
<properties>
72+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
73+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
74+
75+
<maven-compiler-plugin.source>1.7</maven-compiler-plugin.source>
76+
<maven-compiler-plugin.target>1.7</maven-compiler-plugin.target>
77+
</properties>
78+
7179
<dependencies>
7280
<dependency>
7381
<groupId>com.gitlab.java-ebms-adapter</groupId>
@@ -149,8 +157,8 @@
149157
<artifactId>maven-compiler-plugin</artifactId>
150158
<version>2.5.1</version>
151159
<configuration>
152-
<source>1.7</source>
153-
<target>1.7</target>
160+
<source>${maven-compiler-plugin.source}</source>
161+
<target>${maven-compiler-plugin.target}</target>
154162
<encoding>UTF-8</encoding>
155163
<showWarnings>true</showWarnings>
156164
<showDeprecation>true</showDeprecation>

0 commit comments

Comments
 (0)