~ made sure maven does not fail on missing web.xml
+ lombok, jetbrains annotations Signed-off-by: Johannes Theiner <j.theiner@live.de>
This commit is contained in:
parent
516996808d
commit
63d190e2d2
27
pom.xml
27
pom.xml
|
@ -16,7 +16,6 @@
|
|||
<name>Johannes Theiner</name>
|
||||
<email>johannes.theiner@informatik-emden.de</email>
|
||||
<roles>
|
||||
<role>Technisches Management</role>
|
||||
<role>Server Admin</role>
|
||||
</roles>
|
||||
</contributor>
|
||||
|
@ -39,6 +38,20 @@
|
|||
<path>/bauDas</path>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-war</id>
|
||||
<phase>prepare-package</phase>
|
||||
<configuration>
|
||||
<failOnMissingWebXml>false</failOnMissingWebXml>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
@ -56,6 +69,18 @@
|
|||
<artifactId>weka-stable</artifactId>
|
||||
<version>3.8.3</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>1.18.4</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jetbrains</groupId>
|
||||
<artifactId>annotations</artifactId>
|
||||
<version>13.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
|
|
|
@ -22,10 +22,10 @@ public class HelloWorld extends HttpServlet {
|
|||
PrintWriter out = resp.getWriter();
|
||||
out.println("<html>");
|
||||
out.println("<head>");
|
||||
out.println("<title>Hello World!</title>");
|
||||
out.println("<title>Hallo Welt!</title>");
|
||||
out.println("</head>");
|
||||
out.println("<body>");
|
||||
out.println("<h1>Hello World!</h1>");
|
||||
out.println("<h1>Hallo Ostfriesland!</h1>");
|
||||
out.println("</body>");
|
||||
out.println("</html>");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue