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.
Date Fri, 03 Mar 2017 09:59:29 GMT
Repository: karaf
Updated Branches:
  refs/heads/karaf-4.0.x b8f1b777a -> 2c74d83b9


Populate kar MANIFEST with MOJO configuration.


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

Branch: refs/heads/karaf-4.0.x
Commit: 2c74d83b9588972c7eda050523b023ba8e2fedc1
Parents: b8f1b77
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:35:07 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/2c74d83b/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