Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2011-04-29 21:49:04 -0400
committerIgor Fedorenko2011-04-29 21:49:04 -0400
commitbcd19b98250f7a5c31fde708931c46949744e53d (patch)
treeee5803a3bc6decb8dce2e18c737021dee5a10289
parent832f567606c6935d17396a03b9104ade83f95bb4 (diff)
downloadm2e-core-bcd19b98250f7a5c31fde708931c46949744e53d.tar.gz
m2e-core-bcd19b98250f7a5c31fde708931c46949744e53d.tar.xz
m2e-core-bcd19b98250f7a5c31fde708931c46949744e53d.zip
m2e.usagedata to have non-optional dependency on epp.usagedata
Non-optional OSGi m2e.usagedata->epp.usagedata dependency is "downgraded" to optional/non-greedy p2 dependency using p2.inf file. This allows installation of m2e.usagedata without epp.usagedata but does not allow activation of m2e.usagedata at runtime unless epp.usagedata is present and resolved. Before this change, m2e.usagedata was activated and recieved maven change events even without epp.usagedata. Stragely enough, jvm did not throw classnotfound errors even though the code was clearly running through (null) reference to epp.usagedata class. Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
-rw-r--r--org.eclipse.m2e.usagedata/META-INF/MANIFEST.MF2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.m2e.usagedata/META-INF/MANIFEST.MF b/org.eclipse.m2e.usagedata/META-INF/MANIFEST.MF
index ba8d6d78..254f0a62 100644
--- a/org.eclipse.m2e.usagedata/META-INF/MANIFEST.MF
+++ b/org.eclipse.m2e.usagedata/META-INF/MANIFEST.MF
@@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %Bundle-Name
Bundle-SymbolicName: org.eclipse.m2e.usagedata;singleton:=true
Bundle-Version: 0.13.0.qualifier
-Require-Bundle: org.eclipse.epp.usagedata.gathering;resolution:=optional,
+Require-Bundle: org.eclipse.epp.usagedata.gathering,
org.eclipse.m2e.core;bundle-version="[0.13.0,0.14.0)",
org.slf4j.api;bundle-version="1.6.1"
Import-Package: org.eclipse.core.runtime,

Back to the top