File 0001-Port-to-current-plexus-utils.patch of Package os-maven-plugin

From aa0c713f3b8363f4c7781ed5aec52ad0bf607508 Mon Sep 17 00:00:00 2001
From: Michael Simacek <msimacek@redhat.com>
Date: Mon, 30 Mar 2015 15:40:16 +0200
Subject: [PATCH 1/2] Port to current plexus-utils

---
 src/main/java/kr/motd/maven/os/DetectExtension.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/kr/motd/maven/os/DetectExtension.java b/src/main/java/kr/motd/maven/os/DetectExtension.java
index 88c5e61..9ebe6dd 100644
--- a/src/main/java/kr/motd/maven/os/DetectExtension.java
+++ b/src/main/java/kr/motd/maven/os/DetectExtension.java
@@ -180,7 +180,7 @@ public class DetectExtension extends AbstractMavenLifecycleParticipant {
                 break;
             }
 
-            InterpolationFilterReader reader = new InterpolationFilterReader(new StringReader(value), dict);
+            InterpolationFilterReader reader = new InterpolationFilterReader(new StringReader(value), (Map)dict);
             StringWriter writer = new StringWriter(value.length());
             for (;;) {
                 int ch = 0;
-- 
2.1.0
openSUSE Build Service is sponsored by