Blame SOURCES/0001-Avoid-hard-coding-dependency-versions-by-using-featu.patch

402b5e
From 51b88b0a6e59107f393d497cf94db07c0865e577 Mon Sep 17 00:00:00 2001
402b5e
From: Mat Booth <mat.booth@redhat.com>
402b5e
Date: Sun, 16 Jun 2019 12:22:32 +0100
402b5e
Subject: [PATCH 1/2] Avoid hard-coding dependency versions by using feature
402b5e
 imports instead of feature plugins for third party bundles
402b5e
402b5e
---
402b5e
 .../feature.xml                               |  8 +--
402b5e
 .../feature.xml                               | 32 ++---------
402b5e
 .../feature.xml                               | 56 ++-----------------
402b5e
 .../feature.xml                               |  8 +--
402b5e
 .../feature.xml                               |  7 ---
402b5e
 .../org.eclipse.ecf.xmpp.feature/feature.xml  |  8 +--
402b5e
 6 files changed, 11 insertions(+), 108 deletions(-)
402b5e
402b5e
diff --git a/releng/features/org.eclipse.ecf.discovery.dnssd.feature/feature.xml b/releng/features/org.eclipse.ecf.discovery.dnssd.feature/feature.xml
402b5e
index 0c7810a..d4b0e67 100644
402b5e
--- a/releng/features/org.eclipse.ecf.discovery.dnssd.feature/feature.xml
402b5e
+++ b/releng/features/org.eclipse.ecf.discovery.dnssd.feature/feature.xml
402b5e
@@ -27,6 +27,7 @@
402b5e
 
402b5e
    <requires>
402b5e
       <import feature="org.eclipse.ecf.discovery.feature" version="1.0.0" match="compatible"/>
402b5e
+      <import plugin="org.xbill.dns"/>
402b5e
    </requires>
402b5e
 
402b5e
    
402b5e
@@ -36,11 +37,4 @@
402b5e
          version="0.0.0"
402b5e
          unpack="false"/>
402b5e
 
402b5e
-   
402b5e
-         id="org.xbill.dns"
402b5e
-         download-size="0"
402b5e
-         install-size="0"
402b5e
-         version="0.0.0"
402b5e
-         unpack="false"/>
402b5e
-
402b5e
 </feature>
402b5e
diff --git a/releng/features/org.eclipse.ecf.filetransfer.httpclient4.feature/feature.xml b/releng/features/org.eclipse.ecf.filetransfer.httpclient4.feature/feature.xml
402b5e
index 3405a28..14061df 100644
402b5e
--- a/releng/features/org.eclipse.ecf.filetransfer.httpclient4.feature/feature.xml
402b5e
+++ b/releng/features/org.eclipse.ecf.filetransfer.httpclient4.feature/feature.xml
402b5e
@@ -27,6 +27,10 @@ Contributors: Composent, Inc. - initial API and implementation
402b5e
 
402b5e
    <requires>
402b5e
       <import feature="org.eclipse.ecf.filetransfer.feature" version="3.9.0" match="compatible"/>
402b5e
+      <import plugin="org.apache.commons.codec" />
402b5e
+      <import plugin="org.apache.commons.logging" />
402b5e
+      <import plugin="org.apache.httpcomponents.httpclient" />
402b5e
+      <import plugin="org.apache.httpcomponents.httpcore" />
402b5e
    </requires>
402b5e
 
402b5e
    
402b5e
@@ -36,32 +40,4 @@ Contributors: Composent, Inc. - initial API and implementation
402b5e
          version="0.0.0"
402b5e
          unpack="false"/>
402b5e
 
