Update the Maven and Gradle plugin to generate fully executable jar files on Unix like machines. A launcher bash script is added to the front of the jar file which handles execution. The default execution script will either launch the application or handle init.d service operations (start/stop/restart) depending on if the application is executed directly, or via a symlink to init.d. See gh-1117
8 lines
169 B
Groovy
8 lines
169 B
Groovy
import java.io.*;
|
|
import org.springframework.boot.maven.*;
|
|
|
|
Verify.verifyJar(
|
|
new File( basedir, "target/jar-0.0.1.BUILD-SNAPSHOT.jar" ), "some.random.Main", false
|
|
);
|
|
|