play2:template-compile

Full name:

com.google.code.play2-maven-plugin:play2-maven-plugin:1.0.0-rc3:template-compile

Description:

Compile Scala templates

Attributes:

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

Required Parameters

Name Type Since Description
<mainLang> String 1.0.0 Main language ("scala" or "java").
Default value is: scala.
User property is: play2.mainLang.

Optional Parameters

Name Type Since Description
<playVersion> String 1.0.0 Used to automatically select one of the "well known" Play! providers if no provider added explicitly as plugin's dependency.
User property is: play2.version.
<sourceEncoding> String 1.0.0 Source files encoding.

If not specified, the encoding value will be the value of the file.encoding system property.
User property is: project.build.sourceEncoding.
<templateAdditionalImports> String 1.0.0 Additional imports for templates.
User property is: play2.templateAdditionalImports.
<templateSourceDirectory> File 1.0.0 Source directory for templates. If not specified, all Maven build source directories are used.
User property is: play2.templateSourceDirectory.

Parameter Details

<mainLang>

Main language ("scala" or "java").
  • Type: java.lang.String
  • Since: 1.0.0
  • Required: Yes
  • User Property: play2.mainLang
  • Default: scala

<playVersion>

Used to automatically select one of the "well known" Play! providers if no provider added explicitly as plugin's dependency.
  • Type: java.lang.String
  • Since: 1.0.0
  • Required: No
  • User Property: play2.version

<sourceEncoding>

Source files encoding.

If not specified, the encoding value will be the value of the file.encoding system property.
  • Type: java.lang.String
  • Since: 1.0.0
  • Required: No
  • User Property: project.build.sourceEncoding

<templateAdditionalImports>

Additional imports for templates.
  • Type: java.lang.String
  • Since: 1.0.0
  • Required: No
  • User Property: play2.templateAdditionalImports

<templateSourceDirectory>

Source directory for templates. If not specified, all Maven build source directories are used.
  • Type: java.io.File
  • Since: 1.0.0
  • Required: No
  • User Property: play2.templateSourceDirectory