play2:routes-compile
Full name:
com.google.code.play2-maven-plugin:play2-maven-plugin:1.0.0-rc3:routes-compile
Description:
Compile routes
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.
|
| <routesAdditionalImports> |
String |
1.0.0 |
Additional imports for the router. User property is: play2.routesAdditionalImports.
|
| <routesGenerator> |
String |
1.0.0 |
Routes generator type ("static" or "injected").
Supported by Play! 2.4.x and later. If not set, provider default
generator type will be used. User property is: play2.routesGenerator.
|
| <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.
|
Parameter Details
Main language ("scala" or "java").
- Type: java.lang.String
- Since: 1.0.0
- Required: Yes
- User Property: play2.mainLang
- Default: scala
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
Additional imports for the router.
- Type: java.lang.String
- Since: 1.0.0
- Required: No
- User Property: play2.routesAdditionalImports
Routes generator type ("static" or "injected").
Supported by Play! 2.4.x and later. If not set, provider default
generator type will be used.
- Type: java.lang.String
- Since: 1.0.0
- Required: No
- User Property: play2.routesGenerator
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