Skip to content
Snippets Groups Projects
Commit 76437991 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#376 - added dependency, extended main

parent 5655625c
Branches
Tags
No related merge requests found
Pipeline #342 passed
......@@ -6,7 +6,7 @@
<groupId>de.deadlocker8</groupId>
<artifactId>BudgetMaster</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<name>BudgetMaster</name>
<repositories>
......@@ -61,7 +61,7 @@
<app.versionDate>${maven.build.timestamp}</app.versionDate>
<maven.build.timestamp.format>dd.MM.yy</maven.build.timestamp.format>
<app.versionCode>14</app.versionCode>
<app.versionCode>15</app.versionCode>
<app.author>Robert Goldmann</app.author>
<project.outputDirectory>build/${project.version}</project.outputDirectory>
......@@ -96,6 +96,11 @@
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
......
......@@ -9,6 +9,7 @@ import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.scheduling.annotation.EnableScheduling;
import java.io.IOException;
......@@ -21,7 +22,7 @@ import java.util.Locale;
@EnableScheduling
@SpringBootApplication
public class Main implements ApplicationRunner
public class Main extends SpringBootServletInitializer implements ApplicationRunner
{
private final static Logger LOGGER = LoggerFactory.getLogger(Main.class);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment