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 367 272

  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 191 111

  4. aspectj-maven-plugin aspectj-maven-plugin Public

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

    Java 123 74

  5. build-helper-maven-plugin build-helper-maven-plugin Public

    Attaches extra source directories, resources and artifacts to a build

    Java 121 84

  6. mojo-parent mojo-parent Public

    Parent POM shared by every MojoHaus plugin and component

    121 53

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 73 MIT 65 1 3 Updated Sep 11, 2026
  • mojo-parent Public

    Parent POM shared by every MojoHaus plugin and component

    mojohaus/mojo-parent's past year of commit activity
    121 53 1 1 Updated Sep 11, 2026
  • buildplan-maven-plugin Public

    A Maven 3.x plugin to inspect project lifecyle.

    mojohaus/buildplan-maven-plugin's past year of commit activity
    Java 110 Apache-2.0 15 7 0 Updated Sep 11, 2026
  • mrm Public

    Runs a mock Maven repository manager during integration tests

    mojohaus/mrm's past year of commit activity
    Java 8 Apache-2.0 10 0 0 Updated Sep 11, 2026
  • templating-maven-plugin Public

    Filters sources into generated-sources so filtering does not touch the originals

    mojohaus/templating-maven-plugin's past year of commit activity
    Java 18 Apache-2.0 8 1 0 Updated Sep 11, 2026
  • javacc-maven-plugin Public

    Generates parsers from JavaCC, JJTree and JTB grammar files

    mojohaus/javacc-maven-plugin's past year of commit activity
    Java 10 11 0 2 Updated Sep 11, 2026
  • license-maven-plugin Public

    Collects, checks and updates the licence files and headers of a project

    mojohaus/license-maven-plugin's past year of commit activity
    Java 117 LGPL-3.0 126 84 (20 issues need help) 9 Updated Sep 11, 2026
  • jdepend-maven-plugin Public

    Reports package dependency metrics using JDepend

    mojohaus/jdepend-maven-plugin's past year of commit activity
    Java 9 Apache-2.0 11 3 (1 issue needs help) 4 Updated Sep 11, 2026
  • tidy-maven-plugin Public

    Reorders a POM into the canonical element order and checks it stays that way

    mojohaus/tidy-maven-plugin's past year of commit activity
    Java 24 Apache-2.0 14 15 0 Updated Sep 11, 2026
  • xml-maven-plugin Public

    Validates and transforms XML files during a build

    mojohaus/xml-maven-plugin's past year of commit activity
    Java 22 Apache-2.0 21 11 0 Updated Sep 11, 2026

Top languages

Loading…

Most used topics

Loading…