You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plexus-compilers/plexus-compiler-eclipse/src/main/java/org/codehaus/plexus/compiler/eclipse/EclipseJavaCompiler.java
+5
Original file line number
Diff line number
Diff line change
@@ -151,6 +151,11 @@ public CompilerResult performCompile( CompilerConfiguration config )
151
151
{
152
152
args.add( "-parameters" );
153
153
}
154
+
155
+
if(config.isFailOnWarning())
156
+
{
157
+
args.add("-failOnWarning");
158
+
}
154
159
155
160
// Set Eclipse-specific options
156
161
// compiler-specific extra options override anything else in the config object...
0 commit comments