spring-data-mongodb
spring-data-mongodb copied to clipboard
Migrates DependencyTests to ArchUnit.
Migrates DependencyTests to ArchUnit.
The tests are currently failing due to various undesired dependencies.
The tests start with something like:
JavaClasses importedClasses = new ClassFileImporter()
...
.that(onlySpringData())
By adding
.that(ignorePackage("org.springframework.data.aot.hint"))
or
.that(ignore(SomeClass.class));
the given classes or packages can be ignored for the analysis. Of course the goal should be to fix the cycles.
I'm curious what's your take on the cycles created by the config, support and util packages?
The AOT ones I'd rather skip for now.