Skip to content
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

Make -Dquickly a bit faster #40966

Merged
merged 1 commit into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion build-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
Copy link
Contributor

@ppalaga ppalaga Jun 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a neat trick! I have not realized the phase can be set through a property.

<configuration>
<rules>
<dependencyConvergence/>
Expand Down Expand Up @@ -679,7 +680,7 @@
<ignoreSignaturesOfMissingClasses>true</ignoreSignaturesOfMissingClasses>
<suppressAnnotations><annotation>**.SuppressForbidden</annotation></suppressAnnotations>
</configuration>
<phase>compile</phase>
<phase>${forbiddenapis-maven-plugin.phase}</phase>
<goals>
<goal>check</goal>
</goals>
Expand Down
1 change: 1 addition & 0 deletions core/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<goals>
<goal>enforce</goal>
</goals>
Expand Down
1 change: 1 addition & 0 deletions devtools/maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@
<executions>
<execution>
<id>enforce-quarkus-maven-plugin</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<configuration>
<rules>
<bannedDependencies>
Expand Down
1 change: 1 addition & 0 deletions extensions/observability-devservices/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<configuration>
<rules combine.self="override">
<dependencyConvergence/>
Expand Down
1 change: 1 addition & 0 deletions extensions/panache/panache-mock/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<configuration>
<rules combine.self="override">
<dependencyConvergence/>
Expand Down
1 change: 1 addition & 0 deletions extensions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<goals>
<goal>enforce</goal>
</goals>
Expand Down
1 change: 1 addition & 0 deletions extensions/security/test-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<configuration>
<rules combine.self="override">
<dependencyConvergence/>
Expand Down
1 change: 1 addition & 0 deletions independent-projects/arc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<configuration>
<rules>
<dependencyConvergence/>
Expand Down
1 change: 1 addition & 0 deletions independent-projects/bootstrap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<configuration>
<rules>
<dependencyConvergence/>
Expand Down
1 change: 1 addition & 0 deletions independent-projects/extension-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<configuration>
<rules>
<dependencyConvergence/>
Expand Down
1 change: 1 addition & 0 deletions independent-projects/junit5-virtual-threads/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<configuration>
<rules>
<dependencyConvergence/>
Expand Down
1 change: 1 addition & 0 deletions independent-projects/parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<goals>
<goal>enforce</goal>
</goals>
Expand Down
1 change: 1 addition & 0 deletions independent-projects/qute/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<configuration>
<rules>
<dependencyConvergence/>
Expand Down
1 change: 1 addition & 0 deletions independent-projects/resteasy-reactive/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<configuration>
<rules>
<dependencyConvergence/>
Expand Down
1 change: 1 addition & 0 deletions independent-projects/tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<configuration>
<rules>
<externalRules>
Expand Down
1 change: 1 addition & 0 deletions integration-tests/kubernetes-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<goals>
<goal>enforce</goal>
</goals>
Expand Down
1 change: 1 addition & 0 deletions integration-tests/openshift-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<goals>
<goal>enforce</goal>
</goals>
Expand Down
1 change: 1 addition & 0 deletions integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<goals>
<goal>enforce</goal>
</goals>
Expand Down
1 change: 1 addition & 0 deletions integration-tests/virtual-threads/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<goals>
<goal>enforce</goal>
</goals>
Expand Down
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
<skipDocs>false</skipDocs>
<skip.gradle.tests>false</skip.gradle.tests>

<maven-enforcer-plugin.phase>validate</maven-enforcer-plugin.phase>
<forbiddenapis-maven-plugin.phase>verify</forbiddenapis-maven-plugin.phase>

<owasp-dependency-check-plugin.version>9.0.7</owasp-dependency-check-plugin.version>

<!-- Dependency versions -->
Expand Down Expand Up @@ -186,11 +189,13 @@
<skipITs>true</skipITs>
<skipDocs>true</skipDocs>
<enforcer.skip>true</enforcer.skip>
<maven-enforcer-plugin.phase>none</maven-enforcer-plugin.phase>
<skipExtensionValidation>true</skipExtensionValidation>
<skip.gradle.tests>true</skip.gradle.tests>
<invoker.skip>true</invoker.skip> <!-- maven-invoker-plugin -->
<jbang.skip>true</jbang.skip> <!-- jbang-maven-plugin -->
<forbiddenapis.skip>true</forbiddenapis.skip> <!-- forbidden-apis maven plugin -->
<forbiddenapis-maven-plugin.phase>none</forbiddenapis-maven-plugin.phase>
<skipCodestartValidation>true</skipCodestartValidation>
<truststore.skip>true</truststore.skip>
</properties>
Expand Down
1 change: 1 addition & 0 deletions tcks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<goals>
<goal>enforce</goal>
</goals>
Expand Down
1 change: 1 addition & 0 deletions test-framework/kubernetes-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<goals>
<goal>enforce</goal>
</goals>
Expand Down
1 change: 1 addition & 0 deletions test-framework/openshift-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<goals>
<goal>enforce</goal>
</goals>
Expand Down
1 change: 1 addition & 0 deletions test-framework/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
<executions>
<execution>
<id>enforce</id>
<phase>${maven-enforcer-plugin.phase}</phase>
<configuration>
<rules combine.self="override">
<dependencyConvergence/>
Expand Down
Loading