You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2018/04/05 11:03:59 UTC

[sling-ide-tooling] 13/14: SLING-5648 - Make Non-Eclipse Module regular Maven Packages

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch feature/intellij
in repository https://gitbox.apache.org/repos/asf/sling-ide-tooling.git

commit 1fa5d5621d27b40d8e49363559a8bf8aa02bb938
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Tue Apr 3 17:23:23 2018 +0300

    SLING-5648 - Make Non-Eclipse Module regular Maven Packages
    
    Make all module bundles lazily activated, as recommended by
    Eclipse best practices.
---
 shared/modules/api/bnd.bnd           | 4 +++-
 shared/modules/impl-resource/bnd.bnd | 1 +
 shared/modules/impl-vlt/bnd.bnd      | 1 +
 shared/modules/vlt-wrapper/bnd.bnd   | 2 ++
 4 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/shared/modules/api/bnd.bnd b/shared/modules/api/bnd.bnd
index c3a24eb..560e80b 100644
--- a/shared/modules/api/bnd.bnd
+++ b/shared/modules/api/bnd.bnd
@@ -1,3 +1,5 @@
+Bundle-ActivationPolicy: lazy
+
 -exportcontents: ${packages;VERSIONED}
 Import-Package: org.apache.commons.io;version="[1.4,3)", \
-  *
+  *
\ No newline at end of file
diff --git a/shared/modules/impl-resource/bnd.bnd b/shared/modules/impl-resource/bnd.bnd
index dbeea24..bd7875f 100644
--- a/shared/modules/impl-resource/bnd.bnd
+++ b/shared/modules/impl-resource/bnd.bnd
@@ -1 +1,2 @@
+Bundle-ActivationPolicy: lazy
 -exportcontents: ${packages;VERSIONED}
diff --git a/shared/modules/impl-vlt/bnd.bnd b/shared/modules/impl-vlt/bnd.bnd
index 0aff61c..9906412 100644
--- a/shared/modules/impl-vlt/bnd.bnd
+++ b/shared/modules/impl-vlt/bnd.bnd
@@ -1,3 +1,4 @@
+Bundle-ActivationPolicy: lazy
 -exportcontents: ${packages;VERSIONED}
 -includeresource: plugin.xml, .options
 Bundle-SymbolicName: org.apache.sling.ide.impl-vlt;singleton:=true
diff --git a/shared/modules/vlt-wrapper/bnd.bnd b/shared/modules/vlt-wrapper/bnd.bnd
index 337bb25..b27c029 100644
--- a/shared/modules/vlt-wrapper/bnd.bnd
+++ b/shared/modules/vlt-wrapper/bnd.bnd
@@ -1,3 +1,5 @@
+Bundle-ActivationPolicy: lazy
+
 -exportcontents: javax.jcr,\
  javax.jcr.nodetype,\
  javax.jcr.lock,\

-- 
To stop receiving notification emails like this one, please contact
rombert@apache.org.