|
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | 4 | <modelVersion>4.0.0</modelVersion> |
5 | | - <parent> |
6 | | - <!-- https://github.com/airlift/airbase/blob/130/airbase/pom.xml --> |
7 | | - <groupId>io.airlift</groupId> |
8 | | - <artifactId>airbase</artifactId> |
9 | | - <version>130</version> |
10 | | - </parent> |
11 | 5 | <groupId>com.databend</groupId> |
12 | 6 | <artifactId>databend-base</artifactId> |
13 | 7 | <version>0.4.2</version> |
|
38 | 32 | </repository> |
39 | 33 | </distributionManagement> |
40 | 34 | <properties> |
41 | | - <air.main.basedir>${project.basedir}</air.main.basedir> |
42 | | - <air.modernizer.java-version>8</air.modernizer.java-version> |
43 | | - |
44 | | - <air.check.skip-all>true</air.check.skip-all> |
45 | | - |
46 | | - <dep.airlift.version>219</dep.airlift.version> |
47 | | - <dep.packaging.version>${dep.airlift.version}</dep.packaging.version> |
| 35 | + <maven.compiler.release>8</maven.compiler.release> |
| 36 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 37 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 38 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
48 | 39 | <dep.jackson.version>2.19.2</dep.jackson.version> |
| 40 | + <dep.jsr305.version>3.0.2</dep.jsr305.version> |
49 | 41 | <dep.guava.version>32.0.1-jre</dep.guava.version> |
50 | 42 | <dep.slf4j.version>1.7.6</dep.slf4j.version> |
51 | | - <!-- not in airbase --> |
52 | 43 | <dep.okio.version>3.1.0</dep.okio.version> |
53 | | - <!-- not in airbase --> |
54 | 44 | <dep.okhttp.version>5.0.0-alpha.11</dep.okhttp.version> |
55 | | - <air.javadoc.lint>-missing</air.javadoc.lint> |
| 45 | + <dep.testng.version>6.10</dep.testng.version> |
| 46 | + <plugin.gpg.version>3.2.8</plugin.gpg.version> |
56 | 47 | <checkstyle.config.location>${maven.multiModuleProjectDirectory}/config/checkstyle/checkstyle.xml</checkstyle.config.location> |
57 | 48 | </properties> |
58 | 49 |
|
|
75 | 66 | <version>2.4.0</version> |
76 | 67 | </dependency> |
77 | 68 |
|
| 69 | + <dependency> |
| 70 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 71 | + <artifactId>jackson-annotations</artifactId> |
| 72 | + <version>${dep.jackson.version}</version> |
| 73 | + </dependency> |
| 74 | + |
| 75 | + <dependency> |
| 76 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 77 | + <artifactId>jackson-core</artifactId> |
| 78 | + <version>${dep.jackson.version}</version> |
| 79 | + </dependency> |
| 80 | + |
| 81 | + <dependency> |
| 82 | + <groupId>com.fasterxml.jackson.core</groupId> |
| 83 | + <artifactId>jackson-databind</artifactId> |
| 84 | + <version>${dep.jackson.version}</version> |
| 85 | + </dependency> |
| 86 | + |
| 87 | + <dependency> |
| 88 | + <groupId>com.fasterxml.jackson.datatype</groupId> |
| 89 | + <artifactId>jackson-datatype-jdk8</artifactId> |
| 90 | + <version>${dep.jackson.version}</version> |
| 91 | + </dependency> |
| 92 | + |
| 93 | + <dependency> |
| 94 | + <groupId>com.google.code.findbugs</groupId> |
| 95 | + <artifactId>jsr305</artifactId> |
| 96 | + <version>${dep.jsr305.version}</version> |
| 97 | + </dependency> |
| 98 | + |
| 99 | + <dependency> |
| 100 | + <groupId>com.google.guava</groupId> |
| 101 | + <artifactId>guava</artifactId> |
| 102 | + <version>${dep.guava.version}</version> |
| 103 | + </dependency> |
| 104 | + |
78 | 105 | <dependency> |
79 | 106 | <groupId>com.squareup.okio</groupId> |
80 | 107 | <artifactId>okio</artifactId> |
|
117 | 144 | <version>1.7.10</version> |
118 | 145 | </dependency> |
119 | 146 |
|
| 147 | + <dependency> |
| 148 | + <groupId>org.testng</groupId> |
| 149 | + <artifactId>testng</artifactId> |
| 150 | + <version>${dep.testng.version}</version> |
| 151 | + </dependency> |
| 152 | + |
120 | 153 | </dependencies> |
121 | 154 |
|
122 | 155 | </dependencyManagement> |
|
126 | 159 | <plugin> |
127 | 160 | <groupId>org.apache.maven.plugins</groupId> |
128 | 161 | <artifactId>maven-shade-plugin</artifactId> |
129 | | - <version>3.5.1</version> |
| 162 | + <version>3.6.1</version> |
130 | 163 | <executions> |
131 | 164 | <execution> |
132 | 165 | <phase>package</phase> |
|
179 | 212 | <plugin> |
180 | 213 | <groupId>org.apache.maven.plugins</groupId> |
181 | 214 | <artifactId>maven-surefire-plugin</artifactId> |
182 | | - <version>2.19</version> |
| 215 | + <version>3.2.5</version> |
183 | 216 | <configuration> |
184 | 217 | <skipAfterFailureCount>1</skipAfterFailureCount> |
185 | 218 | </configuration> |
186 | 219 | </plugin> |
187 | 220 | <plugin> |
188 | 221 | <groupId>org.apache.maven.plugins</groupId> |
189 | 222 | <artifactId>maven-source-plugin</artifactId> |
190 | | - <version>2.2.1</version> |
| 223 | + <version>3.3.0</version> |
191 | 224 | <executions> |
192 | 225 | <execution> |
193 | 226 | <id>attach-sources</id> |
|
200 | 233 | <plugin> |
201 | 234 | <groupId>org.apache.maven.plugins</groupId> |
202 | 235 | <artifactId>maven-javadoc-plugin</artifactId> |
203 | | - <version>2.9.1</version> |
| 236 | + <version>3.6.3</version> |
204 | 237 | <configuration> |
205 | 238 | <additionalparam>-Xdoclint:none</additionalparam> |
206 | 239 | </configuration> |
|
216 | 249 | <plugin> |
217 | 250 | <groupId>org.apache.maven.plugins</groupId> |
218 | 251 | <artifactId>maven-gpg-plugin</artifactId> |
| 252 | + <version>${plugin.gpg.version}</version> |
219 | 253 | <configuration> |
220 | 254 | <skip>true</skip> |
221 | 255 | </configuration> |
222 | 256 | </plugin> |
223 | 257 | <plugin> |
224 | 258 | <groupId>org.apache.maven.plugins</groupId> |
225 | 259 | <artifactId>maven-checkstyle-plugin</artifactId> |
226 | | - <version>3.3.0</version> |
| 260 | + <version>3.5.0</version> |
227 | 261 | <configuration> |
228 | 262 | <configLocation>${checkstyle.config.location}</configLocation> |
229 | 263 | <consoleOutput>true</consoleOutput> |
|
247 | 281 | <plugin> |
248 | 282 | <groupId>org.apache.maven.plugins</groupId> |
249 | 283 | <artifactId>maven-shade-plugin</artifactId> |
250 | | - <version>3.5.1</version> |
| 284 | + <version>3.6.1</version> |
| 285 | + </plugin> |
| 286 | + <plugin> |
| 287 | + <groupId>org.apache.maven.plugins</groupId> |
| 288 | + <artifactId>maven-release-plugin</artifactId> |
| 289 | + <version>3.0.1</version> |
| 290 | + <configuration> |
| 291 | + <releaseProfiles>release</releaseProfiles> |
| 292 | + <useReleaseProfile>false</useReleaseProfile> |
| 293 | + <goals>deploy</goals> |
| 294 | + <autoVersionSubmodules>true</autoVersionSubmodules> |
| 295 | + <pushChanges>false</pushChanges> |
| 296 | + <mavenExecutorId>forked-path</mavenExecutorId> |
| 297 | + <localCheckout>true</localCheckout> |
| 298 | + <preparationGoals>clean install</preparationGoals> |
| 299 | + <tagNameFormat>@{project.version}</tagNameFormat> |
| 300 | + </configuration> |
251 | 301 | </plugin> |
252 | 302 | <plugin> |
253 | 303 | <groupId>org.apache.maven.plugins</groupId> |
254 | 304 | <artifactId>maven-checkstyle-plugin</artifactId> |
255 | | - <version>3.3.0</version> |
| 305 | + <version>3.5.0</version> |
256 | 306 | </plugin> |
257 | 307 | </plugins> |
258 | 308 | </pluginManagement> |
259 | 309 | </build> |
| 310 | + |
| 311 | + <profiles> |
| 312 | + <profile> |
| 313 | + <id>release</id> |
| 314 | + <properties> |
| 315 | + <skipTests>true</skipTests> |
| 316 | + </properties> |
| 317 | + <build> |
| 318 | + <plugins> |
| 319 | + <plugin> |
| 320 | + <groupId>org.apache.maven.plugins</groupId> |
| 321 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 322 | + </plugin> |
| 323 | + <plugin> |
| 324 | + <groupId>org.apache.maven.plugins</groupId> |
| 325 | + <artifactId>maven-gpg-plugin</artifactId> |
| 326 | + <configuration> |
| 327 | + <skip>false</skip> |
| 328 | + </configuration> |
| 329 | + <executions> |
| 330 | + <execution> |
| 331 | + <id>sign-artifacts</id> |
| 332 | + <phase>verify</phase> |
| 333 | + <goals> |
| 334 | + <goal>sign</goal> |
| 335 | + </goals> |
| 336 | + </execution> |
| 337 | + </executions> |
| 338 | + </plugin> |
| 339 | + </plugins> |
| 340 | + </build> |
| 341 | + </profile> |
| 342 | + </profiles> |
260 | 343 | </project> |
0 commit comments