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

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