Commit 0d79fd3e authored by robert-smith-911's avatar robert-smith-911 Committed by Andy Wilkinson

Document Failsafe configuration when not using starter parent

See gh-25621
parent 9c8a9780
......@@ -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]]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment