Bug 507055 - Ignoring problems on source folder needs to be configured
for Tycho too

Change-Id: Ib903e0ce455f6edc1d4fc8c6e3b2497bdf124a7a
Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
diff --git a/bundles/org.eclipse.equinox.app/pom.xml b/bundles/org.eclipse.equinox.app/pom.xml
index 7be6c6c..e3ece7c 100644
--- a/bundles/org.eclipse.equinox.app/pom.xml
+++ b/bundles/org.eclipse.equinox.app/pom.xml
@@ -21,7 +21,18 @@
   <artifactId>org.eclipse.equinox.app</artifactId>
   <version>1.3.400-SNAPSHOT</version>
   <packaging>eclipse-plugin</packaging>
-  <properties>
-    <code.ignoredWarnings>-warn:-unusedPrivate,deprecation</code.ignoredWarnings>
-  </properties>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.eclipse.tycho</groupId>
+        <artifactId>tycho-compiler-plugin</artifactId>
+        <version>${tycho.version}</version>
+        <configuration>
+          <compilerArgs>
+            <arg>-nowarn:[${project.basedir}/osgi]</arg>
+          </compilerArgs>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>
diff --git a/bundles/org.eclipse.equinox.coordinator/pom.xml b/bundles/org.eclipse.equinox.coordinator/pom.xml
index 485c63d..76b87d2 100644
--- a/bundles/org.eclipse.equinox.coordinator/pom.xml
+++ b/bundles/org.eclipse.equinox.coordinator/pom.xml
@@ -29,7 +29,7 @@
         <version>${tycho.version}</version>
         <configuration>
           <compilerArgs>
-            <arg>-warn:-unchecked</arg>
+            <arg>-nowarn:[${project.basedir}/osgi]</arg>
           </compilerArgs>
         </configuration>
       </plugin>
diff --git a/bundles/org.eclipse.equinox.io/pom.xml b/bundles/org.eclipse.equinox.io/pom.xml
index 1d9dc6e..3f32c3f 100644
--- a/bundles/org.eclipse.equinox.io/pom.xml
+++ b/bundles/org.eclipse.equinox.io/pom.xml
@@ -21,4 +21,18 @@
   <artifactId>org.eclipse.equinox.io</artifactId>
   <version>1.1.100-SNAPSHOT</version>
   <packaging>eclipse-plugin</packaging>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.eclipse.tycho</groupId>
+        <artifactId>tycho-compiler-plugin</artifactId>
+        <version>${tycho.version}</version>
+        <configuration>
+          <compilerArgs>
+            <arg>-nowarn:[${project.basedir}/osgi]</arg>
+          </compilerArgs>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>