Clarify how to exclude devtools with war packaging.

Closes gh-7556
This commit is contained in:
Stephane Nicoll 2016-12-15 15:28:25 +01:00
parent caf5327149
commit 26643ef428
1 changed files with 5 additions and 0 deletions

View File

@ -60,6 +60,11 @@ Usage
Please note that the <<<outputFileNameMapping>>> feature of the <<<maven-war-plugin>>>
is currently not supported.
It is also possible to automatically exclude devtools using the <<<excludeDevtools>>>
property. In order to make that work with <<<war>>> packaging, the
`spring-boot-devtools` dependency must be set as <<<optional>>> or with the
<<<provided>>> scope.
The original (i.e. non executable) artifact is renamed to <<<.original>>> by default but it is also
possible to keep the original artifact using a custom classifier.