Skip to content

The @nx/maven plugin provides various generators to help you create and configure maven projects within your Nx workspace. Below is a complete reference for all available generators and their options.

init

Initializes @nx/maven in the workspace.

Usage:

Terminal window
nx generate @nx/maven:init [options]

Options

OptionTypeDescriptionDefault
skipFormatbooleanSkip formatting filesfalse
## Getting Help
You can get help for any generator by adding the `--help` flag:
```bash
nx generate @nx/maven:<generator> --help
```