-
Notifications
You must be signed in to change notification settings - Fork 1.1k
ci: Add Maven quick-build profile to skip maven lifecycle plugins
#12188
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
Changes from all commits
d72770d
74f40e5
fed4516
27f265e
ba3c72f
bf7e2df
79f2562
5cf488f
8493218
67f09f3
6ab80cd
c0a55b6
93dbad9
7f0458a
cc3994e
43fe441
55ae26e
24a0a62
46cf801
ed95dcd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -76,6 +76,23 @@ | |
| </licenses> | ||
|
|
||
| <profiles> | ||
| <profile> | ||
| <!-- skips all plugins that would have been activated by the Maven lifecycle --> | ||
| <id>quick-build</id> | ||
| <properties> | ||
| <checkstyle.skip>true</checkstyle.skip> | ||
| <enforcer.skip>true</enforcer.skip> | ||
| <jacoco.skip>true</jacoco.skip> | ||
| <clirr.skip>true</clirr.skip> | ||
| <spotbugs.skip>true</spotbugs.skip> | ||
| <pmd.skip>true</pmd.skip> | ||
| <animal.sniffer.skip>true</animal.sniffer.skip> | ||
| <fmt.skip>true</fmt.skip> | ||
| <flatten.skip>true</flatten.skip> | ||
| <mdep.analyze.skip>true</mdep.analyze.skip> | ||
| </properties> | ||
| </profile> | ||
|
Comment on lines
+79
to
+94
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This |
||
|
|
||
| <profile> | ||
| <!-- Only run checkstyle plugin on Java 11+ (checkstyle artifact only supports Java 11+) --> | ||
| <id>checkstyle-tests</id> | ||
|
|
@@ -96,6 +113,7 @@ | |
| </goals> | ||
| <configuration> | ||
| <headerLocation>${checkstyle.header.file}</headerLocation> | ||
| <skip>${checkstyle.skip}</skip> | ||
| </configuration> | ||
| </execution> | ||
| </executions> | ||
|
|
||
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.
Maybe a comment describing what this profile does?
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.
Updated!