play:initialize

Full name:

com.google.code.maven-play-plugin:play-maven-plugin:1.0.0-beta8:initialize

Description:

Initialize Play! Maven project. - Checks Play! home directory and creates temporary Play! home in "target" directory if no Play! home directory defined and there is Play! framework zip dependency in the project. - Adds application and dependent modules sources to Maven project as compile source roots. - Adds application resources to Maven project as resources. - Adds application test sources to Maven project as test compile source roots.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.
  • Since version: 1.0.0.
  • Binds by default to the lifecycle phase: initialize.

Optional Parameters

Name Type Since Description
homeClean boolean 1.0.0 Should temporary Play! home directory be cleaned before it's reinitializing. If true, homeOverwrite is meaningless.
Default value is: false.
User property is: play.homeClean.
homeOverwrite boolean 1.0.0 Should existing temporary Play! home content be overwritten.
Default value is: false.
User property is: play.homeOverwrite.
playId String 1.0.0 Default Play! id (profile).
User property is: play.id.

Parameter Details

homeClean:

Should temporary Play! home directory be cleaned before it's reinitializing. If true, homeOverwrite is meaningless.
  • Type: boolean
  • Since: 1.0.0
  • Required: No
  • User Property: play.homeClean
  • Default: false

homeOverwrite:

Should existing temporary Play! home content be overwritten.
  • Type: boolean
  • Since: 1.0.0
  • Required: No
  • User Property: play.homeOverwrite
  • Default: false

playId:

Default Play! id (profile).
  • Type: java.lang.String
  • Since: 1.0.0
  • Required: No
  • User Property: play.id