karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggrzy...@apache.org
Subject [karaf] branch master updated: [KARAF-6024] Do not use blacklisted, dependent feature repositories
Date Mon, 03 Dec 2018 11:25:58 GMT
This is an automated email from the ASF dual-hosted git repository.

ggrzybek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/master by this push:
     new 55418db  [KARAF-6024] Do not use blacklisted, dependent feature repositories
55418db is described below

commit 55418db730989e0e77273a8ba6234f5e2e861ef4
Author: Grzegorz Grzybek <ggrzybek@redhat.com>
AuthorDate: Mon Dec 3 12:25:46 2018 +0100

    [KARAF-6024] Do not use blacklisted, dependent feature repositories
---
 profile/src/main/java/org/apache/karaf/profile/assembly/Builder.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/profile/src/main/java/org/apache/karaf/profile/assembly/Builder.java b/profile/src/main/java/org/apache/karaf/profile/assembly/Builder.java
index dfd3906..a73a95c 100644
--- a/profile/src/main/java/org/apache/karaf/profile/assembly/Builder.java
+++ b/profile/src/main/java/org/apache/karaf/profile/assembly/Builder.java
@@ -1902,6 +1902,10 @@ public class Builder {
 
                                 loaded.put(provider.getUrl(), featuresModel);
                                 for (String innerRepository : featuresModel.getRepository())
{
+                                    if (processor.isRepositoryBlacklisted(innerRepository))
{
+                                        LOGGER.info("   referenced feature repository " +
innerRepository + " is blacklisted");
+                                        continue;
+                                    }
                                     downloader.download(innerRepository, this);
                                 }
                             }


Mime
View raw message