You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by si...@apache.org on 2019/06/21 13:28:43 UTC
[sling-org-apache-sling-feature-apiregions-model] branch master
updated: org.apache.sling.feature.apiregions.model made a valid OSGi bundle
This is an automated email from the ASF dual-hosted git repository.
simonetripodi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-apiregions-model.git
The following commit(s) were added to refs/heads/master by this push:
new c21437e org.apache.sling.feature.apiregions.model made a valid OSGi bundle
c21437e is described below
commit c21437e4d70c2bbf8505a313da8af6f979e66255
Author: Simo Tripodi <st...@adobe.com>
AuthorDate: Fri Jun 21 15:26:32 2019 +0200
org.apache.sling.feature.apiregions.model made a valid OSGi bundle
---
pom.xml | 25 ++++++++++++++++++++++
.../feature/apiregions/model/package-info.java | 1 +
2 files changed, 26 insertions(+)
diff --git a/pom.xml b/pom.xml
index 03caa6b..b97782d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -39,6 +39,12 @@
</properties>
<dependencies>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.annotation.versioning</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
<!--
| Sling Feature Model libraries
-->
@@ -73,4 +79,23 @@
</dependency>
</dependencies>
+ <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>
+ <plugin>
+ <groupId>biz.aQute.bnd</groupId>
+ <artifactId>bnd-maven-plugin</artifactId>
+ <version>4.1.0</version>
+ </plugin>
+ </plugins>
+ </build>
+
</project>
diff --git a/src/main/java/org/apache/sling/feature/apiregions/model/package-info.java b/src/main/java/org/apache/sling/feature/apiregions/model/package-info.java
index d890026..7d5ada7 100644
--- a/src/main/java/org/apache/sling/feature/apiregions/model/package-info.java
+++ b/src/main/java/org/apache/sling/feature/apiregions/model/package-info.java
@@ -18,4 +18,5 @@
/**
* Basic <code>api-regions</code> APIs.
*/
+@org.osgi.annotation.versioning.Version("1.0.0")
package org.apache.sling.feature.apiregions.model;