December 2019
Intermediate to advanced
314 pages
6h 51m
English
To simplify development and testing, the dev and test profiles can be automatically triggered by the Maven plugin. So, for example, if you are executing Quarkus in development mode, the dev profile will be used eventually:
mvn quarkus:dev
In much the same way, the test profile will be activated when tests are executed, for example, during the install life cycle phase:
mvn quarkus:install
The test profile will be activated when you execute the Maven test goal. Additionally, it's worth knowing that you can set a different profile for your tests through maven-surfire-plugin, within its system properties:
<groupId>org.apache.maven.plugins</groupId><artifactId>maven-surefire-plugin</artifactId><version>${surefire-plugin.version}</version> ...Read now
Unlock full access