Sunday, October 28, 2018

Maven + Springboot (Repackage and Run)

Compile dan Package

#Important if you use Java 7 to download jar from Maven Repository since June 2018
export MAVEN_OPTS=-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2
mvn clean compile dependency:copy-dependencies package install spring-boot:repackage

Run 
mvn clean spring-boot:run

0 comments: