On Fri, Oct 1, 2010 at 12:56 PM, Alan D. Cabrera <l...@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-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org