play2:routes-compile
Full name:
com.google.code.play2-maven-plugin:play2-maven-plugin:1.0.0-beta4: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. |
routesGenerator |
String |
1.0.0 |
Routes generator type ("static" or "injected").
Supported by Play! 2.4.x and later. Default value is: static. User property is: play2.routesGenerator. |
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. |
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
routesGenerator:
Routes generator type ("static" or "injected").
Supported by Play! 2.4.x and later.
- Type: java.lang.String
- Since: 1.0.0
- Required: Yes
- User Property: play2.routesGenerator
- Default: static