Here are few of the spring boot,maven and gradle commands I find pretty useful. They are mostly used for building jars and running them.
$spring jar myapp.jar app.grovy
$jar tf my-app.jar
$java -jar myapp.jar
$ gradle build
Refer to this link https://docs.spring.io/spring-boot/docs/2.0.2.RELEASE/gradle-plugin/reference/html/
$java -jar myapp.jar
OR
$gradle run
$mvn clean package
$mvn springboot:run
Refer link here https://maven.apache.org/install.html
0 Comments