402b5e
-   
402b5e
-         id="org.apache.commons.codec"
402b5e
-         download-size="0"
402b5e
-         install-size="0"
402b5e
-         version="0.0.0"
402b5e
-         unpack="false"/>
402b5e
-
402b5e
-   
402b5e
-         id="org.apache.commons.logging"
402b5e
-         download-size="0"
402b5e
-         install-size="0"
402b5e
-         version="0.0.0"
402b5e
-         unpack="false"/>
402b5e
-
402b5e
-   
402b5e
-         id="org.apache.httpcomponents.httpclient"
402b5e
-         download-size="0"
402b5e
-         install-size="0"
402b5e
-         version="0.0.0"
402b5e
-         unpack="false"/>
402b5e
-
402b5e
-   
402b5e
-         id="org.apache.httpcomponents.httpcore"
402b5e
-         download-size="0"
402b5e
-         install-size="0"
402b5e
-         version="0.0.0"
402b5e
-         unpack="false"/>
402b5e
-
402b5e
 </feature>
402b5e
diff --git a/releng/features/org.eclipse.ecf.filetransfer.httpclient45.feature/feature.xml b/releng/features/org.eclipse.ecf.filetransfer.httpclient45.feature/feature.xml
402b5e
index 635864e..8d2a450 100644
402b5e
--- a/releng/features/org.eclipse.ecf.filetransfer.httpclient45.feature/feature.xml
402b5e
+++ b/releng/features/org.eclipse.ecf.filetransfer.httpclient45.feature/feature.xml
402b5e
@@ -21,6 +21,10 @@
402b5e
 
402b5e
    <requires>
402b5e
       <import feature="org.eclipse.ecf.filetransfer.feature" version="3.9.0" match="compatible"/>
402b5e
+      <import plugin="org.apache.commons.codec" />
402b5e
+      <import plugin="org.apache.commons.logging" />
402b5e
+      <import plugin="org.apache.httpcomponents.httpclient" />
402b5e
+      <import plugin="org.apache.httpcomponents.httpcore" />
402b5e
    </requires>
402b5e
 
402b5e
    
402b5e
@@ -38,56 +42,4 @@
402b5e
          version="0.0.0"
402b5e
          unpack="false"/>
402b5e
 
402b5e
-   
402b5e
-         id="org.apache.commons.codec"
402b5e
-         download-size="0"
402b5e
-         install-size="0"
402b5e
-         version="0.0.0"
402b5e
-         unpack="false"/>
402b5e
-
402b5e
-   
402b5e
-         id="org.apache.commons.logging"
402b5e
-         download-size="0"
402b5e
-         install-size="0"
402b5e
-         version="0.0.0"
402b5e
-         unpack="false"/>
402b5e
-
402b5e
-   
402b5e
-         id="com.sun.jna"
402b5e
-         os="win32"
402b5e
-         download-size="0"
402b5e
-         install-size="0"
402b5e
-         version="0.0.0"
402b5e
-         unpack="false"/>
402b5e
-
402b5e
-   
402b5e
-         id="com.sun.jna.platform"
402b5e
-         os="win32"
402b5e
-         download-size="0"
402b5e
-         install-size="0"
402b5e
-         version="0.0.0"
402b5e
-         unpack="false"/>
402b5e
-
402b5e
-   
402b5e
-         id="org.apache.httpcomponents.httpclient"
402b5e
-         download-size="0"
402b5e
-         install-size="0"
402b5e
-         version="0.0.0"
402b5e
-         unpack="false"/>
402b5e
-
402b5e
-   
402b5e
-         id="org.apache.httpcomponents.httpclient.win"
402b5e
-         os="win32"
402b5e
-         download-size="0"
402b5e
-         install-size="0"
402b5e
-         version="0.0.0"
402b5e
-         unpack="false"/>
402b5e
-
402b5e
-   
402b5e
-         id="org.apache.httpcomponents.httpcore"
402b5e
-         download-size="0"
402b5e
-         install-size="0"
402b5e
-         version="0.0.0"
402b5e
-         unpack="false"/>
402b5e
-
402b5e
 </feature>
