-
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
Do not run the Gradle tests when using -DquicklyDocs and add some useful workflow tips #44329
Conversation
Thanks for your pull request! Your pull request does not follow our editorial rules. Could you have a look?
This message is automatically generated by a bot. |
alias qss="java -jar ${HOME}/git/quarkus/devtools/cli/target/quarkus-cli-999-SNAPSHOT-runner.jar" | ||
``` | ||
|
||
Using `./mvnw` is often not practical in this case as you might want to call these aliases from a nested directory. |
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.
I tend to use gum for solving that issue.
https://andresalmiray.com/gum-the-gradle-maven-wrapper/
then have alias mvn=gm which then locates ./mvnw if in root.
I tried the |
This comment has been minimized.
This comment has been minimized.
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.
Nice aliases, thanks!
- If using plain Maven | ||
|
||
```sh | ||
alias build-fast="mvn -T0.8C -e -DskipDocs -DskipTests -DskipITs -Dinvoker.skip -DskipExtensionValidation -Dskip.gradle.tests -Dtruststore.skip clean install" |
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.
skipDocs
,skipTests
,skipITs
,skipExtensionValidation
invoker.skip
,truststore.skip
skip.gradle.tests
Yup, we got all three naming conventions, can't think of any other :(
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.
Conventions are not ours. They are coming from the Maven plugins we are using (except skip.gradle.tests
which is indeed not ideal).
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.
I figured :(
d6af9e0
to
a728ac3
Compare
I applied all your suggestions. |
No description provided.