always compile at java 1.8 level (for now), but resolve against the JDK
Signed-off-by: Raymond Augé <rotty3000@apache.org>
diff --git a/itests/itest.bndrun b/itests/itest.bndrun
index 7d2d17d..f634439 100644
--- a/itests/itest.bndrun
+++ b/itests/itest.bndrun
@@ -18,6 +18,8 @@
#-runtrace: true
#-runjdb: 8000
+-runee: JavaSE-${java.specification.version}
+
-runfw: org.eclipse.osgi
-resolve.effective: resolve, active
diff --git a/pom.xml b/pom.xml
index 2f85f13..735eb33 100644
--- a/pom.xml
+++ b/pom.xml
@@ -124,18 +124,6 @@
<profiles>
<profile>
- <id>java-release-9+</id>
- <activation>
- <jdk>[9,)</jdk>
- </activation>
- <properties>
- <java.build.version>${java.specification.version}</java.build.version>
- <maven.compiler.release>${java.build.version}</maven.compiler.release>
- <maven.compiler.source>${java.build.version}</maven.compiler.source>
- <maven.compiler.target>${java.build.version}</maven.compiler.target>
- </properties>
- </profile>
- <profile>
<id>deploy</id>
<build>
<plugins>