chore: upgrade Spring Boot 3.3.4 → 4.0.6

- Remove manually-pinned versions (Hibernate, Flyway, AssertJ, Mockito)
  now managed by Boot 4.0.6 BOM
- Remove @EntityScan and @EnableJpaRepositories — auto-detected via
  scanBasePackages covering de.cannamanage hierarchy
- All 25 tests pass, build compiles in 9.6s
This commit is contained in:
Patrick Plate
2026-06-11 10:41:59 +02:00
parent fa1eaf64e0
commit 10891e7b89
2 changed files with 5 additions and 12 deletions
@@ -2,17 +2,15 @@ package de.cannamanage.api;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
/**
* CannaManage Spring Boot application entry point.
* REST controllers are deferred to Sprint 2.
* Sprint 1 focus: compliance engine validation only.
* Sprint 2: REST API + Spring Security + OpenAPI.
*
* Entity scanning and repository detection handled automatically
* via scanBasePackages covering the full de.cannamanage hierarchy.
*/
@SpringBootApplication(scanBasePackages = "de.cannamanage")
@EntityScan(basePackages = "de.cannamanage.domain.entity")
@EnableJpaRepositories(basePackages = "de.cannamanage.service.repository")
public class CannaManageApplication {
public static void main(String[] args) {