Maven Core

Maven Core classes managing the whole build process.

Reference Documentation

Useful entry points

  • Maven component (javadoc), with its DefaultMaven implementation (source), to drive a full MavenSession execution (javadoc
  • ProjectBuilder component (javadoc), with its DefaultProjectBuilder implementation (source),
  • MavenPluginManager component (javadoc), with its DefaultMavenPluginManager implementation (source),
  • PluginParameterExpressionEvaluator, used to evaluate plugin parameters values during Mojo configuration,
  • ExceptionHandler component (javadoc), with its DefaultExceptionHandler implementation (source), use to transform exception into useful end-user messages.


  • Toolchains descriptor reference,
  • public API for toolchains-aware plugins: ToolchainManager component (javadoc) with its DefaultToolchainManager implementation (source), to get selected Toolchain (javadoc) instance,
  • internal ToolchainManagerPrivate component (javadoc) with its DefaultToolchainManagerPrivate implementation (source), to manage toolchain selection,
  • internal JDK toolchain implementation: JavaToolchain interface (javadoc), with its JavaToolchainImpl implementation (source) and JavaToolchainFactory factory (source).