Configuration
Enforcer rule maven-enforcer-rule-depend-on-all-projects
has the following configuration parameters:
<includes>
Include these projects. Default: include every project.
Example:
<includes>
<include>project-subroot-*</include>
<include>com.github.mikkoi:project-thing:war</include>
</includes>
<excludes>
Exclude these projects. If both <includes>
and <excludes>
are defined,
then <includes>
are used to filter in, and then <excludes>
are excluded from
those already picked.
<excludes>
<exclude>project-excluded</exclude>
<exclude>com.github.mikkoi:project-subroot-*</exclude>
<exclude>com.github.mikkoi:project-thing:war</exclude>
</excludes>
<includeRootProject>
Default: false
Set to true to include the root project in the dependencies.
<includeRootProject>true</includeRootProject>
<errorIfUnknownProject>
Default: false
If there is a full project name (groupId and artifactId) in includes or excludes, and that project is not among the Maven reactor projects, break build with an error. This will prevent outdated configuration.
<errorIfUnknownProject>true</errorIfUnknownProject>