Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.groovy.grails.cli.maven
[Groovy] Class MavenPomGenerator

    java.lang.Object
      org.codehaus.groovy.grails.cli.api.BaseSettingsApi
          org.codehaus.groovy.grails.cli.maven.MavenPomGenerator

    class MavenPomGenerator
    extends BaseSettingsApi

Generates a POM for a Grails application.

Authors:
  Graeme Rocher

Since:
  2.1

Field Summary

Fields inherited from class BaseSettingsApi
appClassName, buildEventListener, buildProps, buildSettings, configSlurper, enableProfile, grailsAppName, grailsHome, isInteractive, metadata, metadataFile, pluginSettings, pluginsHome, resolver

Constructor Summary
`MavenPomGenerator(BuildSettings buildSettings)`

Method Summary
`java.lang.Object` | `addDependenciesForScope(IvyDependencyManager dependencyManager, java.lang.String scope, java.util.ArrayList dependencies, java.lang.String type = "", java.lang.String newScope = null)`
`void` | `generate(java.lang.String group)`

Methods inherited from class BaseSettingsApi
confirmInput, confirmInput, copyGrailsResource, copyGrailsResource, copyGrailsResources, copyGrailsResources, enableUaa, exit, getAppClassName, getAppGrailsVersion, getBuildProps, getBuildSettings, getConfigSlurper, getGrailsAppName, getGrailsAppVersion, getGrailsHome, getIsInteractive, getMetadata, getMetadataFile, getPluginBuildSettings, getPluginSettings, getPluginsHome, getPropertyValue, getResolver, getServerHost, getServerPort, getServerPortHttps, getServletVersion, grailsResource, isDeclared, isEnableProfile, logError, logErrorAndExit, makeApiAvailableToScripts, makeRelative, makeRelative, profile, readAllPluginXmlMetadata, readPluginXmlMetadata, resolveResources, updateMetadata, updateMetadata

Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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()

Constructor Detail

### MavenPomGenerator

    MavenPomGenerator(BuildSettings buildSettings)

Method Detail

### addDependenciesForScope

    java.lang.Object addDependenciesForScope(IvyDependencyManager dependencyManager, java.lang.String scope, java.util.ArrayList dependencies, java.lang.String type = "", java.lang.String newScope = null)

### generate

    void generate(java.lang.String group)

Groovy Documentation