Architecture Rules

(Hans Dockter) #1

summary: Rich API for all different kind of metrics that provides hooks to drive the build (fail if more than 5 cyclic dependencies). status: Post 1.0. code: planned

We want to provide a rich API to enable that metrics can drive the build. Metrics would be produced during verification. The metric reports are just listeners to the Metric producers. Our users will be able to hook in their own listeners and will be able to easily define rules like: Fail the build if there are more than 5 cyclic dependencies. Or fail the build if the API of a project exposes any implementation classes.