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 final MANIFEST with the MavenArchiveConfiguration configured in the pom.xml
Date Fri, 03 Mar 2017 07:36:57 GMT
Repository: karaf
Updated Branches:
  refs/heads/karaf-2.x 70332bba3 -> 4565879d9


Populate final MANIFEST with the MavenArchiveConfiguration configured in the pom.xml


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

Branch: refs/heads/karaf-2.x
Commit: 4565879d999fa6267b2ce3d23877b3fa637a5c72
Parents: 70332bb
Author: Chris <mail@christian-niehoff.com>
Authored: Thu Sep 29 15:15:58 2016 +0200
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Thu Mar 2 21:59:59 2017 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/karaf/tooling/features/CreateKarMojo.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/4565879d/tooling/features-maven-plugin/src/main/java/org/apache/karaf/tooling/features/CreateKarMojo.java
----------------------------------------------------------------------
diff --git a/tooling/features-maven-plugin/src/main/java/org/apache/karaf/tooling/features/CreateKarMojo.java
b/tooling/features-maven-plugin/src/main/java/org/apache/karaf/tooling/features/CreateKarMojo.java
index 3041d6a..acfea11 100644
--- a/tooling/features-maven-plugin/src/main/java/org/apache/karaf/tooling/features/CreateKarMojo.java
+++ b/tooling/features-maven-plugin/src/main/java/org/apache/karaf/tooling/features/CreateKarMojo.java
@@ -154,6 +154,7 @@ public class CreateKarMojo extends MojoSupport {
 
         MavenArchiver archiver = new MavenArchiver();
         MavenArchiveConfiguration configuration = new MavenArchiveConfiguration();
+        configuration.addManifestEntries(archive.getManifestEntries());
         archiver.setArchiver(jarArchiver);
         archiver.setOutputFile(archiveFile);
 


Mime
View raw message