Skip to content

Commit a2b6018

Browse files
tisonkunremkop
authored andcommitted
docs: add Spring Boot Maven Plugin section
Signed-off-by: tison <[email protected]>
1 parent a66619d commit a2b6018

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/index.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13184,6 +13184,12 @@ ____
1318413184

1318513185
====
1318613186

13187+
=== Spring Boot Maven Plugin
13188+
13189+
The https://docs.spring.io/spring-boot/docs/current/maven-plugin/reference/htmlsingle/#packaging[Spring Boot Maven Plugin] provides a `repakcage` goal to create executable archives that contain all of an application’s dependencies. It thus functions as an executable, is portable across operating systems and architectures, and is still a valid JAR file that can be executed explicitly or otherwise used as a JAR.
13190+
13191+
http://github.com/korandoru/hawkeye[korandoru/hawkeye] provides a real-world example to pacakge a picocli application into an executable file. You can read the `pom.xml` file of https://github.com/korandoru/hawkeye/blob/main/hawkeye-cli/pom.xml[hawkeye-cli] module for details. Note that the default `embeddedLaunchScript.sh` assumes that the application may be a Spring Application while the hawkeye-cli example uses a customized tidy script.
13192+
1318713193
=== Really Executable JAR
1318813194

1318913195
A https://skife.org/java/unix/2011/06/20/really_executable_jars.html[really executable JAR]

0 commit comments

Comments
 (0)