-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show example of executing a single Maven Invoker test #19643
Conversation
5b4718d
to
7e5b33b
Compare
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@geoand The doube-verify
is probably a mistake as it yields:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.1.2:jar (default-jar) on project quarkus-integration-test-container-image-invoker: You have to use a classifier to attach supplemental artifacts to the project instead of replacing them.
Also, this very specific module also requires -Dstart-containers
.
That's what you get for being helpful by documenting things for others. 😉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ouch on the double verify
...
For the other flags, I was on the fence on whether to add them or not, because they don't bring any value to the specific section.
Feel free to update the doc how you best see fit :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you are fixing that double-verify, you could add one one-liner note on that this is just an example and that further parameters might be needed. 🤷
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here it is: #19651 :)
Based on feedback from quarkusio#19643 (comment)
Based on feedback from quarkusio#19643 (comment)
Fix and enhance Maven Invoker example
No description provided.