Skip to content

Commit

Permalink
Do not store build cache for core extensions having config
Browse files Browse the repository at this point in the history
Fixes quarkusio#35927

(cherry picked from commit 9cb9bc8)
  • Loading branch information
gsmet committed Oct 11, 2023
1 parent d52be34 commit 19aed36
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 0 deletions.
24 changes: 24 additions & 0 deletions core/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,30 @@
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.gradle</groupId>
<artifactId>gradle-enterprise-maven-extension</artifactId>
<configuration>
<gradleEnterprise>
<!--
For now, do not store the output of the maven-compiler-plugin as we generate the config doc.
Ideally, we would register them as additional output but their organization is too messy for now.
-->
<plugins combine.children="append">
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<outputs>
<storeEnabled>false</storeEnabled>
</outputs>
</plugin>
</plugins>
</gradleEnterprise>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

<profiles>
Expand Down
24 changes: 24 additions & 0 deletions core/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,30 @@
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.gradle</groupId>
<artifactId>gradle-enterprise-maven-extension</artifactId>
<configuration>
<gradleEnterprise>
<!--
For now, do not store the output of the maven-compiler-plugin as we generate the config doc.
Ideally, we would register them as additional output but their organization is too messy for now.
-->
<plugins combine.children="append">
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<outputs>
<storeEnabled>false</storeEnabled>
</outputs>
</plugin>
</plugins>
</gradleEnterprise>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

</project>
26 changes: 26 additions & 0 deletions test-framework/jacoco/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,30 @@
<module>deployment</module>
<module>runtime</module>
</modules>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.gradle</groupId>
<artifactId>gradle-enterprise-maven-extension</artifactId>
<configuration>
<gradleEnterprise>
<!--
For now, do not store the output of the maven-compiler-plugin as we generate the config doc.
Ideally, we would register them as additional output but their organization is too messy for now.
-->
<plugins combine.children="append">
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<outputs>
<storeEnabled>false</storeEnabled>
</outputs>
</plugin>
</plugins>
</gradleEnterprise>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>

0 comments on commit 19aed36

Please sign in to comment.