How To Install Java Artifact org.testcontainers.docker-compose v0.9.9

org.testcontainers docker-compose 0.9.9

Introduction

In this article, we'll learn how to install Java artifact docker-compose from org.testcontainers group in version 0.9.9. The artifact is available in 2 versions: 0.9.9 0.9.8 The parent project is: org.testcontainers::testcontainers-parent::0.9.9

How To Install Java Artifact org.testcontainers.docker-compose In Version 0.9.9

To install the TestContainers :: Docker Compose artifact in version 0.9.9 add the following dependency to your pom.xml file for Maven Project.

The dependency needs to be added in the dependencies section which is located in the main project tag of the pom.xml file. The sample pom.xml file that uses TestContainers :: Docker Compose dependency could look as follows:

Other dependency snippets for Gradle, SBT, Ivy, Grape, Leiningen, and Buildr

Below you can find code snippets for other project build tools like Gradle, SBT, Ivy, Grape, Leiningen, and Buildr.

Compile dependencies (1)

Test dependencies (1)