diff --git a/.claude/settings.local.json b/.claude/settings.local.json
index f7a03b9..7954416 100644
--- a/.claude/settings.local.json
+++ b/.claude/settings.local.json
@@ -4,7 +4,11 @@
"Bash(java -version)",
"WebFetch(domain:github.com)",
"Bash(find /Users/thilo/development/java/JavadocViewerService -not -path */target/* -not -path */.mvn/* -not -path */.maven/* -not -path */.git/* -type f -o -type d)",
- "WebFetch(domain:docs.gitea.com)"
+ "WebFetch(domain:docs.gitea.com)",
+ "Bash(rm -f /Users/thilo/development/java/JavadocViewerService/database/jvsdb.mv.db /Users/thilo/development/java/JavadocViewerService/database/jvsdb.trace.db)",
+ "Bash(mvn spring-boot:run)",
+ "Bash(mvn spring-boot:run -Dspring-boot.run.jvmArguments=\"-Ddebug=true\")",
+ "Bash(jar tf:*)"
]
}
}
diff --git a/pom.xml b/pom.xml
index 1d38f09..13400dd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -64,8 +64,8 @@
spring-boot-starter-validation
- org.liquibase
- liquibase-core
+ org.springframework.boot
+ spring-boot-starter-liquibase
com.h2database
diff --git a/src/main/java/codes/thischwa/jvs/service/UpdateScheduler.java b/src/main/java/codes/thischwa/jvs/service/UpdateScheduler.java
index 842d650..9694dc5 100644
--- a/src/main/java/codes/thischwa/jvs/service/UpdateScheduler.java
+++ b/src/main/java/codes/thischwa/jvs/service/UpdateScheduler.java
@@ -19,7 +19,8 @@ public class UpdateScheduler {
private final GitService gitService;
private final JavadocService javadocService;
- @Scheduled(fixedRateString = "${jvs.update-interval:PT1H}")
+
+ @Scheduled(cron = "${jvs.cron}")
public void updateAll() {
log.info("Starting scheduled update of repositories...");
List repos = repository.findAll();
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index ddab479..f98e57d 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -8,10 +8,8 @@ spring:
database-platform: org.hibernate.dialect.H2Dialect
hibernate:
ddl-auto: none
- liquibase:
- change-log: classpath:db/changelog/db.changelog-master.yaml
jvs:
config-path: ./jvs.yml
base-dir: ./javadoc-storage
- update-interval: PT1H
+ cron: 0 0/15 * * * ?