spring boot executable jar maven

To create an executable jar we need to add the spring-boot-maven-plugin to our pom.xml. Insert the following lines just below the dependencies



Use maven goal as below to create a executable jar

mvn clean package



Spring Boot executable jar


Leave a Reply

Your email address will not be published. Required fields are marked *