You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2016/12/11 14:06:48 UTC
svn commit: r1773572 -
/sling/trunk/contrib/extensions/contextaware-config/impl/pom.xml
Author: sseifert
Date: Sun Dec 11 14:06:48 2016
New Revision: 1773572
URL: http://svn.apache.org/viewvc?rev=1773572&view=rev
Log:
Relax dependency org.apache.sling.api.resource to [2.8,3) because bnd genrates [2.8,2.9) - unsure why
Modified:
sling/trunk/contrib/extensions/contextaware-config/impl/pom.xml
Modified: sling/trunk/contrib/extensions/contextaware-config/impl/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/contextaware-config/impl/pom.xml?rev=1773572&r1=1773571&r2=1773572&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/contextaware-config/impl/pom.xml (original)
+++ sling/trunk/contrib/extensions/contextaware-config/impl/pom.xml Sun Dec 11 14:06:48 2016
@@ -61,8 +61,16 @@
<!-- Export SCR metadata to classpath to have them available in unit tests -->
<exportScr>true</exportScr>
<instructions>
+
<!-- embed the commons.osgi bundle as described in http://njbartlett.name/2014/05/26/static-linking.html -->
<Conditional-Package>org.apache.sling.commons.osgi</Conditional-Package>
+
+ <!-- Relax dependency org.apache.sling.api.resource to [2.8,3) because bnd genrates [2.8,2.9) - unsure why -->
+ <Import-Package>
+ org.apache.sling.api.resource;version="[2.8,3)",
+ *
+ </Import-Package>
+
</instructions>
</configuration>
</plugin>