You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2018/04/17 12:00:37 UTC
[struts] branch struts-2-4 updated: Uses properties to configure
source and target
This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch struts-2-4
in repository https://gitbox.apache.org/repos/asf/struts.git
The following commit(s) were added to refs/heads/struts-2-4 by this push:
new 85f409a Uses properties to configure source and target
85f409a is described below
commit 85f409aed3ae49cb6a23c116f7a6fe2d58e97fa4
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Tue Apr 17 14:00:31 2018 +0200
Uses properties to configure source and target
---
pom.xml | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/pom.xml b/pom.xml
index d9de080..98bfaea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -83,6 +83,10 @@
<log4j2.version>2.3</log4j2.version>
<tlib.version>2.3</tlib.version>
+ <javaVersion>1.6</javaVersion>
+ <maven.compiler.source>${javaVersion}</maven.compiler.source>
+ <maven.compiler.target>${javaVersion}</maven.compiler.target>
+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
@@ -126,11 +130,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>3.6.1</version>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- </configuration>
+ <version>3.5.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
--
To stop receiving notification emails like this one, please contact
lukaszlenart@apache.org.