Currently, the aadarchi GenerateDiagramsMojo task invokes MavenDetailInfererEnhancer, which discovers submodules. But if it doesn't, no error is output.
THe optimal behaviour would be at each endVisit to have a log message emitted counting the number of added elements.
For that, we need
@Inject Logger logger in variables
In each startVisit method, store in a property the element the number of children (something like aadarchi.internal.MavenDetailInfererEnhancer.children.count)
In each endVisit method, remove the property storing the number of children, remove this number from the current number of children.
Currently, the aadarchi
GenerateDiagramsMojo
task invokesMavenDetailInfererEnhancer
, which discovers submodules. But if it doesn't, no error is output.THe optimal behaviour would be at each
endVisit
to have a log message emitted counting the number of added elements.For that, we need
@Inject Logger logger
in variablesstartVisit
method, store in a property the element the number of children (something likeaadarchi.internal.MavenDetailInfererEnhancer.children.count
)endVisit
method, remove the property storing the number of children, remove this number from the current number of children.