sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject [sling-parent] branch master updated: SLING-7392 Pick up manifest generated by bnd Maven Plugin
Date Tue, 16 Jan 2018 21:54:44 GMT
This is an automated email from the ASF dual-hosted git repository.

olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new dc9608d  SLING-7392 Pick up manifest generated by bnd Maven Plugin
dc9608d is described below

commit dc9608dc0881f3d20bd136a496b4e750066ba520
Author: Oliver Lietz <olli@apache.org>
AuthorDate: Tue Jan 16 22:54:27 2018 +0100

    SLING-7392 Pick up manifest generated by bnd Maven Plugin
---
 pom.xml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/pom.xml b/pom.xml
index 5722bad..de198fd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -504,6 +504,28 @@
 
     <profiles>
         <profile>
+            <!-- pick up manifest generated by bnd-maven-plugin -->
+            <id>bundle</id>
+            <activation>
+                <file>
+                    <exists>target/classes/META-INF/MANIFEST.MF</exists>
+                </file>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-jar-plugin</artifactId>
+                        <configuration>
+                            <archive>
+                                <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
+                            </archive>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        <profile>
             <!--
                 Use this profile to install the OSGi bundle
                 automatically, during development

-- 
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <commits@sling.apache.org>'].

Mime
View raw message