fix build jar
This commit is contained in:
4
pom.xml
4
pom.xml
@@ -176,6 +176,10 @@
|
|||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
<version>3.4.5</version>
|
<version>3.4.5</version>
|
||||||
|
<configuration>
|
||||||
|
<!-- Replace the main artifact (no classifier) -->
|
||||||
|
<classifier></classifier>
|
||||||
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<goals>
|
<goals>
|
||||||
|
@@ -19,8 +19,8 @@ import wtf.beatrice.hidekobot.runnables.ExpiredMessageTask;
|
|||||||
import wtf.beatrice.hidekobot.runnables.HeartBeatTask;
|
import wtf.beatrice.hidekobot.runnables.HeartBeatTask;
|
||||||
import wtf.beatrice.hidekobot.runnables.RandomOrgSeedTask;
|
import wtf.beatrice.hidekobot.runnables.RandomOrgSeedTask;
|
||||||
import wtf.beatrice.hidekobot.runnables.StatusUpdateTask;
|
import wtf.beatrice.hidekobot.runnables.StatusUpdateTask;
|
||||||
import wtf.beatrice.hidekobot.services.DatabaseService;
|
|
||||||
import wtf.beatrice.hidekobot.services.CommandService;
|
import wtf.beatrice.hidekobot.services.CommandService;
|
||||||
|
import wtf.beatrice.hidekobot.services.DatabaseService;
|
||||||
import wtf.beatrice.hidekobot.util.FormatUtil;
|
import wtf.beatrice.hidekobot.util.FormatUtil;
|
||||||
import wtf.beatrice.hidekobot.util.RandomUtil;
|
import wtf.beatrice.hidekobot.util.RandomUtil;
|
||||||
import wtf.beatrice.hidekobot.util.Services;
|
import wtf.beatrice.hidekobot.util.Services;
|
||||||
|
@@ -3,8 +3,8 @@ package wtf.beatrice.hidekobot.runnables;
|
|||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
import wtf.beatrice.hidekobot.Cache;
|
import wtf.beatrice.hidekobot.Cache;
|
||||||
import wtf.beatrice.hidekobot.services.DatabaseService;
|
|
||||||
import wtf.beatrice.hidekobot.services.CommandService;
|
import wtf.beatrice.hidekobot.services.CommandService;
|
||||||
|
import wtf.beatrice.hidekobot.services.DatabaseService;
|
||||||
|
|
||||||
import java.time.LocalDateTime;
|
import java.time.LocalDateTime;
|
||||||
import java.time.format.DateTimeFormatter;
|
import java.time.format.DateTimeFormatter;
|
||||||
|
@@ -13,8 +13,8 @@ import wtf.beatrice.hidekobot.objects.comparators.TriviaScoreComparator;
|
|||||||
import wtf.beatrice.hidekobot.objects.fun.TriviaCategory;
|
import wtf.beatrice.hidekobot.objects.fun.TriviaCategory;
|
||||||
import wtf.beatrice.hidekobot.objects.fun.TriviaQuestion;
|
import wtf.beatrice.hidekobot.objects.fun.TriviaQuestion;
|
||||||
import wtf.beatrice.hidekobot.objects.fun.TriviaScore;
|
import wtf.beatrice.hidekobot.objects.fun.TriviaScore;
|
||||||
import wtf.beatrice.hidekobot.services.DatabaseService;
|
|
||||||
import wtf.beatrice.hidekobot.services.CommandService;
|
import wtf.beatrice.hidekobot.services.CommandService;
|
||||||
|
import wtf.beatrice.hidekobot.services.DatabaseService;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.concurrent.ScheduledFuture;
|
import java.util.concurrent.ScheduledFuture;
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
spring.datasource.url=jdbc:sqlite:/absolute/path/to/hidekobot.db
|
spring.datasource.url=jdbc:sqlite:/absolute/path/to/db.sqlite
|
||||||
spring.datasource.driver-class-name=org.sqlite.JDBC
|
spring.datasource.driver-class-name=org.sqlite.JDBC
|
||||||
# let Hibernate create/update tables for you during the migration
|
# let Hibernate create/update tables for you during the migration
|
||||||
spring.jpa.hibernate.ddl-auto=update
|
spring.jpa.hibernate.ddl-auto=update
|
||||||
spring.jpa.database-platform=org.hibernate.community.dialect.SQLiteDialect
|
spring.jpa.database-platform=org.hibernate.community.dialect.SQLiteDialect
|
||||||
# optional logging while migrating
|
# optional logging while migrating
|
||||||
spring.jpa.show-sql=true
|
#spring.jpa.show-sql=true
|
||||||
spring.jpa.properties.hibernate.format_sql=true
|
#spring.jpa.properties.hibernate.format_sql=true
|
||||||
|
Reference in New Issue
Block a user