Created
February 24, 2017 22:49
-
-
Save mskoroglu/be0fc6836ca5dd68d80f4b68c6bc74a7 to your computer and use it in GitHub Desktop.
Build executable JAR with Spring Boot Maven Plugin — Non-Spring projects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-maven-plugin</artifactId> | |
<executions> | |
<execution> | |
<goals> | |
<goal>repackage</goal> | |
</goals> | |
<configuration> | |
<mainClass>{package.mainClass}</mainClass> | |
</configuration> | |
</execution> | |
</executions> | |
<configuration> | |
<executable>true</executable> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment