# macker-maven-plugin
**Repository Path**: mirrors_andyglick/macker-maven-plugin
## Basic Information
- **Project Name**: macker-maven-plugin
- **Description**: Fork from http://svn.codehaus.org/mojo/trunk/sandbox/macker-maven-plugin/
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-09-24
- **Last Updated**: 2026-03-15
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
[](https://travis-ci.org/andrena/macker-maven-plugin)
This is a [fork from Codehaus](http://mojo.codehaus.org/macker-maven-plugin/) ([source](http://svn.codehaus.org/mojo/trunk/sandbox/macker-maven-plugin/)), who initiated and developed this project.
The intent of this fork is solely to ensure availability in Maven Central and updating it as necessary to provide support for today's JVMs (for details, see the [Macker project](https://github.com/andrena/macker)).
Usage:
```xml
[...]
de.andrena.tools.macker
macker-maven-plugin
1.0.2
macker-rules.xml
compile
macker
[...]
```
Some examples for macker-rules.xml (more sophisticated examples are available on the [original Macker project page](http://innig.net/macker/guide/)):
If you don’t want any classes from your persistence layer to reference any of your application-logic classes (which is usually the case), you can define the following Rule-Set:
```xml
```
You can also define more complicated, generic Rule-Sets. For example, if you want to enforce the convention, that classes in “internal” packages can only be accessed by themselves and their parent package, you could define the following Rule-Set:
```xml
${from-full} cannot access internal classes from ${module}
```
This would allow access from package myproject.app.* to myproject.app.internal.*, but not from myproject.web.* to myproject.app.internal.*. Note that myproject.app.subpackage.* could also access myproject.app.internal.*, but the rule could easily be modified to prevent subpackage access to internal packages.