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
0d79fd3e
Commit
0d79fd3e
authored
Mar 15, 2021
by
robert-smith-911
Committed by
Andy Wilkinson
Mar 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document Failsafe configuration when not using starter parent
See gh-25621
parent
9c8a9780
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
using.adoc
...ols/spring-boot-maven-plugin/src/docs/asciidoc/using.adoc
+15
-0
No files found.
spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/asciidoc/using.adoc
View file @
0d79fd3e
...
...
@@ -105,6 +105,21 @@ For instance, to use a different version of the SLF4J library and the Spring Dat
</dependencyManagement>
----
[[failsafe-plugin]]
=== Using Maven Failsafe Plugin without the Spring Boot Parent POM
When using the Failsafe plugin, the Spring Boot Parent POM by default configures the `<classesDirectory>` to be `${project.build.outputDirectory}`.
This configures Failsafe to use the compiled classes rather than the repackaged jar as such:
[source,xml,indent=0]
----
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<classesDirectory>${project.build.outputDirectory}</classesDirectory>
</configuration>
</plugin>
----
[[using-overriding-command-line]]
...
...
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