|
26 | 26 |
|
27 | 27 | <properties>
|
28 | 28 | <gcf.skipInstallHooks>true</gcf.skipInstallHooks>
|
29 |
| - <git-code-format-maven-plugin.version>5.3</git-code-format-maven-plugin.version> |
30 |
| - <license-maven-plugin.version>4.6</license-maven-plugin.version> |
31 | 29 |
|
32 | 30 | <maven.deploy.skip>true</maven.deploy.skip>
|
| 31 | + |
33 | 32 | <maven.compiler.source>11</maven.compiler.source>
|
34 | 33 | <maven.compiler.target>11</maven.compiler.target>
|
| 34 | + |
| 35 | + <license-maven-plugin.version>4.6</license-maven-plugin.version> |
| 36 | + <git-code-format-maven-plugin.version>5.3</git-code-format-maven-plugin.version> |
35 | 37 | <maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
|
| 38 | + <surefire-plugin.version>3.5.0</surefire-plugin.version> |
36 | 39 |
|
37 | 40 | <flink.version>1.19.1</flink.version>
|
38 |
| - |
39 | 41 | <slf4j.version>1.7.36</slf4j.version>
|
40 | 42 | <log4j.version>2.17.1</log4j.version>
|
| 43 | + <feign.version>13.5</feign.version> |
| 44 | + |
| 45 | + <picocli.version>4.7.6</picocli.version> |
41 | 46 | </properties>
|
42 | 47 |
|
43 | 48 | <dependencies>
|
|
93 | 98 | <scope>runtime</scope>
|
94 | 99 | </dependency>
|
95 | 100 |
|
| 101 | + <dependency> |
| 102 | + <groupId>info.picocli</groupId> |
| 103 | + <artifactId>picocli</artifactId> |
| 104 | + <version>${picocli.version}</version> |
| 105 | + </dependency> |
96 | 106 | <dependency>
|
97 | 107 | <groupId>org.junit.jupiter</groupId>
|
98 | 108 | <artifactId>junit-jupiter</artifactId>
|
|
117 | 127 | <version>1.18.34</version>
|
118 | 128 | <scope>provided</scope>
|
119 | 129 | </dependency>
|
| 130 | + |
| 131 | + <dependency> |
| 132 | + <groupId>com.nextbreakpoint</groupId> |
| 133 | + <artifactId>com.nextbreakpoint.flinkclient</artifactId> |
| 134 | + <version>1.0.4</version> |
| 135 | + <scope>test</scope> |
| 136 | + </dependency> |
| 137 | + |
| 138 | + <dependency> |
| 139 | + <groupId>org.awaitility</groupId> |
| 140 | + <artifactId>awaitility</artifactId> |
| 141 | + <version>4.2.2</version> |
| 142 | + <scope>test</scope> |
| 143 | + </dependency> |
120 | 144 | </dependencies>
|
121 | 145 |
|
122 | 146 | <build>
|
|
223 | 247 | <licenseSets>
|
224 | 248 | <licenseSet>
|
225 | 249 | <header>com/mycila/maven/plugin/license/templates/APACHE-2.txt</header>
|
| 250 | + |
| 251 | + <excludes> |
| 252 | + <exclude>src/test/resources/**</exclude> |
| 253 | + </excludes> |
226 | 254 | </licenseSet>
|
227 | 255 | </licenseSets>
|
228 | 256 | <strictCheck>true</strictCheck>
|
|
244 | 272 | </execution>
|
245 | 273 | </executions>
|
246 | 274 | </plugin>
|
| 275 | + |
| 276 | + <plugin> |
| 277 | + <groupId>com.marvinformatics</groupId> |
| 278 | + <artifactId>docker-compose-maven-plugin</artifactId> |
| 279 | + <version>5.0.0</version> |
| 280 | + <configuration> |
| 281 | + <skip>${skipTests}</skip> |
| 282 | + <composeFile>${project.basedir}/src/test/resources/docker-compose.yml</composeFile> |
| 283 | + </configuration> |
| 284 | + <executions> |
| 285 | + <execution> |
| 286 | + <id>up</id> |
| 287 | + <goals> |
| 288 | + <goal>up</goal> |
| 289 | + </goals> |
| 290 | + <phase>pre-integration-test</phase> |
| 291 | + <configuration> |
| 292 | + <detachedMode>true</detachedMode> |
| 293 | + </configuration> |
| 294 | + </execution> |
| 295 | + <execution> |
| 296 | + <id>down</id> |
| 297 | + <goals> |
| 298 | + <goal>down</goal> |
| 299 | + </goals> |
| 300 | + <phase>verify</phase> |
| 301 | + <configuration> |
| 302 | + <removeVolumes>true</removeVolumes> |
| 303 | + </configuration> |
| 304 | + </execution> |
| 305 | + </executions> |
| 306 | + </plugin> |
| 307 | + |
| 308 | + <plugin> |
| 309 | + <groupId>org.apache.maven.plugins</groupId> |
| 310 | + <artifactId>maven-surefire-plugin</artifactId> |
| 311 | + <version>${surefire-plugin.version}</version> |
| 312 | + <configuration> |
| 313 | + <failIfNoSpecifiedTests>false</failIfNoSpecifiedTests> |
| 314 | + <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| 315 | + <forkCount>0.5C</forkCount> |
| 316 | + </configuration> |
| 317 | + </plugin> |
| 318 | + |
| 319 | + <plugin> |
| 320 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 321 | + <version>${surefire-plugin.version}</version> |
| 322 | + <executions> |
| 323 | + <execution> |
| 324 | + <goals> |
| 325 | + <goal>integration-test</goal> |
| 326 | + <goal>verify</goal> |
| 327 | + </goals> |
| 328 | + </execution> |
| 329 | + </executions> |
| 330 | + </plugin> |
247 | 331 | </plugins>
|
248 | 332 | </build>
|
249 | 333 |
|
|
303 | 387 | </build>
|
304 | 388 | </profile>
|
305 | 389 |
|
| 390 | + <profile> |
| 391 | + <!-- extra tasks only meant to be executed by CI server --> |
| 392 | + <id>ci</id> |
| 393 | + <properties> |
| 394 | + <gcf.skip>true</gcf.skip> |
| 395 | + </properties> |
| 396 | + |
| 397 | + <build> |
| 398 | + <plugins> |
| 399 | + <plugin> |
| 400 | + <groupId>org.codehaus.mojo</groupId> |
| 401 | + <artifactId>exec-maven-plugin</artifactId> |
| 402 | + <version>3.0.0</version> |
| 403 | + <executions> |
| 404 | + <execution> |
| 405 | + <goals> |
| 406 | + <goal>exec</goal> |
| 407 | + </goals> |
| 408 | + <phase>post-integration-test</phase> |
| 409 | + <configuration> |
| 410 | + <!-- print logs from cloud-compilation service, helpful when troubleshooting --> |
| 411 | + <executable>docker</executable> |
| 412 | + <arguments> |
| 413 | + <argument>logs</argument> |
| 414 | + <argument>flink-jar-runner-jobmanager-1</argument> |
| 415 | + </arguments> |
| 416 | + </configuration> |
| 417 | + </execution> |
| 418 | + </executions> |
| 419 | + </plugin> |
| 420 | + |
| 421 | + </plugins> |
| 422 | + </build> |
| 423 | + |
| 424 | + </profile> |
306 | 425 | <profile>
|
307 | 426 | <!-- just compile, skip all other checks -->
|
308 | 427 | <id>quickbuild</id>
|
|
0 commit comments