Architecture Rules

Assert Your Architecture!

... with this open source Java library. Architecture Rules leverages an XML configuration and/or programmatic configuration to assert your code's architecture via unit tests, Maven, or ant tasks under an Apache 2.0 license.

Getting Started
The best place to start is at the beginning. This is an overview of the configuration and execution of the Architecture tests.
Sample Configuration
Sometimes its easier to judge a book by its cover. Check out this XML configuration, or the other code samples.
Maven hosted
We're not in the public repositories yet, but we are hosting Architecture Rules with the help of Google. Just add our repository and declare the dependency.
Feeds
Mailing lists, releases, issues, and SVN activity feeds.

More...

This test tool is able to assert that specific packages do not depend on others and is able to find and report on cyclic dependencies among a project's packages and classes. This project wraps the industry accepted JDepend to simplify the process of maintaining a solid software architecture.

License

Licensed under Apache License 2.0 - allows use of the source code for the development of free and open source software as well as proprietary and closed source software.

Get It Now

Download

Download latest jars and dependencies for Release 2.1.1

Maven

Add our maven repository to your pom.xml

<groupId>com.seventytwomiles<groupId>
<artifactId>architecturerules<artifactId>
<version>2.1.1<version>
       

Source

Hit up the subversion repository.

Start Here

Support

Do you Assert your Architecture? Please help out with our fund-raiser.