Blame SOURCES/0001-Fix-build-with-current-jar-plugin.patch

c191c4
From 0c505777f861779eb499c3ad06dbef2ef8f6118a Mon Sep 17 00:00:00 2001
c191c4
From: Michael Simacek <msimacek@redhat.com>
c191c4
Date: Thu, 2 Jun 2016 13:17:13 +0200
c191c4
Subject: [PATCH] Fix build with current jar-plugin
c191c4
c191c4
---
c191c4
 main/pom.xml | 8 ++++++++
c191c4
 pom.xml      | 1 -
c191c4
 2 files changed, 8 insertions(+), 1 deletion(-)
c191c4
c191c4
diff --git a/main/pom.xml b/main/pom.xml
c191c4
index a23ce9e..70c9a0d 100644
c191c4
--- a/main/pom.xml
c191c4
+++ b/main/pom.xml
c191c4
@@ -17,6 +17,14 @@
c191c4
   <build>
c191c4
     <plugins>
c191c4
       <plugin>
c191c4
+        <artifactId>maven-jar-plugin</artifactId>
c191c4
+        <configuration>
c191c4
+          <archive>
c191c4
+            <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
c191c4
+          </archive>
c191c4
+        </configuration>
c191c4
+      </plugin>
c191c4
+      <plugin>
c191c4
         <groupId>com.keyboardsamurais.maven</groupId>
c191c4
         <artifactId>maven-timestamp-plugin</artifactId>
c191c4
       </plugin>
c191c4
diff --git a/pom.xml b/pom.xml
c191c4
index 4982e47..1b257bc 100644
c191c4
--- a/pom.xml
c191c4
+++ b/pom.xml
c191c4
@@ -102,7 +102,6 @@
c191c4
       <plugin>
c191c4
         <artifactId>maven-jar-plugin</artifactId>
c191c4
         <configuration>
c191c4
-          <useDefaultManifestFile>true</useDefaultManifestFile>
c191c4
           <archive>
c191c4
             <index>true</index>
c191c4
             <addMavenDescriptor>false</addMavenDescriptor>
c191c4
-- 
c191c4
2.5.5
c191c4