From 7d270867e5c02d4523d1de321c6e69e8da8c49a2 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 12 May 2016 09:24:36 +0200 Subject: [PATCH 3/4] Port to plexus-utils 3.0.24 --- pom.xml | 2 +- src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 05e798f..aed3155 100644 --- a/pom.xml +++ b/pom.xml @@ -194,7 +194,7 @@ org.codehaus.plexus plexus-utils - 3.0.10 + 3.0.24 org.sonatype.plexus diff --git a/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java b/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java index 2b8ae02..6bab369 100644 --- a/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java +++ b/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java @@ -1806,7 +1806,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.14.3