From f61a95a54978ff03591c7c1312f480939fbe1d02 Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Wed, 25 Aug 2021 15:11:10 +0300 Subject: [PATCH] Fix and enhance Maven Invoker example Based on feedback from https://github.com/quarkusio/quarkus/pull/19643#discussion_r695667017 --- CONTRIBUTING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index af42020049154..3e75a9adf4da3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -348,10 +348,11 @@ which houses the test project. For example, in order to only run the MySQL test project of the container-image tests, the Maven command would be: ``` -./mvnw verify -f integration-tests/container-image/maven-invoker-way verify -Dinvoker.test=container-build-jib-with-mysql +./mvnw verify -f integration-tests/container-image/maven-invoker-way -Dinvoker.test=container-build-jib-with-mysql ``` Note that we use the `verify` goal instead of the `test` goal because the Maven Invoker is usually bound to the integration-test phase. +Furthermore, depending on the actual test being invoked, more options maybe needed (for the specific integration test mentioned above, `-Dstart-containers` and `-Dtest-containers` are needed). ### Build with multiple threads