enforce JDT type annotations
When using null annotations, there are pre Java 8 annotations and Java 8
type annotations. Enforce using type annotations by requiring version
2.0.0 or higher of the annotations bundle, as suggested in the user
guide.
This avoids that app4mc is used in a context where only pre Java 8
annotations are available.
Change-Id: Ibfd1614a6231abc594e58a3cc18aae9bfce05e53
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
diff --git a/plugins/org.eclipse.app4mc.amalthea.model/META-INF/MANIFEST.MF b/plugins/org.eclipse.app4mc.amalthea.model/META-INF/MANIFEST.MF
index 49d2519..24f8aff 100644
--- a/plugins/org.eclipse.app4mc.amalthea.model/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.app4mc.amalthea.model/META-INF/MANIFEST.MF
@@ -22,6 +22,6 @@
org.eclipse.xtext.xbase.lib;visibility:=reexport,
org.eclipse.sphinx.emf;visibility:=reexport,
org.eclipse.app4mc.amalthea.sphinx;visibility:=reexport,
- org.eclipse.jdt.annotation;resolution:=optional
+ org.eclipse.jdt.annotation;bundle-version="[2.0.0,3.0.0)";resolution:=optional
Bundle-ActivationPolicy: lazy
Automatic-Module-Name: org.eclipse.app4mc.amalthea.model