Skip to content

Latest commit

 

History

History
29 lines (14 loc) · 418 Bytes

create_jar.md

File metadata and controls

29 lines (14 loc) · 418 Bytes

Create jar for Spring-Boot Project

Gradle:

In gradle project, go to project directory run the following command to create jar

 ./gradlew build

Without test

./gradlew build -x test

The above command will create the JAR in the directory /build/libs/ {XXXXX.jar}

Maven:

 mvn install

To skip test

mvn install –DskipTests

In Mac,

mvn clean install

mvn clean package -DskipTests=true