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/19 14:53:59 UTC
[sling-whiteboard] 04/06: [feature-diff] added package OSGi
metadata Version
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-whiteboard.git
commit 9869c6dac6f6938111d07bd101b148aad9d3800e
Author: Simo Tripodi <st...@adobe.com>
AuthorDate: Wed Jun 19 16:14:55 2019 +0200
[feature-diff] added package OSGi metadata Version
---
feature-diff/pom.xml | 7 ++++++-
.../src/main/java/org/apache/sling/feature/diff/package-info.java | 1 +
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/feature-diff/pom.xml b/feature-diff/pom.xml
index 3c0e36d..d94467e 100644
--- a/feature-diff/pom.xml
+++ b/feature-diff/pom.xml
@@ -41,6 +41,11 @@
</properties>
<dependencies>
+ <dependency>
+ <groupId>org.osgi</groupId>
+ <artifactId>org.osgi.annotation.versioning</artifactId>
+ <scope>provided</scope>
+ </dependency>
<!--
| utilities
-->
@@ -124,7 +129,7 @@
<extensions>true</extensions>
<configuration>
<instructions>
- <Export-Package>org.apache.sling.feature.diff*;version=${project.version}</Export-Package>
+ <Export-Package>org.apache.sling.feature.diff*</Export-Package>
<Import-Package>
org.apache.sling.feature*,
org.apache.commons.collections4*,
diff --git a/feature-diff/src/main/java/org/apache/sling/feature/diff/package-info.java b/feature-diff/src/main/java/org/apache/sling/feature/diff/package-info.java
index c8c9fa8..8a67aff 100644
--- a/feature-diff/src/main/java/org/apache/sling/feature/diff/package-info.java
+++ b/feature-diff/src/main/java/org/apache/sling/feature/diff/package-info.java
@@ -18,4 +18,5 @@
/**
* Core APIs to compare different Apache Sling Feature models.
*/
+@org.osgi.annotation.versioning.Version("1.0.0")
package org.apache.sling.feature.diff;