From 0044e5c200a3b8a9b97341a1b35034b66c1a64e1 Mon Sep 17 00:00:00 2001 From: CyB3RC0nN0R Date: Mon, 6 Jan 2020 10:29:21 +0100 Subject: [PATCH] Fixed Maven build error caused by release flag --- .settings/org.eclipse.core.resources.prefs | 4 ++++ .settings/org.eclipse.jdt.core.prefs | 2 +- pom.xml | 21 ++++++++++++--------- 3 files changed, 17 insertions(+), 10 deletions(-) create mode 100644 .settings/org.eclipse.core.resources.prefs diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..f9fe345 --- /dev/null +++ b/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,4 @@ +eclipse.preferences.version=1 +encoding//src/main/java=UTF-8 +encoding//src/test/java=UTF-8 +encoding/=UTF-8 diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs index 943e578..2f5cc74 100644 --- a/.settings/org.eclipse.jdt.core.prefs +++ b/.settings/org.eclipse.jdt.core.prefs @@ -4,5 +4,5 @@ org.eclipse.jdt.core.compiler.compliance=1.8 org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore -org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.release=disabled org.eclipse.jdt.core.compiler.source=1.8 diff --git a/pom.xml b/pom.xml index e3b3192..b4e4c1d 100644 --- a/pom.xml +++ b/pom.xml @@ -2,10 +2,21 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 + informatik-ag-ngl java-nio-server 0.0.1-SNAPSHOT + java-nio-server + https://github.com/informatik-ag-ngl/java-nio-server + + + UTF-8 + UTF-8 + 1.8 + 1.8 + + org.junit.jupiter @@ -16,14 +27,6 @@ - - - maven-compiler-plugin - 3.8.0 - - 8 - - - + java-nio-server \ No newline at end of file