Skip to content

Commit 8b55f2f

Browse files
committed
Fix some other go-offline issues
Also enable go-offline in pull request CI jobs.
1 parent 4544e85 commit 8b55f2f

File tree

8 files changed

+129
-3
lines changed

8 files changed

+129
-3
lines changed

.github/workflows/ci-actions-incremental.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,9 @@ jobs:
249249
restore-keys: |
250250
${{ needs.configure.outputs.m2-monthly-branch-cache-key }}-
251251
${{ needs.configure.outputs.m2-monthly-cache-key }}-
252-
- name: Populate the cache
253-
if: github.event_name == 'push' && github.repository == 'quarkusio/quarkus' && github.actor != 'dependabot[bot]'
252+
- name: Populate the .m2 repository (for cache and for shipping to follow-up builds)
254253
run: |
255-
./mvnw -T2C $COMMON_MAVEN_ARGS dependency:go-offline
254+
./mvnw -T2C $COMMON_MAVEN_ARGS dependency:go-offline -Dgo-offline
256255
- name: Cache Develocity local cache
257256
uses: actions/cache@v4
258257
if: github.event_name == 'pull_request'

.mvn/rrf/groupId-confluent.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
io.confluent
2+
org.apache.kafka

core/deployment/pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,4 +285,23 @@
285285
</build>
286286
</profile>
287287
</profiles>
288+
289+
<repositories>
290+
<repository>
291+
<id>central</id>
292+
<name>Maven Central</name>
293+
<url>https://repo.maven.apache.org/maven2</url>
294+
<snapshots>
295+
<enabled>false</enabled>
296+
</snapshots>
297+
</repository>
298+
<repository>
299+
<id>gradle</id>
300+
<name>Gradle releases repository</name>
301+
<url>https://repo.gradle.org/artifactory/libs-releases</url>
302+
<snapshots>
303+
<enabled>false</enabled>
304+
</snapshots>
305+
</repository>
306+
</repositories>
288307
</project>

core/launcher/pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,22 @@
100100
</plugins>
101101
</build>
102102

103+
<repositories>
104+
<repository>
105+
<id>central</id>
106+
<name>Maven Central</name>
107+
<url>https://repo.maven.apache.org/maven2</url>
108+
<snapshots>
109+
<enabled>false</enabled>
110+
</snapshots>
111+
</repository>
112+
<repository>
113+
<id>gradle</id>
114+
<name>Gradle releases repository</name>
115+
<url>https://repo.gradle.org/artifactory/libs-releases</url>
116+
<snapshots>
117+
<enabled>false</enabled>
118+
</snapshots>
119+
</repository>
120+
</repositories>
103121
</project>

devtools/bom-descriptor-json/pom.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,32 @@
9393
or further upstream might have been changed, requiring all IT modules to be built! -->
9494

9595
<profiles>
96+
<profile>
97+
<!-- Unfortunately, the go-offline plugin doesn't respect exclusions, see https://github.com/apache/maven-dependency-plugin/issues/1350 -->
98+
<id>go-offline</id>
99+
<activation>
100+
<property>
101+
<name>go-offline</name>
102+
</property>
103+
</activation>
104+
<repositories>
105+
<repository>
106+
<id>central</id>
107+
<name>Maven Central</name>
108+
<url>https://repo.maven.apache.org/maven2</url>
109+
<snapshots>
110+
<enabled>false</enabled>
111+
</snapshots>
112+
</repository>
113+
<repository>
114+
<id>confluent</id>
115+
<url>https://packages.confluent.io/maven/</url>
116+
<snapshots>
117+
<enabled>false</enabled>
118+
</snapshots>
119+
</repository>
120+
</repositories>
121+
</profile>
96122
<profile>
97123
<id>bom-descriptor-json-hollow</id>
98124
<activation>

devtools/gradle/pom.xml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,4 +216,23 @@
216216
</properties>
217217
</profile>
218218
</profiles>
219+
220+
<repositories>
221+
<repository>
222+
<id>central</id>
223+
<name>Maven Central</name>
224+
<url>https://repo.maven.apache.org/maven2</url>
225+
<snapshots>
226+
<enabled>false</enabled>
227+
</snapshots>
228+
</repository>
229+
<repository>
230+
<id>gradle</id>
231+
<name>Gradle releases repository</name>
232+
<url>https://repo.gradle.org/artifactory/libs-releases</url>
233+
<snapshots>
234+
<enabled>false</enabled>
235+
</snapshots>
236+
</repository>
237+
</repositories>
219238
</project>

docs/pom.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3744,5 +3744,31 @@
37443744
</plugins>
37453745
</build>
37463746
</profile>
3747+
<profile>
3748+
<!-- Unfortunately, the go-offline plugin doesn't respect exclusions, see https://github.com/apache/maven-dependency-plugin/issues/1350 -->
3749+
<id>go-offline</id>
3750+
<activation>
3751+
<property>
3752+
<name>go-offline</name>
3753+
</property>
3754+
</activation>
3755+
<repositories>
3756+
<repository>
3757+
<id>central</id>
3758+
<name>Maven Central</name>
3759+
<url>https://repo.maven.apache.org/maven2</url>
3760+
<snapshots>
3761+
<enabled>false</enabled>
3762+
</snapshots>
3763+
</repository>
3764+
<repository>
3765+
<id>confluent</id>
3766+
<url>https://packages.confluent.io/maven/</url>
3767+
<snapshots>
3768+
<enabled>false</enabled>
3769+
</snapshots>
3770+
</repository>
3771+
</repositories>
3772+
</profile>
37473773
</profiles>
37483774
</project>

test-framework/common/pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,22 @@
5656
</dependency>
5757
</dependencies>
5858

59+
<repositories>
60+
<repository>
61+
<id>central</id>
62+
<name>Maven Central</name>
63+
<url>https://repo.maven.apache.org/maven2</url>
64+
<snapshots>
65+
<enabled>false</enabled>
66+
</snapshots>
67+
</repository>
68+
<repository>
69+
<id>gradle</id>
70+
<name>Gradle releases repository</name>
71+
<url>https://repo.gradle.org/artifactory/libs-releases</url>
72+
<snapshots>
73+
<enabled>false</enabled>
74+
</snapshots>
75+
</repository>
76+
</repositories>
5977
</project>

0 commit comments

Comments
 (0)