|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.grails.cli.api.BaseSettingsApi
org.codehaus.groovy.grails.cli.maven.MavenMultiProjectGenerator
class MavenMultiProjectGenerator extends BaseSettingsApi
Generates a Maven multi-module build structure for a Grails project and plugins
Field Summary |
---|
Fields inherited from class BaseSettingsApi | |
---|---|
appClassName, buildEventListener, buildProps, buildSettings, configSlurper, enableProfile, grailsAppName, grailsHome, isInteractive, metadata, metadataFile, pluginSettings, pluginsHome, resolver |
Property Summary | |
---|---|
MavenPomGenerator |
pomGenerator
|
Constructor Summary | |
MavenMultiProjectGenerator(BuildSettings buildSettings)
|
Method Summary | |
---|---|
void
|
generate(java.lang.String group, java.lang.String name, java.lang.String version)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Property Detail |
---|
MavenPomGenerator pomGenerator
Constructor Detail |
---|
MavenMultiProjectGenerator(BuildSettings buildSettings)
Method Detail |
---|
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