Skip to content

Commit 571b178

Browse files
HannesWellakurtakov
authored andcommitted
[Build] Unify and clean-up list of declared CBI plugin-repositories
From the three declared Eclipse CBI plugin repositories only the maven-plugins with groupId 'org.eclipse.cbi.maven.plugins' are obtained. And at least with respect to these mavne-plugins, the repository at https://repo.eclipse.org/content/repositories/cbi is the combination of the co-located 'cbi-releases' and 'cbi-snapshot' repository. Additionally remove superfluous enabled=true tags.
1 parent 860a357 commit 571b178

File tree

2 files changed

+5
-45
lines changed

2 files changed

+5
-45
lines changed

eclipse-platform-parent/pom.xml

Lines changed: 5 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
<buildTimestamp>${maven.build.timestamp}</buildTimestamp>
4343
<buildType>I</buildType>
4444
<buildId>${buildType}${buildTimestamp}</buildId>
45+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
46+
4547
<!--
4648
releaseName should match the yearly "release train" name.
4749
For example, "Mars", "Mars.1", "Luna SR2", etc.
@@ -85,19 +87,14 @@
8587
<!-- only used when Tycho snapshot repo is enabled in <pluginRepositories> further down -->
8688
<tycho-snapshot-repo.url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</tycho-snapshot-repo.url>
8789

88-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
8990
<cbi-jdt-repo.url>https://repo.eclipse.org/content/repositories/eclipse-staging/</cbi-jdt-repo.url>
9091
<cbi-ecj-version>3.40.0.v20241112-0530</cbi-ecj-version>
9192

9293
<!--
9394
repo for released versions of CBI. Note, we intentionally use as specific a repo as possible.
9495
See bug 471835.
9596
-->
96-
<eclipse-repo.url>https://repo.eclipse.org/content/repositories/cbi/</eclipse-repo.url>
97-
<cbi-snapshots-repo.url>https://repo.eclipse.org/content/repositories/cbi-snapshots/</cbi-snapshots-repo.url>
98-
99-
<cbi-releases-repo.url>https://repo.eclipse.org/content/repositories/cbi-releases/</cbi-releases-repo.url>
100-
97+
<eclipse-cbi-repo.url>https://repo.eclipse.org/content/repositories/cbi/</eclipse-cbi-repo.url>
10198

10299
<!--
103100
This eclipse-p2-repo.url is specifically for the build-individual-bundles profile.
@@ -181,50 +178,15 @@
181178
<pluginRepository>
182179
<id>tycho-snapshots</id>
183180
<url>${tycho-snapshot-repo.url}</url>
184-
<releases>
185-
<enabled>true</enabled>
186-
</releases>
187-
<snapshots>
188-
<enabled>true</enabled>
189-
</snapshots>
190181
</pluginRepository>
191182

192183
<pluginRepository>
193184
<id>cbi-jdt</id>
194185
<url>${cbi-jdt-repo.url}</url>
195-
<releases>
196-
<enabled>true</enabled>
197-
</releases>
198-
<snapshots>
199-
<enabled>true</enabled>
200-
</snapshots>
201-
</pluginRepository>
202-
<pluginRepository>
203-
<id>cbi-snapshots</id>
204-
<url>${cbi-snapshots-repo.url}</url>
205-
<snapshots>
206-
<enabled>true</enabled>
207-
</snapshots>
208-
</pluginRepository>
209-
<pluginRepository>
210-
<id>cbi-releases</id>
211-
<url>${cbi-releases-repo.url}</url>
212-
<releases>
213-
<enabled>true</enabled>
214-
</releases>
215-
<snapshots>
216-
<enabled>true</enabled>
217-
</snapshots>
218186
</pluginRepository>
219187
<pluginRepository>
220-
<id>eclipse</id>
221-
<url>${eclipse-repo.url}</url>
222-
<releases>
223-
<enabled>true</enabled>
224-
</releases>
225-
<snapshots>
226-
<enabled>true</enabled>
227-
</snapshots>
188+
<id>eclipse-cbi</id>
189+
<url>${eclipse-cbi-repo.url}</url>
228190
</pluginRepository>
229191
</pluginRepositories>
230192
<build>

eclipse-platform-parent/saveproperties/mavenproperties.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,4 @@ comparator.repo=${comparator.repo}
2626

2727
eclipse-p2-repo.url=${eclipse-p2-repo.url}
2828

29-
eclipse-repo.url=${eclipse-repo.url}
30-
3129
sun.java.command=${sun.java.command}

0 commit comments

Comments
 (0)