|
10 | 10 |
|
11 | 11 | <properties>
|
12 | 12 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
13 |
| - <java-operator-sdk.version>1.3.0</java-operator-sdk.version> |
| 13 | + <quarkus-plugin.version>1.8.1.Final</quarkus-plugin.version> |
| 14 | + <quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id> |
| 15 | + <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id> |
| 16 | + <quarkus.platform.version>1.8.3.Final</quarkus.platform.version> |
| 17 | + <surefire-plugin.version>3.0.0-M5</surefire-plugin.version> |
| 18 | + <compiler-plugin.version>3.8.1</compiler-plugin.version> |
| 19 | + <maven.compiler.parameters>true</maven.compiler.parameters> |
14 | 20 | <maven.compiler.source>11</maven.compiler.source>
|
15 | 21 | <maven.compiler.target>11</maven.compiler.target>
|
16 |
| - <jib-maven-plugin.version>2.5.2</jib-maven-plugin.version> |
| 22 | + <java-operator-sdk.version>1.3.1-SNAPSHOT</java-operator-sdk.version> |
17 | 23 | </properties>
|
18 | 24 |
|
| 25 | + <dependencyManagement> |
| 26 | + <dependencies> |
| 27 | + <dependency> |
| 28 | + <groupId>${quarkus.platform.group-id}</groupId> |
| 29 | + <artifactId>${quarkus.platform.artifact-id}</artifactId> |
| 30 | + <version>${quarkus.platform.version}</version> |
| 31 | + <type>pom</type> |
| 32 | + <scope>import</scope> |
| 33 | + </dependency> |
| 34 | + </dependencies> |
| 35 | + </dependencyManagement> |
| 36 | + |
19 | 37 | <dependencies>
|
20 | 38 | <dependency>
|
21 | 39 | <groupId>com.github.containersolutions</groupId>
|
22 | 40 | <artifactId>operator-framework</artifactId>
|
23 | 41 | <version>${java-operator-sdk.version}</version>
|
| 42 | + <exclusions> |
| 43 | + <exclusion> |
| 44 | + <groupId>io.fabric8</groupId> |
| 45 | + <artifactId>openshift-client</artifactId> |
| 46 | + </exclusion> |
| 47 | + </exclusions> |
24 | 48 | </dependency>
|
| 49 | + |
25 | 50 | <dependency>
|
26 |
| - <groupId>org.apache.logging.log4j</groupId> |
27 |
| - <artifactId>log4j-slf4j-impl</artifactId> |
28 |
| - <version>2.13.3</version> |
| 51 | + <groupId>io.fabric8</groupId> |
| 52 | + <artifactId>kubernetes-client</artifactId> |
29 | 53 | </dependency>
|
30 | 54 | <dependency>
|
31 |
| - <groupId>org.takes</groupId> |
32 |
| - <artifactId>takes</artifactId> |
33 |
| - <version>1.19</version> |
| 55 | + <groupId>io.quarkus</groupId> |
| 56 | + <artifactId>quarkus-resteasy</artifactId> |
34 | 57 | </dependency>
|
35 | 58 | <dependency>
|
36 |
| - <groupId>commons-io</groupId> |
37 |
| - <artifactId>commons-io</artifactId> |
38 |
| - <version>2.6</version> |
| 59 | + <groupId>io.quarkus</groupId> |
| 60 | + <artifactId>quarkus-junit5</artifactId> |
| 61 | + <scope>test</scope> |
| 62 | + </dependency> |
| 63 | + <dependency> |
| 64 | + <groupId>io.quarkus</groupId> |
| 65 | + <artifactId>quarkus-container-image-jib</artifactId> |
39 | 66 | </dependency>
|
40 | 67 | </dependencies>
|
41 | 68 |
|
42 | 69 | <build>
|
43 | 70 | <plugins>
|
44 | 71 | <plugin>
|
45 |
| - <groupId>com.google.cloud.tools</groupId> |
46 |
| - <artifactId>jib-maven-plugin</artifactId> |
47 |
| - <version>${jib-maven-plugin.version}</version> |
48 |
| - <configuration> |
49 |
| - <from> |
50 |
| - <image>gcr.io/distroless/java:11</image> |
51 |
| - </from> |
52 |
| - <to> |
53 |
| - <image>eu.gcr.io/adamsandor-test/tomcat-operator</image> |
54 |
| - </to> |
55 |
| - </configuration> |
| 72 | + <groupId>io.quarkus</groupId> |
| 73 | + <artifactId>quarkus-maven-plugin</artifactId> |
| 74 | + <version>${quarkus-plugin.version}</version> |
56 | 75 | <executions>
|
57 | 76 | <execution>
|
58 |
| - <phase>package</phase> |
59 | 77 | <goals>
|
| 78 | + <goal>generate-code</goal> |
| 79 | + <goal>generate-code-tests</goal> |
60 | 80 | <goal>build</goal>
|
61 | 81 | </goals>
|
62 | 82 | </execution>
|
63 | 83 | </executions>
|
64 | 84 | </plugin>
|
65 | 85 | <plugin>
|
66 |
| - <groupId>org.apache.maven.plugins</groupId> |
67 | 86 | <artifactId>maven-compiler-plugin</artifactId>
|
68 |
| - <version>3.8.1</version> |
| 87 | + <version>${compiler-plugin.version}</version> |
| 88 | + </plugin> |
| 89 | + <plugin> |
| 90 | + <artifactId>maven-surefire-plugin</artifactId> |
| 91 | + <version>${surefire-plugin.version}</version> |
| 92 | + <configuration> |
| 93 | + <systemPropertyVariables> |
| 94 | + <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> |
| 95 | + <maven.home>${maven.home}</maven.home> |
| 96 | + </systemPropertyVariables> |
| 97 | + </configuration> |
69 | 98 | </plugin>
|
70 | 99 | </plugins>
|
71 | 100 | </build>
|
|
0 commit comments