maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wendy Smoak <wsm...@gmail.com>
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 <list@toolazydogs.com> 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.
http://www.hello2morrow.com/products/sonarj  [not free, though it
looks like there is a community edition]

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message