Reader small image

You're reading from  Docker and Kubernetes for Java Developers

Product typeBook
Published inAug 2017
Reading LevelIntermediate
PublisherPackt
ISBN-139781786468390
Edition1st Edition
Languages
Right arrow
Author (1)
Jarosław Krochmalski
Jarosław Krochmalski
author image
Jarosław Krochmalski

Jaroslaw Krochmalski is a passionate software designer and developer who specializes in the financial business domain. He has over 12 years of experience in software development. He is a clean-code and software craftsmanship enthusiast. He is a Certified Scrum Master and a fan of Agile. His professional interests include new technologies in web application development, design patterns, enterprise architecture, and integration patterns. He has been designing and developing software professionally since 2000 and has been using Java as his primary programming language since 2002. In the past, he worked for companies such as Kredyt Bank (KBC) and Bank BPS on many large-scale projects such as international money orders, express payments and collection systems. He currently works as a consultant in Danish company 7N as an IT architect for the Nykredit bank. You can reach him via Twitter at @jkroch or by e-mail at jarek@finsys.pl. I would like to say hello to my friends at 7N and Nykredit, keep up the great job!
Read more about Jarosław Krochmalski

Right arrow

Running with Maven

The plugin provides two Maven goals related to starting and stopping containers. This will be docker:start and docker:stop. Containers are created and started with the docker:start and stopped and destroyed with the docker:stop. If you need to run the container during the integration tests, the typical use case will be to include those goals in Maven build phases: the docker:start will be bound to the pre-integration-test and docker:stop to the post-integration-test phase.

Plugin configuration

The plugin uses the configuration from the <run> sub-element of the <configuration> in the pom.xml file. The list of the most important configuration elements is as follows:

cmd

Command which should...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Docker and Kubernetes for Java Developers
Published in: Aug 2017Publisher: PacktISBN-13: 9781786468390

Author (1)

author image
Jarosław Krochmalski

Jaroslaw Krochmalski is a passionate software designer and developer who specializes in the financial business domain. He has over 12 years of experience in software development. He is a clean-code and software craftsmanship enthusiast. He is a Certified Scrum Master and a fan of Agile. His professional interests include new technologies in web application development, design patterns, enterprise architecture, and integration patterns. He has been designing and developing software professionally since 2000 and has been using Java as his primary programming language since 2002. In the past, he worked for companies such as Kredyt Bank (KBC) and Bank BPS on many large-scale projects such as international money orders, express payments and collection systems. He currently works as a consultant in Danish company 7N as an IT architect for the Nykredit bank. You can reach him via Twitter at @jkroch or by e-mail at jarek@finsys.pl. I would like to say hello to my friends at 7N and Nykredit, keep up the great job!
Read more about Jarosław Krochmalski