Bug 386646 - build against declared and/or observed bundle runtime execution environment
diff --git a/pom.xml b/pom.xml
index 317bf4e..e4cd72d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -30,12 +30,6 @@
   <modules>
     <module>update/org.eclipse.update.configurator</module>
     <module>update/org.eclipse.update.core</module>
-    <module>update/org.eclipse.update.core.linux</module>
-    <module>update/org.eclipse.update.core.win32</module>
-    <module>update/org.eclipse.update.examples</module>
-    <module>update/org.eclipse.update.tests.core</module>
-    <module>update/org.eclipse.update.scheduler</module>
-    <module>update/org.eclipse.update.ui</module>
     <module>ant/org.eclipse.ant.core</module>
     <module>ant/org.eclipse.ant.launching</module>
     <module>ant/org.eclipse.ant.ui</module>
diff --git a/update/org.eclipse.update.configurator/pom.xml b/update/org.eclipse.update.configurator/pom.xml
index 4892edc..ac656f9 100644
--- a/update/org.eclipse.update.configurator/pom.xml
+++ b/update/org.eclipse.update.configurator/pom.xml
@@ -24,4 +24,16 @@
   <artifactId>org.eclipse.update.configurator</artifactId>
   <version>3.3.200-SNAPSHOT</version>
   <packaging>eclipse-plugin</packaging>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.eclipse.tycho</groupId>
+        <artifactId>target-platform-configuration</artifactId>
+        <configuration>
+          <!-- observed BREE as of Juno -->
+          <executionEnvironment>J2SE-1.4</executionEnvironment>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>
diff --git a/update/org.eclipse.update.core/pom.xml b/update/org.eclipse.update.core/pom.xml
index dd8679e..203107b 100644
--- a/update/org.eclipse.update.core/pom.xml
+++ b/update/org.eclipse.update.core/pom.xml
@@ -10,9 +10,8 @@
      Igor Fedorenko - initial implementation
 -->
 
-<project
-  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
-  xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <modelVersion>4.0.0</modelVersion>
   <parent>
     <artifactId>eclipse.platform</artifactId>
@@ -24,4 +23,19 @@
   <artifactId>org.eclipse.update.core</artifactId>
   <version>3.2.600-SNAPSHOT</version>
   <packaging>eclipse-plugin</packaging>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.eclipse.tycho</groupId>
+        <artifactId>target-platform-configuration</artifactId>
+        <configuration>
+          <!--
+            dependency on org.eclipse.equinox.security requires at least J2SE-1.4
+           -->
+          <executionEnvironment>J2SE-1.4</executionEnvironment>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>