Skip to content

Commit 4740737

Browse files
committed
Fail with compilation warnings
Signed-off-by: Stefano Cordio <[email protected]>
1 parent b7cecb1 commit 4740737

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

spring-batch-notion/pom.xml

+10
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,16 @@ limitations under the License.
156156
</execution>
157157
</executions>
158158
</plugin>
159+
<plugin>
160+
<groupId>org.apache.maven.plugins</groupId>
161+
<artifactId>maven-compiler-plugin</artifactId>
162+
<configuration>
163+
<compilerArgs>
164+
<arg>-Xlint:all,-varargs</arg>
165+
</compilerArgs>
166+
<failOnWarning>true</failOnWarning>
167+
</configuration>
168+
</plugin>
159169
<plugin>
160170
<groupId>org.apache.maven.plugins</groupId>
161171
<artifactId>maven-javadoc-plugin</artifactId>

0 commit comments

Comments
 (0)