...
The docker profile defined in the parent-pom starts up the activemq,postgres-release and wildfly-base docker containers.
When using docker you have a two options development or ci mode.
Development mode
Works well when you start the docker containers and run your test multiple times in your IDE during development.
(you start/stop docker manually)
Code Block |
---|
|
#Start (in your root project)
mvn install -Pdocker,docker-start –N
#Stop (in your root project)
mvn install -Pdocker,docker-stop –N |
Ci mode
Build and test all modules using docker
Code Block |
---|
|
mvn clean install –Pdocker |
Docker properties
Default Docker settings in uvms-pom.
...
Code Block |
---|
|
<docker.dev.stop.phase>verify</docker.dev.stop.phase>
<docker.dev.prestop.phase>install</docker.dev.prestop.phase> |
...
Development mode
Works well when you start the docker containers and run your test multiple times in your IDE during development.
(you start/stop docker manually)
Code Block |
---|
|
#Start (in your root project)
mvn install -Pdocker,docker-start –N
#Stop (in your root project)
mvn install -Pdocker,docker-stop –N |
Ci mode
Build and test all modules using docker
Code Block |
---|
|
mvn clean install –Pdocker |