Blob Blame History Raw
From 1103a4e6745131039d701f3dd760352066c159f9 Mon Sep 17 00:00:00 2001
From: Mikolaj Izdebski <mizdebsk@redhat.com>
Date: Sun, 7 Jun 2020 20:42:06 +0200
Subject: [PATCH 3/4] Port to plexus-utils 3.0.24

---
 pom.xml                                                  | 2 +-
 .../java/org/apache/felix/bundleplugin/BundlePlugin.java | 9 ++++++++-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 284f909..fd2cad3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -217,7 +217,7 @@
   <dependency>
    <groupId>org.codehaus.plexus</groupId>
    <artifactId>plexus-utils</artifactId>
-   <version>3.0.10</version>
+   <version>3.0.24</version>
   </dependency>
   <dependency>
    <groupId>org.sonatype.plexus</groupId>
diff --git a/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java b/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
index b8cf9e2..5530ca7 100644
--- a/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
+++ b/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
@@ -1781,7 +1781,14 @@ public class BundlePlugin extends AbstractMojo
             File filterFile = new File( i.next() );
             if ( filterFile.isFile() )
             {
-                properties.putAll( PropertyUtils.loadProperties( filterFile ) );
+                try
+                {
+                    properties.putAll( PropertyUtils.loadProperties( filterFile ) );
+                }
+                catch ( IOException exc )
+                {
+                    // Ignore
+                }
             }
         }
 
-- 
2.26.2