Skip to content

Commit

Permalink
Merge pull request #19651 from geoand/#19643-follow-up
Browse files Browse the repository at this point in the history
Fix and enhance Maven Invoker example
  • Loading branch information
famod authored Aug 25, 2021
2 parents 2343f1f + f61a95a commit 946c94b
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 946c94b

Please sign in to comment.