Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagebash
#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
languagebash
mvn clean install –Pdocker

Docker properties

Default Docker settings in uvms-pom.

...

Code Block
languagexml
<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
languagebash
#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
languagebash
mvn clean install –Pdocker