Generates a Maven multi-module build structure for a Grails project and plugins
Fields inherited from class | Fields |
---|---|
class BaseSettingsApi |
appClassName, buildEventListener, buildProps, buildSettings, configSlurper, enableProfile, grailsAppName, grailsHome, isInteractive, metadata, metadataFile, pluginSettings, pluginsHome, resolver |
Type | Name and description |
---|---|
MavenPomGenerator |
pomGenerator |
Constructor and description |
---|
MavenMultiProjectGenerator
(BuildSettings buildSettings) |
Type | Name and description |
---|---|
void |
generate(java.lang.String group, java.lang.String name, java.lang.String version) |
Looks in the build's base directory for Grails plugin and application directories and then creates a parent POM in the base directory plus child POMs in each of the plugin and application folders. The parent POM just contains the modules, i.e. the plugins and apps.
This method delegates to MavenPomGenerator.generatePom for the child POM generation.
group
- The string to use for the parent and child POMs' groupId
element.name
- The string to use for the parent and child POMs' artifactId,
name and description elements.version
- The version string for the POMs.Groovy Documentation