bug 466795 disallow unused warning to be reported as error
diff --git a/wtp-parent/pom.xml b/wtp-parent/pom.xml
index 6f52377..c486a28 100644
--- a/wtp-parent/pom.xml
+++ b/wtp-parent/pom.xml
@@ -236,7 +236,10 @@
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
- <compilerArgument>-warn:+discouraged,forbidden</compilerArgument>
+ <compilerArgs>
+ <args>-warn:+discouraged,forbidden</args>
+ <args>-error:-unused</args>
+ </compilerArgs>
</configuration>
</plugin>
<plugin>