Skip to content

Commit 9cb9bc8

Browse files
committed
Do not store build cache for core extensions having config
Fixes quarkusio#35927
1 parent 1213006 commit 9cb9bc8

File tree

3 files changed

+74
-0
lines changed

3 files changed

+74
-0
lines changed

core/deployment/pom.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,30 @@
214214
</executions>
215215
</plugin>
216216
</plugins>
217+
<pluginManagement>
218+
<plugins>
219+
<plugin>
220+
<groupId>com.gradle</groupId>
221+
<artifactId>gradle-enterprise-maven-extension</artifactId>
222+
<configuration>
223+
<gradleEnterprise>
224+
<!--
225+
For now, do not store the output of the maven-compiler-plugin as we generate the config doc.
226+
Ideally, we would register them as additional output but their organization is too messy for now.
227+
-->
228+
<plugins combine.children="append">
229+
<plugin>
230+
<artifactId>maven-compiler-plugin</artifactId>
231+
<outputs>
232+
<storeEnabled>false</storeEnabled>
233+
</outputs>
234+
</plugin>
235+
</plugins>
236+
</gradleEnterprise>
237+
</configuration>
238+
</plugin>
239+
</plugins>
240+
</pluginManagement>
217241
</build>
218242

219243
<profiles>

core/runtime/pom.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,30 @@
271271
</executions>
272272
</plugin>
273273
</plugins>
274+
<pluginManagement>
275+
<plugins>
276+
<plugin>
277+
<groupId>com.gradle</groupId>
278+
<artifactId>gradle-enterprise-maven-extension</artifactId>
279+
<configuration>
280+
<gradleEnterprise>
281+
<!--
282+
For now, do not store the output of the maven-compiler-plugin as we generate the config doc.
283+
Ideally, we would register them as additional output but their organization is too messy for now.
284+
-->
285+
<plugins combine.children="append">
286+
<plugin>
287+
<artifactId>maven-compiler-plugin</artifactId>
288+
<outputs>
289+
<storeEnabled>false</storeEnabled>
290+
</outputs>
291+
</plugin>
292+
</plugins>
293+
</gradleEnterprise>
294+
</configuration>
295+
</plugin>
296+
</plugins>
297+
</pluginManagement>
274298
</build>
275299

276300
</project>

test-framework/jacoco/pom.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,30 @@
1717
<module>deployment</module>
1818
<module>runtime</module>
1919
</modules>
20+
<build>
21+
<pluginManagement>
22+
<plugins>
23+
<plugin>
24+
<groupId>com.gradle</groupId>
25+
<artifactId>gradle-enterprise-maven-extension</artifactId>
26+
<configuration>
27+
<gradleEnterprise>
28+
<!--
29+
For now, do not store the output of the maven-compiler-plugin as we generate the config doc.
30+
Ideally, we would register them as additional output but their organization is too messy for now.
31+
-->
32+
<plugins combine.children="append">
33+
<plugin>
34+
<artifactId>maven-compiler-plugin</artifactId>
35+
<outputs>
36+
<storeEnabled>false</storeEnabled>
37+
</outputs>
38+
</plugin>
39+
</plugins>
40+
</gradleEnterprise>
41+
</configuration>
42+
</plugin>
43+
</plugins>
44+
</pluginManagement>
45+
</build>
2046
</project>

0 commit comments

Comments
 (0)