Skip to content

Migrate domain models, enums and DTOs to darvest-common

Kayouh Salaheddine a demandé de fusionner feature/migrate-domain-to-common-service vers develop
  • Domain migration: moved 5 JPA entities, 4 enums and 18 DTOs from com.darvest.rental.{model,dto} into darvest-common under com.marketingconfort.darvest.rental.{models,enums,dtos}. Updated all imports across controllers, services, repositories, mappers, event listener and tests.
    • @EntityScan fix: the main application class now explicitly scans com.marketingconfort.darvest.rental.models so JPA recognises entities resolved from the common JAR (previously caused Not a managed type at runtime).
    • Build fixes:
      • scripts/settings.xml: Nexus credentials were literal strings instead of ${env.NEXUS_USER} / ${env.NEXUS_PASSWORD}, causing HTTP 401 on every fresh dependency download.
      • pom.xml: added MapStruct 1.5.5.Final, JJWT 0.12.5, OpenPDF 1.3.35, Apache POI 5.2.5 and H2 (test scope); added maven-compiler-plugin annotation processor paths (Lombok before MapStruct).

Rapports de requête de fusion