From 63d190e2d2a2b441fcd9547d3c455ef7f5a28fb9 Mon Sep 17 00:00:00 2001 From: Johannes Theiner Date: Sat, 16 Feb 2019 00:12:36 +0100 Subject: [PATCH] ~ made sure maven does not fail on missing web.xml + lombok, jetbrains annotations Signed-off-by: Johannes Theiner --- pom.xml | 27 ++++++++++++++++++- .../java/de/hs_el/spm/bauDas/HelloWorld.java | 4 +-- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index c269d7e..1bccb15 100644 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,6 @@ Johannes Theiner johannes.theiner@informatik-emden.de - Technisches Management Server Admin @@ -39,6 +38,20 @@ /bauDas + + org.apache.maven.plugins + maven-war-plugin + 3.1.0 + + + default-war + prepare-package + + false + + + + @@ -56,6 +69,18 @@ weka-stable 3.8.3 + + + + org.projectlombok + lombok + 1.18.4 + + + org.jetbrains + annotations + 13.0 + diff --git a/src/main/java/de/hs_el/spm/bauDas/HelloWorld.java b/src/main/java/de/hs_el/spm/bauDas/HelloWorld.java index 2e4dc3c..45df87d 100644 --- a/src/main/java/de/hs_el/spm/bauDas/HelloWorld.java +++ b/src/main/java/de/hs_el/spm/bauDas/HelloWorld.java @@ -22,10 +22,10 @@ public class HelloWorld extends HttpServlet { PrintWriter out = resp.getWriter(); out.println(""); out.println(""); - out.println("Hello World!"); + out.println("Hallo Welt!"); out.println(""); out.println(""); - out.println("

Hello World!

"); + out.println("

Hallo Ostfriesland!

"); out.println(""); out.println(""); }