You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2018/01/16 21:54:44 UTC
[sling-parent] branch master updated: SLING-7392 Pick up manifest
generated by bnd Maven Plugin
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 <ol...@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" <co...@sling.apache.org>'].