Skip to content

Commit 63e0206

Browse files
committed
Configure compiler plugin for common-lib project.
1 parent 6fb39e3 commit 63e0206

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/lib-common/pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,22 @@
9696
<scope>test</scope>
9797
</dependency>
9898
</dependencies>
99+
<build>
100+
<plugins>
101+
<plugin>
102+
<groupId>org.apache.maven.plugins</groupId>
103+
<artifactId>maven-enforcer-plugin</artifactId>
104+
</plugin>
105+
<plugin>
106+
<groupId>org.apache.maven.plugins</groupId>
107+
<artifactId>maven-compiler-plugin</artifactId>
108+
<version>3.14.1</version>
109+
<configuration>
110+
<compilerArgument>
111+
-Xlint:fallthrough,unchecked,removal,deprecation,dep-ann,varargs,overloads,serial,try,finally
112+
</compilerArgument>
113+
</configuration>
114+
</plugin>
115+
</plugins>
116+
</build>
99117
</project>

0 commit comments

Comments
 (0)