Skip to content

Commit

Permalink
referencedRepositoryMode ignore
Browse files Browse the repository at this point in the history
In some POMs of IT projects to avoid errors of the shape

[ERROR] Failed to load p2 repository from location
http://download.eclipse.org/dsdp/dd/updates: No repository found at
http://download.eclipse.org/dsdp/dd/updates

From what I understand: they use old Eclipse update sites, which might
contain references to repositories that do not exist anymore
  • Loading branch information
LorenzoBettini authored and laeubi committed Dec 14, 2023
1 parent 33a36ef commit 00c55f8
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tycho-its/projects/compiler.exclude/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<!-- The default is now include, and this would lead to
failures of the shape
Failed to load p2 repository from location http://download.eclipse.org/dsdp/dd/updates:
No repository found at http://download.eclipse.org/dsdp/dd/updates -->
<referencedRepositoryMode>ignore</referencedRepositoryMode>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
13 changes: 13 additions & 0 deletions tycho-its/projects/sourcePlugin/basic/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,19 @@
<forceContextQualifier>123abc</forceContextQualifier>
</configuration>
</plugin>

<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<!-- The default is now include, and this would lead to
failures of the shape
Failed to load p2 repository from location http://download.eclipse.org/dsdp/dd/updates:
No repository found at http://download.eclipse.org/dsdp/dd/updates -->
<referencedRepositoryMode>ignore</referencedRepositoryMode>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
13 changes: 13 additions & 0 deletions tycho-its/projects/sourcePlugin/extra-source-bundles/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,19 @@
<forceContextQualifier>123abc</forceContextQualifier>
</configuration>
</plugin>

<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<!-- The default is now include, and this would lead to
failures of the shape
Failed to load p2 repository from location http://download.eclipse.org/dsdp/dd/updates:
No repository found at http://download.eclipse.org/dsdp/dd/updates -->
<referencedRepositoryMode>ignore</referencedRepositoryMode>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
13 changes: 13 additions & 0 deletions tycho-its/projects/sourcePlugin/remote-source-bundles/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,19 @@
<forceContextQualifier>123abc</forceContextQualifier>
</configuration>
</plugin>

<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<!-- The default is now include, and this would lead to
failures of the shape
Failed to load p2 repository from location http://download.eclipse.org/dsdp/dd/updates:
No repository found at http://download.eclipse.org/dsdp/dd/updates -->
<referencedRepositoryMode>ignore</referencedRepositoryMode>
</configuration>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 00c55f8

Please sign in to comment.