Skip to content

Commit

Permalink
Fix and enhance Maven Invoker example
Browse files Browse the repository at this point in the history
Based on feedback from quarkusio#19643 (comment)
  • Loading branch information
geoand committed Aug 25, 2021
1 parent 9fc6d6d commit 24ee769
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 24ee769

Please sign in to comment.