grails:create-domain-class

Full name:

com.octo.mtg:grails-maven-plugin:0.4-SNAPSHOT:create-domain-class

Description:

Creates a new domain class.

Attributes:

  • Since version: 0.1.

Required Parameters

Name Type Since Description
basedir File 0.1 The directory where is launched the mvn command. Default value is: ${basedir}.
grailsHome String 0.1 The path to GRAILS' HOME.

Optional Parameters

Name Type Since Description
domainClassName String 0.1 The name for the domain class to create.
env String 0.1 The Grails environment to use.

Parameter Details

basedir :

The directory where is launched the mvn command.

  • Type: java.io.File
  • Since: 0.1
  • Required: Yes
  • Default: ${basedir}

domainClassName :

The name for the domain class to create.

  • Type: java.lang.String
  • Since: 0.1
  • Required: No
  • Expression: ${domainClassName}

env :

The Grails environment to use.

  • Type: java.lang.String
  • Since: 0.1
  • Required: No
  • Expression: ${grails.env}

grailsHome :

The path to GRAILS' HOME.

  • Type: java.lang.String
  • Since: 0.1
  • Required: Yes
  • Expression: ${grailsHome}