forked from trinodb/trino-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
140 lines (126 loc) · 5.37 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.airlift</groupId>
<artifactId>airbase</artifactId>
<version>190</version>
</parent>
<groupId>io.trino.gateway</groupId>
<artifactId>trino-gateway-parent</artifactId>
<version>12-SNAPSHOT</version>
<packaging>pom</packaging>
<name>trino-gateway-parent</name>
<description>A smart load balancer and query router for Trino</description>
<url>https://github.com/trinodb/trino-gateway</url>
<inceptionYear>2018</inceptionYear>
<licenses>
<license>
<name>Apache License 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<modules>
<module>gateway-ha</module>
</modules>
<scm>
<connection>scm:git:git://github.com/trinodb/trino-gateway.git</connection>
<tag>HEAD</tag>
<url>https://github.com/trinodb/trino-gateway</url>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<project.build.targetJdk>23</project.build.targetJdk>
<air.java.version>23</air.java.version>
<air.check.skip-spotbugs>true</air.check.skip-spotbugs>
<air.check.skip-pmd>true</air.check.skip-pmd>
<air.release.preparation-goals>clean verify -DskipTests</air.release.preparation-goals>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.airlift</groupId>
<artifactId>bom</artifactId>
<version>276</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.jdbi</groupId>
<artifactId>jdbi3-bom</artifactId>
<version>3.46.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers-bom</artifactId>
<version>1.20.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>io.airlift</groupId>
<artifactId>units</artifactId>
<version>1.10</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-server</artifactId>
<version>3.1.9</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<failOnWarning>false</failOnWarning>
<compilerArgs>
<arg>-XDcompilePolicy=simple</arg>
<arg>-Xplugin:ErrorProne \
-Xep:CatchAndPrintStackTrace:ERROR \
-Xep:ClassCanBeStatic:ERROR \
-Xep:DefaultCharset:ERROR \
-Xep:EmptyCatch:ERROR \
-Xep:EqualsGetClass:OFF \
-Xep:InvalidThrows:ERROR \
-Xep:JavaTimeDefaultTimeZone:ERROR \
-Xep:MissingOverride:ERROR \
-Xep:StringCaseLocaleUsage:ERROR \
-Xep:TraditionalSwitchExpression:ERROR \
-Xep:TypeParameterUnusedInFormals:ERROR \
-Xep:UnnecessaryParentheses:ERROR \
-Xep:UnusedMethod:ERROR \
-Xep:UnusedVariable:ERROR</arg>
</compilerArgs>
<annotationProcessorPaths>
<path>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_core</artifactId>
<version>${dep.errorprone.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
<rules combine.children="append">
<RestrictImports>
<reason>Use AssertJ assertions instead of JUnit</reason>
<bannedImports>
<bannedImport>org.junit.jupiter.api.Assertions.*</bannedImport>
</bannedImports>
</RestrictImports>
</rules>
</configuration>
</plugin>
</plugins>
</build>
</project>