Skip to content

Commit 01b7f2b

Browse files
add maven-compiler-plugin (#468)
1 parent d16f4ce commit 01b7f2b

File tree

5 files changed

+60
-10
lines changed

5 files changed

+60
-10
lines changed

src/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,6 @@
6262
<build>
6363
<pluginManagement>
6464
<plugins>
65-
<plugin>
66-
<groupId>org.apache.maven.plugins</groupId>
67-
<artifactId>maven-compiler-plugin</artifactId>
68-
<version>3.14.1</version>
69-
<configuration>
70-
<compilerArgument>
71-
-Xlint:fallthrough,unchecked,removal,deprecation,dep-ann,varargs,overloads,serial,try,finally
72-
</compilerArgument>
73-
</configuration>
74-
</plugin>
7565
<plugin>
7666
<groupId>org.apache.maven.plugins</groupId>
7767
<artifactId>maven-enforcer-plugin</artifactId>

src/server-am/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<servlet.port>8803</servlet.port>
2929
<application.contextpath>/</application.contextpath>
3030
<application.filename>server-am</application.filename>
31+
3132
<!-- Start of user code properties
3233
-->
3334
<!-- TODO: Add additional properties here to avoid them be overrriden upon future re-generation -->
@@ -293,6 +294,16 @@
293294
</plugin>
294295
<!-- End of user code
295296
-->
297+
<plugin>
298+
<groupId>org.apache.maven.plugins</groupId>
299+
<artifactId>maven-compiler-plugin</artifactId>
300+
<version>3.14.1</version>
301+
<configuration>
302+
<compilerArgument>
303+
-Xlint:fallthrough,unchecked,removal,deprecation,dep-ann,varargs,overloads,serial,try,finally
304+
</compilerArgument>
305+
</configuration>
306+
</plugin>
296307
<plugin>
297308
<groupId>org.eclipse.jetty</groupId>
298309
<artifactId>jetty-maven-plugin</artifactId>
@@ -385,6 +396,10 @@
385396
</configuration>
386397
</plugin>
387398

399+
<!-- Start of user code plugins
400+
-->
401+
<!-- End of user code
402+
-->
388403
</plugins>
389404
</build>
390405
<!-- Start of user code post_build

src/server-cm/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<servlet.port>8801</servlet.port>
2929
<application.contextpath>/</application.contextpath>
3030
<application.filename>server-cm</application.filename>
31+
3132
<!-- Start of user code properties
3233
-->
3334
<!-- TODO: Add additional properties here to avoid them be overrriden upon future re-generation -->
@@ -297,6 +298,16 @@
297298
</plugin>
298299
<!-- End of user code
299300
-->
301+
<plugin>
302+
<groupId>org.apache.maven.plugins</groupId>
303+
<artifactId>maven-compiler-plugin</artifactId>
304+
<version>3.14.1</version>
305+
<configuration>
306+
<compilerArgument>
307+
-Xlint:fallthrough,unchecked,removal,deprecation,dep-ann,varargs,overloads,serial,try,finally
308+
</compilerArgument>
309+
</configuration>
310+
</plugin>
300311
<plugin>
301312
<groupId>org.eclipse.jetty</groupId>
302313
<artifactId>jetty-maven-plugin</artifactId>
@@ -389,6 +400,10 @@
389400
</configuration>
390401
</plugin>
391402

403+
<!-- Start of user code plugins
404+
-->
405+
<!-- End of user code
406+
-->
392407
</plugins>
393408
</build>
394409
<!-- Start of user code post_build

src/server-qm/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<servlet.port>8802</servlet.port>
2929
<application.contextpath>/</application.contextpath>
3030
<application.filename>server-qm</application.filename>
31+
3132
<!-- Start of user code properties
3233
-->
3334
<!-- TODO: Add additional properties here to avoid them be overrriden upon future re-generation -->
@@ -292,6 +293,16 @@
292293
</plugin>
293294
<!-- End of user code
294295
-->
296+
<plugin>
297+
<groupId>org.apache.maven.plugins</groupId>
298+
<artifactId>maven-compiler-plugin</artifactId>
299+
<version>3.14.1</version>
300+
<configuration>
301+
<compilerArgument>
302+
-Xlint:fallthrough,unchecked,removal,deprecation,dep-ann,varargs,overloads,serial,try,finally
303+
</compilerArgument>
304+
</configuration>
305+
</plugin>
295306
<plugin>
296307
<groupId>org.eclipse.jetty</groupId>
297308
<artifactId>jetty-maven-plugin</artifactId>
@@ -384,6 +395,10 @@
384395
</configuration>
385396
</plugin>
386397

398+
<!-- Start of user code plugins
399+
-->
400+
<!-- End of user code
401+
-->
387402
</plugins>
388403
</build>
389404
<!-- Start of user code post_build

src/server-rm/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
<servlet.port>8800</servlet.port>
3030
<application.contextpath>/</application.contextpath>
3131
<application.filename>server-rm</application.filename>
32+
3233
<!-- Start of user code properties
3334
-->
3435
<v.lucene>9.12.0</v.lucene>
@@ -320,6 +321,16 @@
320321
</plugin>
321322
<!-- End of user code
322323
-->
324+
<plugin>
325+
<groupId>org.apache.maven.plugins</groupId>
326+
<artifactId>maven-compiler-plugin</artifactId>
327+
<version>3.14.1</version>
328+
<configuration>
329+
<compilerArgument>
330+
-Xlint:fallthrough,unchecked,removal,deprecation,dep-ann,varargs,overloads,serial,try,finally
331+
</compilerArgument>
332+
</configuration>
333+
</plugin>
323334
<plugin>
324335
<groupId>org.eclipse.jetty</groupId>
325336
<artifactId>jetty-maven-plugin</artifactId>
@@ -412,6 +423,10 @@
412423
</configuration>
413424
</plugin>
414425

426+
<!-- Start of user code plugins
427+
-->
428+
<!-- End of user code
429+
-->
415430
</plugins>
416431
</build>
417432
<!-- Start of user code post_build

0 commit comments

Comments
 (0)