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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user