Riduidel / aadarchi

A maven archetype to generate easily projects allowing architecture description using a mix of C4, agile architecture, Asciidoc and PlantUML
https://riduidel.github.io/aadarchi/
Apache License 2.0
40 stars 12 forks source link

Refactor maven pom detection system #287

Closed Riduidel closed 1 year ago

Riduidel commented 1 year ago

MavenDetailsInfererEnhancer is way too complex. We should split it by extracting all inner classes, and separate the pom lookup code from the dependency detection system.

Notice that the pom lookup code should be made more generic in order for order build tools to use it.

Riduidel commented 1 year ago

In fact, beside splitting that horrendous class into multiple small oens, it could be good to separate the maven pom detection from the maven pom processing in two different enhancers, then rewrite maven pom detection to also handle other package managers. This would impact the work on #234