Migrate domain models, enums and DTOs to darvest-common
-
Domain migration: moved 5 JPA entities, 4 enums and 18 DTOs from
com.darvest.rental.{model,dto}intodarvest-commonundercom.marketingconfort.darvest.rental.{models,enums,dtos}. Updated all imports across controllers, services, repositories, mappers, event listener and tests.-
@EntityScanfix: the main application class now explicitly scanscom.marketingconfort.darvest.rental.modelsso JPA recognises entities resolved from the common JAR (previously causedNot a managed typeat 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); addedmaven-compiler-pluginannotation processor paths (Lombok before MapStruct).
-
-