-
Notifications
You must be signed in to change notification settings - Fork 71
Play2War configuration
Damien Lecan edited this page Jun 20, 2014
·
14 revisions
- Key:
Play2WarKeys.servletVersion
- Expected value:
String
, in["2.5", "3.0", "3.1"]
- Default value:
3.0
- Key:
Play2WarKeys.targetName
- Expected value:
Option[String]
- Default value:
$projectsName-$projectsVersion.war
Destination folder cannot be configured (YOUR_PROJECT/target
).
- Key:
Play2WarKeys.disableWarningWhenWebxmlFileFound
- Expected value:
Boolean
- Default value:
false
- Since: 0.9.1
When servlet container >= 3.0 is configured and a web.xml
can be found in YOUR_PROJECT/war
, a warning is displayed. This key to skip this warning.
- Key:
Play2WarKeys.filteredArtifacts
- Expected value:
Seq[(groupId: String, artifactId: String)]
- Default value:
Seq(("javax.servlet", "servlet-api"))
- Since: 0.9.1
- Key:
Play2WarKeys.explodedJar
- Expected value:
Boolean
- Default value:
false
(not exploded) - Since: 0.9.1
Instead of being packaged into WAR_FILE!/WEB-INF/lib
, your project's artifact (containing controllers, views, ...) can be packaged exploded into WAR_FILE!/WEB-INF/classes
.
All theses keys have to be added in YOUR_APP/conf/application.conf
file.
key = value