Extend
Write plugins and extensions, publish to Maven Central, and build on Maven's repository format and site tooling.
Write a plugin or extension
From a first Mojo to testing, documenting and the Maven 4 API.
- Introduction to plugin development
- Your first plugin (Mojo)
- Your first report plugin
- Document your plugin
- Test your plugin
- Common bugs and pitfalls
- Mojo API specification
- Logging in plugins
- Dependency injection (Maven 4)
- JSR-330
- Null annotations
- Upgrade from Plexus Javadoc tags
- Lifecycle extensions example
- Extensions cookbook
- Plugin localization
- Maven conventions
Archetypes
Project templates, and how to make your own.
Publish to Maven Central
Put your library in Maven Central and keep its metadata right.
Repository format: layout and metadata files
How repositories store artifacts and metadata, for anyone building tools on them.
Doxia and skins: site tooling
The framework behind Maven sites, and how to extend it.
Building blocks
Shared components, parent POMs and the other Maven projects.