-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
95 lines (85 loc) · 3.63 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>k.ketchapp</groupId>
<artifactId>ketchapp</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>
<modules>
<module>proto</module>
<module>client</module>
<module>microservices</module>
<module>microservices/common</module>
<module>microservices/statsservice</module>
<module>microservices/eventservice</module>
<module>microservices/recordservice</module>
<module>microservices/achievementservice</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<configLocation>google_checks.xml</configLocation>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<linkXRef>false</linkXRef>
</configuration>
<executions>
<execution>
<id>validate</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<!--Add the following --add-exports and add-opens flags to .mvn/jvm.config file which are-->
<!-- required on JDK 16 and newer due to JEP 396: Strongly Encapsulate JDK Internals by Default:-->
<!----add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED-->
<!----add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED-->
<!----add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED-->
<!----add-exports jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED-->
<!----add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED-->
<!----add-exports jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED-->
<!----add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED-->
<!----add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED-->
<!----add-opens jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED-->
<!----add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>17</source>
<target>17</target>
<encoding>UTF-8</encoding>
<compilerArgs>
<arg>-XDcompilePolicy=simple</arg>
<arg>-Xplugin:ErrorProne</arg>
</compilerArgs>
<annotationProcessorPaths>
<path>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_core</artifactId>
<version>2.16</version>
</path>
<!-- Other annotation processors go here.
If 'annotationProcessorPaths' is set, processors will no longer be
discovered on the regular -classpath; see also 'Using Error Prone
together with other annotation processors' below. -->
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>
</project>