Fridrich Strba 2022-05-11 11:41:37 +00:00 committed by Git OBS Bridge
parent 3256d2ffce
commit 0f4e1721ba
3 changed files with 15 additions and 0 deletions

8
fakepom.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion>
<artifactId>rt.equinox.framework</artifactId>
<groupId>org.eclipse.equinox.framework</groupId>
<version>4.14.0-SNAPSHOT</version>
<packaging>pom</packaging>
</project>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 11 11:40:55 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Fix bootstrapping with new version of maven-install-plugin
-------------------------------------------------------------------
Mon Apr 11 19:51:41 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -135,6 +135,7 @@ Name: tycho
# or when the Eclipse that is present is not compatible
%if %{with bootstrap}
Source10: eclipse-bootstrap-2019-12.tar.xz
Source11: fakepom.xml
%endif
%if %{with junit5}
BuildRequires: mvn(org.apache.maven.surefire:surefire-junit-platform)
@ -273,6 +274,7 @@ tar -xf %{SOURCE10}
# Install OSGi bundles into local repo to override any incompatible system version
# that may be already installed
pushd bootstrap
xmvn -o install:install-file -Dfile=%{SOURCE11} -DpomFile=%{SOURCE11}
for f in usr/lib/eclipse/plugins/org.eclipse.osgi.compatibility.state_*.jar \
usr/lib/eclipse/plugins/org.eclipse.osgi.services_*.jar \
usr/lib/eclipse/plugins/org.eclipse.osgi.util_*.jar \