karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject karaf git commit: Populate kar MANIFEST with MOJO configuration. This closes #245
Date Fri, 03 Mar 2017 09:33:36 GMT
Repository: karaf
Updated Branches:
  refs/heads/master d97d4ee19 -> 78566b04d


Populate kar MANIFEST with MOJO configuration. This closes #245


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/78566b04
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/78566b04
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/78566b04

Branch: refs/heads/master
Commit: 78566b04d59aba27b08d4a89cbc792a97cd74611
Parents: d97d4ee
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Fri Mar 3 10:22:31 2017 +0100
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Fri Mar 3 10:22:31 2017 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/karaf/tooling/KarMojo.java            | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/78566b04/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/KarMojo.java
----------------------------------------------------------------------
diff --git a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/KarMojo.java
b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/KarMojo.java
index db383eb..6768378 100644
--- a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/KarMojo.java
+++ b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/KarMojo.java
@@ -231,6 +231,8 @@ public class KarMojo extends MojoSupport {
         File archiveFile = getArchiveFile(outputDirectory, finalName, classifier);
 
         MavenArchiver archiver = new MavenArchiver();
+        MavenArchiveConfiguration configuration = new MavenArchiveConfiguration();
+        configuration.addManifestEntries(archive.getManifestEntries());
         archiver.setArchiver(jarArchiver);
         archiver.setOutputFile(archiveFile);
 


Mime
View raw message