From 7e926effef7fb81c3c78352b144565b6cfc715f0 Mon Sep 17 00:00:00 2001 From: jomu Date: Thu, 20 Mar 2014 11:32:37 +0000 Subject: [PATCH] migrated to Java 8 --- configuration/pom.xml | 15 ----- .../shared/configuration/Configuration.java | 4 +- jeeutil/pom.xml | 14 ----- network/pom.xml | 23 +++----- pom.xml | 58 ++++++++++++++++--- util/pom.xml | 15 ----- 6 files changed, 62 insertions(+), 67 deletions(-) diff --git a/configuration/pom.xml b/configuration/pom.xml index bb9c671..debb8f0 100644 --- a/configuration/pom.xml +++ b/configuration/pom.xml @@ -15,20 +15,6 @@ shared-configuration http://maven.apache.org - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.3.2 - - 1.7 - 1.7 - true - - - - UTF-8 @@ -37,7 +23,6 @@ junit junit - 4.10 test diff --git a/configuration/src/main/java/de/muehlencord/shared/configuration/Configuration.java b/configuration/src/main/java/de/muehlencord/shared/configuration/Configuration.java index 8a43e27..a55cfcf 100644 --- a/configuration/src/main/java/de/muehlencord/shared/configuration/Configuration.java +++ b/configuration/src/main/java/de/muehlencord/shared/configuration/Configuration.java @@ -2,7 +2,9 @@ package de.muehlencord.shared.configuration; /** * - * @author jomu + * @param the type of the parameter + * @param the value of the parameter - must be the same class as the type class of the parameter + * @author joern@muehlencord.de */ public interface Configuration { diff --git a/jeeutil/pom.xml b/jeeutil/pom.xml index a180a7b..859bfe0 100644 --- a/jeeutil/pom.xml +++ b/jeeutil/pom.xml @@ -23,32 +23,18 @@ log4j log4j - 1.2.17 jar compile javax javaee-api - 6.0 provided - - org.apache.maven.plugins - maven-compiler-plugin - 2.3.2 - - 1.7 - 1.7 - - ${endorsed.dir} - - - org.apache.maven.plugins maven-ejb-plugin diff --git a/network/pom.xml b/network/pom.xml index 6454725..8fd1633 100644 --- a/network/pom.xml +++ b/network/pom.xml @@ -26,16 +26,15 @@ ${project.artifactId} - + org.apache.maven.plugins - maven-compiler-plugin - 2.5.1 + maven-surefire-plugin + 2.16 - 1.7 - 1.7 + true - + @@ -43,34 +42,29 @@ junit junit - 4.10 jar test com.enterprisedt edtFTPj - 1.5.3 compile log4j log4j - 1.2.17 provided de.muehlencord.shared - shared-util - 1.0-SNAPSHOT + shared-util jar javax.mail - mail - 1.4.5 + mail jar compile @@ -78,8 +72,7 @@ commons-net commons-net - compile - 3.2 + compile diff --git a/pom.xml b/pom.xml index b310cf9..992a1e3 100644 --- a/pom.xml +++ b/pom.xml @@ -20,15 +20,13 @@ junit junit - 4.10 - test + 4.11 commons-codec commons-codec - 1.4 - jar + 1.6 @@ -40,9 +38,55 @@ log4j log4j - 1.2.17 - jar - + 1.2.17 + + + + javax.mail + mail + 1.4.7 + + + + javax + javaee-api + 6.0 + + + + + com.enterprisedt + edtFTPj + 1.5.3 + + + + commons-net + commons-net + 3.2 + + + + de.muehlencord.shared + shared-util + ${project.version} + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.5.1 + + 1.8 + 1.8 + true + + + + + \ No newline at end of file diff --git a/util/pom.xml b/util/pom.xml index 6896ca4..af489a2 100644 --- a/util/pom.xml +++ b/util/pom.xml @@ -15,19 +15,6 @@ http://maven.apache.org - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.3.2 - - 1.7 - 1.7 - - - - UTF-8 @@ -36,13 +23,11 @@ junit junit - 4.10 test log4j log4j - 1.2.17 provided