play:war-support

Full name:

com.google.code.maven-play-plugin:play-maven-plugin:1.0.0-beta8:war-support

Description:

Prepare project for war packaging. For now only prepares "web.xml" file (replaces %APPLICATION_NAME% and %PLAY_ID% with actual values).

Attributes:

  • Requires a Maven project to be executed.
  • Since version: 1.0.0.
  • Binds by default to the lifecycle phase: prepare-package.

Required Parameters

Name Type Since Description
warWebappDirectory File 1.0.0 Single directory for extra files to include in the WAR.
Default value is: ${basedir}/war.
User property is: play.warWebappDirectory.

Optional Parameters

Name Type Since Description
playWarId String 1.0.0 Play! id (profile) used for WAR packaging.
Default value is: war.
User property is: play.warId.
warFilterWebXml boolean 1.0.0 Replace %APPLICATION_NAME% and %PLAY_ID% in "WEB-INF/web.xml" file with application name ("application.name" property in "conf/application.conf" file) and Play! war profile name ("playWarId" plugin configuration property value).
Default value is: true.
User property is: play.warFilterWebXml.

Parameter Details

playWarId:

Play! id (profile) used for WAR packaging.
  • Type: java.lang.String
  • Since: 1.0.0
  • Required: No
  • User Property: play.warId
  • Default: war

warFilterWebXml:

Replace %APPLICATION_NAME% and %PLAY_ID% in "WEB-INF/web.xml" file with application name ("application.name" property in "conf/application.conf" file) and Play! war profile name ("playWarId" plugin configuration property value).
  • Type: boolean
  • Since: 1.0.0
  • Required: No
  • User Property: play.warFilterWebXml
  • Default: true

warWebappDirectory:

Single directory for extra files to include in the WAR.
  • Type: java.io.File
  • Since: 1.0.0
  • Required: Yes
  • User Property: play.warWebappDirectory
  • Default: ${basedir}/war