The Enforcer plugin provides goals to control certain environmental constraints such as Maven version, JDK version and OS family along with many more built-in rules and user created rules.
More information can be found on Apache Maven Enforcer Plugin Homepage. Question related to the usage of the Maven Enforcer Plugin should be posted on the Maven User List.
You can download release source from our download page.
You can get the Maven Enforcer plugin via the following coordinates from central:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0</version>
</plugin>
We accept Pull Requests via GitHub. The developer mailing list is the
main channel of communication for contributors.
There are some guidelines which will make applying PRs easier for us:
- No tabs! Please use spaces for indentation.
- Respect the code style.
- Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change.
- Provide JUnit/Invoker tests for your changes and make sure your changes don't break
any existing tests by running
mvn -Prun-its verify
.
If you plan to contribute on a regular basis, please consider filing a contributor license agreement. You can learn more about contributing via GitHub in our contribution guidelines.
This code is under the Apache Licence v2
See the NOTICE
file for required notices and attributions.
You like Apache Maven? Then donate back to the ASF to support the development.