Bug 461427 - Tons of compile errors in test build in SWT tests and tools
when moving to tycho 0.23.0-SNAPSHOT

Change-Id: Id164379de306bf233a2bff0da389e452235efc07
Signed-off-by: Pascal Rapicault <pascal@rapicorp.com>
diff --git a/bundles/org.eclipse.swt/pom.xml b/bundles/org.eclipse.swt/pom.xml
index d8568c3..94e8c70 100644
--- a/bundles/org.eclipse.swt/pom.xml
+++ b/bundles/org.eclipse.swt/pom.xml
@@ -39,6 +39,9 @@
         <configuration>
           <dependency-resolution>
             <optionalDependencies>ignore</optionalDependencies>
+            <profileProperties>
+              <org.eclipse.swt.buildtime>true</org.eclipse.swt.buildtime>
+            </profileProperties>
           </dependency-resolution>
         </configuration>
       </plugin>
diff --git a/pom.xml b/pom.xml
index 5530040..eac26fd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -41,22 +41,6 @@
     </repository>
   </repositories>
 
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.eclipse.tycho</groupId>
-        <artifactId>target-platform-configuration</artifactId>
-        <version>${tycho.version}</version>
-        <configuration>
-          <dependency-resolution>
-            <profileProperties>
-              <org.eclipse.swt.buildtime>true</org.eclipse.swt.buildtime>
-            </profileProperties>
-          </dependency-resolution>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
 
   <modules>
     <module>bundles/org.eclipse.swt</module>