maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <>
Subject Re: Dependency policies
Date Fri, 01 Oct 2010 20:39:37 GMT
On Fri, Oct 1, 2010 at 12:56 PM, Alan D. Cabrera <> wrote:
> Is there some way to categorize jars and restrict the dependencies between categories
of those jars?  At least maybe reports dependency violations?
> For example let's say I have two categories, api and impl.  Impl can depend on Api but
not others' impl.  Api can rely on Api.  When I perform a build it would be nice if the
build failed or at least an warning is reported.

Possibly overkill for your needs, but SonarJ allows you to define and
enforce architecture rules.  [not free, though it
looks like there is a community edition]


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message