mirror of https://github.com/apache/maven.git
151554797f | ||
---|---|---|
.. | ||
debian-jdk7 | ||
debian-jdk8 | ||
fedora-jdk8 | ||
ibm-jdk8 | ||
solaris-10-jdk7 | ||
solaris-10-jdk8 | ||
solaris-11-jdk7 | ||
solaris-11-jdk8 | ||
zulu-jdk7 | ||
zulu-jdk8 | ||
README.md |
README.md
Integration Test Environments
This directory contains definitions for different test environments.
Linux based test environments
The linux based test environments use Docker and will have a Dockerfile
.
The test procedure will typically be something like this:
$ ID=$(docker build -q .) && docker run --rm -t -i $ID bash
$ cd $HOME
$ git clone https://gitbox.apache.org/repos/asf/maven.git
$ ( cd maven && mvn clean verify )
$ git clone https://gitbox.apache.org/repos/asf/maven-integration-testing.git
$ ( cd maven-integration-testing && mvn clean install -Prun-its -Dmaven.repo.local=$HOME/work/repo -DmavenDistro=$HOME/maven/apache-maven/target/apache-maven-...-bin.zip )
Other operating systems
The non-linux based test environments use Vagrant and will have a Vagrantfile
.
The Vagrant based test environments all require Virtualbox as the vagrant provider.
NOTE: Where there are additional downloads required to populate the base box image, there will be a Makefile
in the environment directory. In these cases you will need to run make
before vagrant up
will work.
For most unixes the test procedure will be something like:
$ vagrant ssh
$ git clone https://gitbox.apache.org/repos/asf/maven.git
$ ( cd maven && mvn clean verify )
$ git clone https://gitbox.apache.org/repos/asf/maven-integration-testing.git
$ ( cd maven-integration-testing && mvn clean install -Prun-its -Dmaven.repo.local=$HOME/work/repo -DmavenDistro=$HOME/maven/apache-maven/target/apache-maven-...-bin.zip )