402b5e
diff --git a/releng/features/org.eclipse.ecf.remoteservice.rosgi.feature/feature.xml b/releng/features/org.eclipse.ecf.remoteservice.rosgi.feature/feature.xml
402b5e
index af23e93..284c52f 100644
402b5e
--- a/releng/features/org.eclipse.ecf.remoteservice.rosgi.feature/feature.xml
402b5e
+++ b/releng/features/org.eclipse.ecf.remoteservice.rosgi.feature/feature.xml
402b5e
@@ -32,6 +32,7 @@ https://wiki.eclipse.org/ECF#OSGi_Remote_Services
402b5e
    <requires>
402b5e
       <import feature="org.eclipse.ecf.provider.generic.feature" version="1.0" match="compatible"/>
402b5e
       <import feature="org.eclipse.ecf.remoteservice.feature" version="2.1" match="compatible"/>
402b5e
+      <import plugin="org.objectweb.asm" />
402b5e
    </requires>
402b5e
 
402b5e
    
402b5e
@@ -48,11 +49,4 @@ https://wiki.eclipse.org/ECF#OSGi_Remote_Services
402b5e
          version="0.0.0"
402b5e
          unpack="false"/>
402b5e
 
402b5e
-   
402b5e
-         id="org.objectweb.asm"
402b5e
-         download-size="0"
402b5e
-         install-size="0"
402b5e
-         version="0.0.0"
402b5e
-         unpack="false"/>
402b5e
-
402b5e
 </feature>
402b5e
diff --git a/releng/features/org.eclipse.ecf.remoteservice.servlet.feature/feature.xml b/releng/features/org.eclipse.ecf.remoteservice.servlet.feature/feature.xml
402b5e
index dee188b..0d0d7ad 100644
402b5e
--- a/releng/features/org.eclipse.ecf.remoteservice.servlet.feature/feature.xml
402b5e
+++ b/releng/features/org.eclipse.ecf.remoteservice.servlet.feature/feature.xml
402b5e
@@ -50,11 +50,4 @@ https://wiki.eclipse.org/ECF#OSGi_Remote_Services
402b5e
          version="0.0.0"
402b5e
          unpack="false"/>
402b5e
 
402b5e
-   
402b5e
-         id="javax.servlet"
402b5e
-         download-size="0"
402b5e
-         install-size="0"
402b5e
-         version="0.0.0"
402b5e
-         unpack="false"/>
402b5e
-
402b5e
 </feature>
402b5e
diff --git a/releng/features/org.eclipse.ecf.xmpp.feature/feature.xml b/releng/features/org.eclipse.ecf.xmpp.feature/feature.xml
402b5e
index a7aa0da..4e3cc0c 100644
402b5e
--- a/releng/features/org.eclipse.ecf.xmpp.feature/feature.xml
402b5e
+++ b/releng/features/org.eclipse.ecf.xmpp.feature/feature.xml
402b5e
@@ -30,6 +30,7 @@ Contributors: Composent, Inc. - initial API and implementation
402b5e
       <import feature="org.eclipse.ecf.presence.feature" version="1.0" match="compatible"/>
402b5e
       <import feature="org.eclipse.ecf.datashare.feature" version="1.0" match="compatible"/>
402b5e
       <import feature="org.eclipse.ecf.remoteservice.feature" version="2.1" match="compatible"/>
402b5e
+      <import plugin="org.xbill.dns"/>
402b5e
    </requires>
402b5e
 
402b5e
    
402b5e
@@ -62,11 +63,4 @@ Contributors: Composent, Inc. - initial API and implementation
402b5e
          fragment="true"
402b5e
          unpack="false"/>
402b5e
 
402b5e
-   
402b5e
-         id="org.xbill.dns"
402b5e
-         download-size="0"
402b5e
-         install-size="0"
402b5e
-         version="0.0.0"
402b5e
-         unpack="false"/>
402b5e
-
402b5e
 </feature>
402b5e
-- 
402b5e
2.20.1
402b5e