2016-10-13 09:50:54 +00:00
|
|
|
From 8e244ca6810e4e4d93e21e63c9d83e815c2e403d Mon Sep 17 00:00:00 2001
|
2016-05-27 10:43:25 +00:00
|
|
|
From: Mat Booth <mat.booth@redhat.com>
|
|
|
|
Date: Thu, 14 Apr 2016 17:00:23 +0100
|
2016-10-13 09:50:54 +00:00
|
|
|
Subject: [PATCH 2/4] Fix for new maven archiver
|
2016-05-27 10:43:25 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
src/main/java/org/apache/felix/bundleplugin/BundlePlugin.java | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git 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
|
|
|
index 4b56967..dcf3978 100644
|
2016-05-27 10:43:25 +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
|
|
|
@@ -1101,7 +1101,7 @@ public class BundlePlugin extends AbstractMojo
|
2016-05-27 10:43:25 +00:00
|
|
|
* Grab customized manifest entries from the maven-jar-plugin configuration
|
|
|
|
*/
|
|
|
|
MavenArchiveConfiguration archiveConfig = JarPluginConfiguration.getArchiveConfiguration( currentProject );
|
|
|
|
- String mavenManifestText = new MavenArchiver().getManifest( currentProject, archiveConfig ).toString();
|
|
|
|
+ String mavenManifestText = new MavenArchiver().getManifest( m_mavenSession, currentProject, archiveConfig ).toString();
|
|
|
|
addMavenDescriptor = addMavenDescriptor && archiveConfig.isAddMavenDescriptor();
|
|
|
|
|
|
|
|
Manifest mavenManifest = new Manifest();
|
|
|
|
--
|
2016-07-19 13:05:29 +00:00
|
|
|
2.7.4
|
2016-05-27 10:43:25 +00:00
|
|
|
|