struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [struts] branch struts-2-4 updated: Uses properties to configure source and target
Date Tue, 17 Apr 2018 12:00:37 GMT
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 <lukaszlenart@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.

Mime
View raw message