@CliCommand(value = MODULE_CREATE_COMMAND, help = "Creates a new Maven module in current *multimodule* project.") public void createModule(@CliOption(key = "moduleName", mandatory = true, help = "The name of the module to create.") final String moduleName, @CliOption( key = "packaging", help = "The Maven packaging of this module." + "Possible values are: `BUNDLE`, `EAR`, `ESA`, `JAR` and `WAR`." + "Default if option not present: `JAR` (equals to 'jar').", unspecifiedDefaultValue = JarPackaging.NAME) final PackagingProvider packaging, @CliOption( key = "artifactId", help = "The artifact ID of this module." + "Default if option not present: `--moduleName` value.") final String artifactId) { getMavenOperations().createModule(moduleName, packaging, artifactId); }