Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
cfe1fe87
Commit
cfe1fe87
authored
Jun 23, 2016
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '1.3.x'
parents
2dc6e5b6
bffcb1aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
3 deletions
+56
-3
build-tool-plugins.adoc
spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc
+40
-1
usage.apt.vm
...-tools/spring-boot-maven-plugin/src/site/apt/usage.apt.vm
+16
-2
No files found.
spring-boot-docs/src/main/asciidoc/build-tool-plugins.adoc
View file @
cfe1fe87
...
@@ -485,7 +485,8 @@ The following configuration options are available:
...
@@ -485,7 +485,8 @@ The following configuration options are available:
|`
layout
`
|`
layout
`
|
The
type
of
archive
,
corresponding
to
how
the
dependencies
are
laid
out
inside
|
The
type
of
archive
,
corresponding
to
how
the
dependencies
are
laid
out
inside
(
defaults
to
a
guess
based
on
the
archive
type
).
(
defaults
to
a
guess
based
on
the
archive
type
).
See
<<
build
-
tool
-
plugins
-
gradle
-
configuration
-
layouts
,
available
layouts
for
more
details
>>.
|`
requiresUnpack
`
|`
requiresUnpack
`
|
A
list
of
dependencies
(
in
the
form
"`groupId:artifactId`"
that
must
be
unpacked
from
|
A
list
of
dependencies
(
in
the
form
"`groupId:artifactId`"
that
must
be
unpacked
from
...
@@ -495,6 +496,44 @@ The following configuration options are available:
...
@@ -495,6 +496,44 @@ The following configuration options are available:
[[
build
-
tool
-
plugins
-
gradle
-
configuration
-
layouts
]]
====
Available
layouts
The
`
layout
`
attribute
configures
the
format
of
the
archive
and
whether
the
bootstrap
loader
should
be
included
or
not
.
The
following
layouts
are
available
:
[
cols
=
"2,4,1"
]
|===
|
Name
|
Description
|
Executable
|`
JAR
`
|
Regular
executable
<<
appendix
-
executable
-
jar
-
format
.
adoc
#
executable
-
jar
-
jar
-
file
-
structure
,
JAR
layout
>>.
|
Yes
|`
WAR
`
|
Executable
<<
appendix
-
executable
-
jar
-
format
.
adoc
#
executable
-
jar
-
war
-
file
-
structure
,
WAR
layout
>>.
`
provided
`
dependencies
are
placed
in
`
WEB
-
INF
/
lib
-
provided
`
to
avoid
any
clash
when
the
`
war
`
is
deployed
in
a
servlet
container
.
|
Yes
|`
ZIP
`
(
alias
to
`
DIR
`)
|
Similar
to
`
JAR
`
layout
,
using
<<
appendix
-
executable
-
jar
-
format
.
adoc
#
executable
-
jar
-
property
-
launcher
-
features
,`
PropertiesLauncher
`>>.
|
Yes
|`
MODULE
`
|
Bundle
dependencies
(
excluding
those
with
`
provided
`
scope
)
and
project
resources
.
|
No
|`
NONE
`
|
Bundle
all
dependencies
and
project
resources
.
|
No
|===
[[
build
-
tool
-
plugins
-
understanding
-
the
-
gradle
-
plugin
]]
[[
build
-
tool
-
plugins
-
understanding
-
the
-
gradle
-
plugin
]]
===
Understanding
how
the
Gradle
plugin
works
===
Understanding
how
the
Gradle
plugin
works
When
`
spring
-
boot
`
is
applied
to
your
Gradle
project
a
default
task
named
`
bootRepackage
`
When
`
spring
-
boot
`
is
applied
to
your
Gradle
project
a
default
task
named
`
bootRepackage
`
...
...
spring-boot-tools/spring-boot-maven-plugin/src/site/apt/usage.apt.vm
View file @
cfe1fe87
...
@@ -92,8 +92,22 @@ Usage
...
@@ -92,8 +92,22 @@ Usage
</build>
</build>
---
---
The layout property defaults to a guess based on the archive type (jar or war). For the
The <<<layout>>> property defaults to a guess based on the archive type (<<<jar>>> or <<<war>>>). The
<<<PropertiesLauncher>>> the layout is <<<ZIP>>> (even though the output might be a jar file).
following layouts are available:
* <<<JAR>>>: regular executable JAR layout.
* <<<WAR>>>: executable WAR layout. <<<provided>>> dependencies are placed in <<<WEB-INF/lib-provided>>>
to avoid any clash when the <<<war>>> is deployed in a servlet container.
* <<<ZIP>>> (alias to <<<DIR>>>): similar to the <<<JAR>>> layout using <<<PropertiesLauncher>>>.
* <<<MODULE>>>: Bundle dependencies (excluding those with <<<provided>>> scope) and project resources.
Does not bundle a bootstrap loader.
* <<<NONE>>>: Bundle all dependencies and project resources. Does not bundle a bootstrap loader.
[]
For more detailed examples of how to configure this goal see:
For more detailed examples of how to configure this goal see:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment