Apache Maven Enforcer
Clone or download

README.md

Maven Enforcer Plugin - The Loving Iron Fist of Maven™

Apache License, Version 2.0, January 2004 Maven Central Jenkins Status Jenkins tests

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.

Documentation

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.

Where can I get the latest release?

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-M2</version>
</plugin>

Contributing

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.

License

This code is under the Apache Licence v2

See the NOTICE file for required notices and attributions.

Donations

You like Apache Maven? Then donate back to the ASF to support the development.

License

Apache License, Version 2.0, January 2004