Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 845 Bytes

running.adoc

File metadata and controls

59 lines (42 loc) · 845 Bytes

Running the application

To launch

mvn clean spring-boot:run

To run test

Unit tests:

mvn clean test

All tests (Integration + Unit, PostgreSQL required):

mvn clean verify -Dspring.config.additional-location=src/test/resources/test-db-configuration.yml

To package

mvn clean install

This will create an executable jar.

To run the packaged application (using an embedded Tomcat instance)

java -jar seqdb.api.jar

You can also include configuration from an external file:

java -jar seqdb.api.jar --spring.config.additional-location=./myconfig.yml

Generate Maven reports

  • Checkstyle

  • SpotBugs

  • OWASP dependency-check

  • Jacoco

mvn clean verify site