Skip to content
@mojohaus

MojoHaus

Various plugins for Apache Maven. Previously hosted on Codehaus and known as the codehaus MOJO project

MojoHaus

MojoHaus is a collection of plugins for Apache Maven, published to Maven Central under the org.codehaus.mojo group id. The project was previously hosted on Codehaus and known as Mojo@Codehaus.

Documentation for every plugin lives at www.mojohaus.org, and the full plugin list marks which ones are production-ready, pre-release, or retired.

Frequently used plugins

Plugin What it does
versions Manage the versions of artifacts in a project POM
flatten Generate a POM with build-time-only content resolved away
exec Run system and Java programs from a build
build-helper Attach extra source directories, resources and artifacts
license Download, collect and check dependency licenses
aspectj Weave AspectJ aspects into a project
jaxb2 Generate Java from XML schemas, and schemas from Java
buildnumber Stamp a build with an SCM revision or timestamp
animal-sniffer Check API signature compatibility against a target Java release
extra-enforcer-rules Additional rules for maven-enforcer-plugin
properties Read and write project properties from and to files
buildplan Inspect a project's lifecycle bindings

All of them share mojo-parent as their parent POM.

Getting support

Each plugin has its own repository in this organization; report bugs and feature requests in that repository's issue tracker. See reporting an issue for what to include. General Maven questions belong on the Maven users list, and the FAQ covers the recurring ones.

Contributing

Pull requests are welcome. Start with the project guidelines, then submitting a patch. To donate a new plugin to the project, see submitting a plugin.

Verifying releases

Release bundles are signed. Check them against the MojoHaus KEYS file before use.

Popular repositories Loading

  1. versions versions Public

    Manages the versions of artifacts in a project POM

    Java 366 274

  2. flatten-maven-plugin flatten-maven-plugin Public

    Generates a POM with build-time-only content resolved away, for consumers

    Java 223 91

  3. exec-maven-plugin exec-maven-plugin Public

    Runs system commands and Java programs from a build

    Java 192 110

  4. build-helper-maven-plugin build-helper-maven-plugin Public

    Attaches extra source directories, resources and artifacts to a build

    Java 122 85

  5. aspectj-maven-plugin aspectj-maven-plugin Public

    Weaves AspectJ aspects into a project, and reports on the weaving

    Java 122 73

  6. mojo-parent mojo-parent Public

    Parent POM shared by every MojoHaus plugin and component

    121 54

Repositories

Showing 10 of 95 repositories
  • buildnumber-maven-plugin Public

    Stamps a build with an SCM revision, a timestamp or a sequence number

    mojohaus/buildnumber-maven-plugin's past year of commit activity
    Java 74 MIT 65 0 4 Updated Dec 5, 2026
  • aspectj-maven-plugin Public

    Weaves AspectJ aspects into a project, and reports on the weaving

    mojohaus/aspectj-maven-plugin's past year of commit activity
    Java 122 MIT 73 0 1 Updated Dec 5, 2026
  • versions Public

    Manages the versions of artifacts in a project POM

    mojohaus/versions's past year of commit activity
    Java 366 Apache-2.0 274 1 1 Updated Dec 5, 2026
  • exec-maven-plugin Public

    Runs system commands and Java programs from a build

    mojohaus/exec-maven-plugin's past year of commit activity
    Java 192 Apache-2.0 110 1 (1 issue needs help) 0 Updated Dec 4, 2026
  • mojo-parent Public

    Parent POM shared by every MojoHaus plugin and component

    mojohaus/mojo-parent's past year of commit activity
    121 54 0 0 Updated Dec 4, 2026
  • maven-native Public

    Compiles and links native code, and packages the result as a Maven artifact

    mojohaus/maven-native's past year of commit activity
    Java 21 MIT 14 0 0 Updated Dec 4, 2026
  • rpm-maven-plugin Public

    Assembles project files into an RPM package

    mojohaus/rpm-maven-plugin's past year of commit activity
    Java 58 53 0 0 Updated Dec 4, 2026
  • animal-sniffer Public

    Checks that code stays compatible with the API of a chosen Java release

    mojohaus/animal-sniffer's past year of commit activity
    Java 97 MIT 47 0 0 Updated Dec 4, 2026
  • extra-enforcer-rules Public

    Extra rules for maven-enforcer-plugin, including bytecode and duplicate-class checks

    mojohaus/extra-enforcer-rules's past year of commit activity
    Java 78 Apache-2.0 48 0 1 Updated Dec 4, 2026
  • keytool Public

    Wraps the JDK keytool program so a build can manage keystores

    mojohaus/keytool's past year of commit activity
    Java 19 Apache-2.0 14 0 0 Updated Dec 4, 2026