Maven install to generate sources
- From IntelliJ > View > Tool Windows > Maven > Lifecycle > install
- From command line:
mvn install
To Add generated sources in IntelliJ, right-click the following folders > Mark as > Generated Sources Root
clean-application/target/generated-sources/annotations
for MapStruct (CustomerMapStructImpl)clean-application/target/generated-sources/openapi/src/main/java
for OpenAPI (LdapUserDto,...)
NotificationService is 'contaminated' with infrastructure concerns. Extract all that has to do with LDAP out of the domain package. Enable the @Disabled ArchitectureTest and make it pass.