Maven Embedder

Maven embeddable component, with CLI and logging support.

References

  • CLI options,
  • logging API.
  • since 3.3.1 (see 3.3.1 release notes for more details), per project settings can be defined by files in .mvn/ directory:
    • .mvn/jvm.config containing jvm options,
    • .mvn/maven.config containing Maven command-line parameter,
    • .mvn/extensions.xml containing a list of extensions,
  • since 3.5.0, output is colorized by default, with color disabled in batch mode: see styled message API for more details on adding color to a plugin output or customizing colors.