diff --git a/backend/pom.xml b/backend/pom.xml
index 4611c36..3dd1439 100644
--- a/backend/pom.xml
+++ b/backend/pom.xml
@@ -103,6 +103,17 @@
org.springframework.boot
spring-boot-maven-plugin
${spring.version}
+
+ uk.co.neviyn.observationdatabase.ObservationDatabaseApplication
+ ZIP
+
+
+
+
+ repackage
+
+
+
kotlin-maven-plugin
diff --git a/backend/src/main/kotlin/uk/co/neviyn/observationdatabase/ObservationDatabaseApplication.kt b/backend/src/main/kotlin/uk/co/neviyn/observationdatabase/ObservationDatabaseApplication.kt
index db87127..3221559 100644
--- a/backend/src/main/kotlin/uk/co/neviyn/observationdatabase/ObservationDatabaseApplication.kt
+++ b/backend/src/main/kotlin/uk/co/neviyn/observationdatabase/ObservationDatabaseApplication.kt
@@ -4,8 +4,11 @@ import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
@SpringBootApplication
-class ObservationDatabaseApplication
-
-fun main(args: Array) {
- runApplication(*args)
-}
+class ObservationDatabaseApplication {
+ companion object {
+ @JvmStatic
+ fun main(args: Array) {
+ runApplication(*args)
+ }
+ }
+}
\ No newline at end of file