2017-03-29 09:55:12 +00:00
|
|
|
From 15dd54ee8552138a46719db7560a7e71871c5ee3 Mon Sep 17 00:00:00 2001
|
2016-05-12 07:26:58 +00:00
|
|
|
From: Mikolaj Izdebski <mizdebsk@redhat.com>
|
|
|
|
Date: Thu, 12 May 2016 09:24:36 +0200
|
2016-10-13 09:50:54 +00:00
|
|
|
Subject: [PATCH 3/4] Port to plexus-utils 3.0.24
|
2016-05-12 07:26:58 +00:00
|
|
|
|
|
|
|
---
|
2016-10-13 09:50:54 +00:00
|
|
|
pom.xml | 2 +-
|
2016-05-12 07:26:58 +00:00
|
|
|
src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java | 9 ++++++++-
|
2016-10-13 09:50:54 +00:00
|
|
|
2 files changed, 9 insertions(+), 2 deletions(-)
|
2016-05-12 07:26:58 +00:00
|
|
|
|
2016-10-13 09:50:54 +00:00
|
|
|
diff --git a/pom.xml b/pom.xml
|
2017-03-29 09:55:12 +00:00
|
|
|
index 8231d7c..ca63d8d 100644
|
2016-10-13 09:50:54 +00:00
|
|
|
--- a/pom.xml
|
|
|
|
+++ b/pom.xml
|
|
|
|
@@ -192,7 +192,7 @@
|
2017-03-29 09:55:12 +00:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.codehaus.plexus</groupId>
|
|
|
|
<artifactId>plexus-utils</artifactId>
|
|
|
|
- <version>3.0.10</version>
|
2016-10-13 09:50:54 +00:00
|
|
|
+ <version>3.0.24</version>
|
2017-03-29 09:55:12 +00:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.sonatype.plexus</groupId>
|
2016-05-12 07:26:58 +00:00
|
|
|
diff --git a/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java b/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
|
2017-03-29 09:55:12 +00:00
|
|
|
index 15abd0e..9ebd1a4 100644
|
2016-05-12 07:26:58 +00:00
|
|
|
--- a/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
|
|
|
|
+++ b/src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java
|
2016-07-19 13:05:29 +00:00
|
|
|
@@ -1803,7 +1803,14 @@ public class BundlePlugin extends AbstractMojo
|
2017-03-29 09:55:12 +00:00
|
|
|
File filterFile = new File( i.next() );
|
|
|
|
if ( filterFile.isFile() )
|
|
|
|
{
|
|
|
|
- properties.putAll( PropertyUtils.loadProperties( filterFile ) );
|
2016-05-12 07:26:58 +00:00
|
|
|
+ try
|
|
|
|
+ {
|
|
|
|
+ properties.putAll( PropertyUtils.loadProperties( filterFile ) );
|
|
|
|
+ }
|
|
|
|
+ catch ( IOException exc )
|
|
|
|
+ {
|
|
|
|
+ // Ignore
|
|
|
|
+ }
|
2017-03-29 09:55:12 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-12 07:26:58 +00:00
|
|
|
--
|
2017-03-29 09:55:12 +00:00
|
|
|
2.9.3
|
2016-05-12 07:26:58 +00:00
|
|
|
|