Builds
This document describes the maven build configurations.
Profiles
When building QA, there are different profiles you can use to enable different authentication methods and change the underlying database management system.
Profile
Description
Sqlite
Uses sqlite database
Postgres
Uses postgres database
Entra
Enables Entra authentication
Specifying profiles
To run QA, use the following
mvn spring-boot:runTo change the active profile, navigate to
src/main/resources/application.propertiesHere you can change the profiles the project is built with. For example, use the following to build with sqlite.
spring.profiles.group.local=sqlite
spring.profiles.include[0]=sqliteYou can find another example below to build with postgres locally with Entra authentication.
spring.profiles.group.postgres_with_entra=postgres, Entra
spring.profiles.include[0]=postgres_with_entraLast updated