|
10 | 10 | <name>Resource Flow Operator</name>
|
11 | 11 | <packaging>jar</packaging>
|
12 | 12 |
|
| 13 | + <!-- TODO remove --> |
| 14 | + <repositories> |
| 15 | + <repository> |
| 16 | + <id>snapshots-repo</id> |
| 17 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 18 | + <releases> |
| 19 | + <enabled>false</enabled> |
| 20 | + </releases> |
| 21 | + <snapshots> |
| 22 | + <enabled>true</enabled> |
| 23 | + </snapshots> |
| 24 | + </repository> |
| 25 | + </repositories> |
| 26 | + |
13 | 27 | <properties>
|
14 | 28 | <java.version>17</java.version>
|
15 | 29 | <maven.compiler.release>17</maven.compiler.release>
|
16 | 30 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
17 | 31 | <maven.compiler.source>${java.version}</maven.compiler.source>
|
18 | 32 | <maven.compiler.target>${java.version}</maven.compiler.target>
|
19 |
| - <josdk.version>4.8.2</josdk.version> |
20 |
| - <slf4j.version>1.7.36</slf4j.version> |
21 |
| - <junit.version>5.10.2</junit.version> |
22 |
| - <log4j.version>2.23.1</log4j.version> |
| 33 | + <surefire-plugin.version>3.2.5</surefire-plugin.version> |
23 | 34 | <fabric8-client.version>6.11.0</fabric8-client.version>
|
24 | 35 | <directory-maven-plugin.version>1.0</directory-maven-plugin.version>
|
25 | 36 | <impsort-maven-plugin.version>1.9.0</impsort-maven-plugin.version>
|
26 | 37 | <formatter-maven-plugin.version>2.23.0</formatter-maven-plugin.version>
|
27 |
| - <graalvm.version>23.0.3</graalvm.version> |
| 38 | + <graalvm.version>24.0.0</graalvm.version> |
28 | 39 | <mokito.version>5.11.0</mokito.version>
|
29 | 40 | <mustache.version>0.9.11</mustache.version>
|
| 41 | + <qosdk.version>6.6.7</qosdk.version> |
| 42 | + <assertj.version>3.25.3</assertj.version> |
30 | 43 | </properties>
|
31 | 44 |
|
32 |
| -<!-- <dependencyManagement>--> |
33 |
| -<!-- <dependencies>--> |
34 |
| -<!-- <dependency>--> |
35 |
| -<!-- <groupId>io.javaoperatorsdk</groupId>--> |
36 |
| -<!-- <artifactId>operator-framework-bom</artifactId>--> |
37 |
| -<!-- <version>${josdk.version}</version>--> |
38 |
| -<!-- <type>pom</type>--> |
39 |
| -<!-- <scope>import</scope>--> |
40 |
| -<!-- </dependency>--> |
41 |
| -<!-- </dependencies>--> |
42 |
| -<!-- </dependencyManagement>--> |
| 45 | + <dependencyManagement> |
| 46 | + <dependencies> |
| 47 | + <dependency> |
| 48 | + <groupId>io.fabric8</groupId> |
| 49 | + <artifactId>kubernetes-client-bom</artifactId> |
| 50 | + <version>${fabric8-client.version}</version> |
| 51 | + <type>pom</type> |
| 52 | + <scope>import</scope> |
| 53 | + </dependency> |
| 54 | + <dependency> |
| 55 | + <groupId>io.quarkiverse.operatorsdk</groupId> |
| 56 | + <artifactId>quarkus-operator-sdk-bom</artifactId> |
| 57 | + <version>${qosdk.version}</version> |
| 58 | + <scope>import</scope> |
| 59 | + <type>pom</type> |
| 60 | + </dependency> |
| 61 | + </dependencies> |
| 62 | + </dependencyManagement> |
43 | 63 |
|
44 | 64 | <dependencies>
|
45 | 65 | <dependency>
|
46 |
| - <groupId>io.fabric8</groupId> |
47 |
| - <artifactId>kubernetes-client</artifactId> |
48 |
| - <version>${fabric8-client.version}</version> |
49 |
| - </dependency> |
50 |
| - <dependency> |
51 |
| - <groupId>io.javaoperatorsdk</groupId> |
52 |
| - <artifactId>operator-framework</artifactId> |
53 |
| - <version>${josdk.version}</version> |
| 66 | + <groupId>io.quarkiverse.operatorsdk</groupId> |
| 67 | + <artifactId>quarkus-operator-sdk</artifactId> |
54 | 68 | </dependency>
|
55 | 69 | <dependency>
|
56 |
| - <groupId>io.fabric8</groupId> |
57 |
| - <artifactId>generator-annotations</artifactId> |
58 |
| - <version>${fabric8-client.version}</version> |
| 70 | + <groupId>io.quarkiverse.operatorsdk</groupId> |
| 71 | + <artifactId>quarkus-operator-sdk-bundle-generator</artifactId> |
59 | 72 | </dependency>
|
60 | 73 | <dependency>
|
61 |
| - <groupId>io.fabric8</groupId> |
62 |
| - <artifactId>crd-generator-apt</artifactId> |
63 |
| - <version>${fabric8-client.version}</version> |
64 |
| - <scope>provided</scope> |
| 74 | + <groupId>io.quarkus</groupId> |
| 75 | + <artifactId>quarkus-junit5</artifactId> |
| 76 | + <scope>test</scope> |
65 | 77 | </dependency>
|
66 | 78 | <dependency>
|
67 |
| - <groupId>io.javaoperatorsdk</groupId> |
68 |
| - <artifactId>operator-framework-junit-5</artifactId> |
69 |
| - <version>${josdk.version}</version> |
| 79 | + <groupId>io.quarkus</groupId> |
| 80 | + <artifactId>quarkus-junit5-mockito</artifactId> |
70 | 81 | <scope>test</scope>
|
71 | 82 | </dependency>
|
72 | 83 | <dependency>
|
73 |
| - <groupId>org.slf4j</groupId> |
74 |
| - <artifactId>slf4j-api</artifactId> |
75 |
| - <version>${slf4j.version}</version> |
| 84 | + <groupId>org.jboss.slf4j</groupId> |
| 85 | + <artifactId>slf4j-jboss-logmanager</artifactId> |
76 | 86 | </dependency>
|
77 | 87 | <dependency>
|
78 |
| - <groupId>org.apache.logging.log4j</groupId> |
79 |
| - <artifactId>log4j-slf4j-impl</artifactId> |
80 |
| - <version>${log4j.version}</version> |
| 88 | + <groupId>io.fabric8</groupId> |
| 89 | + <artifactId>generator-annotations</artifactId> |
| 90 | + <version>${fabric8-client.version}</version> |
81 | 91 | </dependency>
|
82 | 92 | <dependency>
|
83 |
| - <groupId>org.apache.logging.log4j</groupId> |
84 |
| - <artifactId>log4j-core</artifactId> |
85 |
| - <version>${log4j.version}</version> |
| 93 | + <groupId>org.awaitility</groupId> |
| 94 | + <artifactId>awaitility</artifactId> |
| 95 | + <scope>test</scope> |
86 | 96 | </dependency>
|
87 | 97 | <dependency>
|
88 |
| - <groupId>org.junit.jupiter</groupId> |
89 |
| - <artifactId>junit-jupiter-api</artifactId> |
| 98 | + <groupId>org.assertj</groupId> |
| 99 | + <artifactId>assertj-core</artifactId> |
| 100 | + <version>${assertj.version}</version> |
90 | 101 | <scope>test</scope>
|
91 |
| - <version>${junit.version}</version> |
92 | 102 | </dependency>
|
93 | 103 | <dependency>
|
94 |
| - <groupId>org.junit.jupiter</groupId> |
95 |
| - <artifactId>junit-jupiter-engine</artifactId> |
96 |
| - <scope>test</scope> |
97 |
| - <version>${junit.version}</version> |
| 104 | + <groupId>io.quarkus</groupId> |
| 105 | + <artifactId>quarkus-container-image-jib</artifactId> |
98 | 106 | </dependency>
|
99 | 107 | <dependency>
|
100 |
| - <groupId>org.mockito</groupId> |
101 |
| - <artifactId>mockito-core</artifactId> |
102 |
| - <version>${mokito.version}</version> |
103 |
| - <scope>test</scope> |
| 108 | + <groupId>org.graalvm.polyglot</groupId> |
| 109 | + <artifactId>polyglot</artifactId> |
| 110 | + <version>${graalvm.version}</version> |
104 | 111 | </dependency>
|
105 | 112 | <dependency>
|
106 | 113 | <groupId>org.graalvm.js</groupId>
|
107 | 114 | <artifactId>js-scriptengine</artifactId>
|
108 | 115 | <version>${graalvm.version}</version>
|
109 | 116 | </dependency>
|
110 | 117 | <dependency>
|
111 |
| - <groupId>org.graalvm.js</groupId> |
112 |
| - <artifactId>js</artifactId> |
| 118 | + <groupId>org.graalvm.polyglot</groupId> |
| 119 | + <artifactId>js-community</artifactId> |
113 | 120 | <version>${graalvm.version}</version>
|
| 121 | + <type>pom</type> |
114 | 122 | <scope>runtime</scope>
|
115 | 123 | </dependency>
|
116 | 124 | <dependency>
|
117 | 125 | <groupId>com.github.spullara.mustache.java</groupId>
|
118 | 126 | <artifactId>compiler</artifactId>
|
119 | 127 | <version>${mustache.version}</version>
|
120 | 128 | </dependency>
|
| 129 | + <dependency> |
| 130 | + <groupId>org.bouncycastle</groupId> |
| 131 | + <artifactId>bcpkix-jdk18on</artifactId> |
| 132 | + <optional>true</optional> |
| 133 | + </dependency> |
| 134 | + <dependency> |
| 135 | + <groupId>io.fabric8</groupId> |
| 136 | + <artifactId>crd-generator-apt</artifactId> |
| 137 | + <scope>test</scope> |
| 138 | + <version>${fabric8-client.version}</version> |
| 139 | + </dependency> |
121 | 140 | </dependencies>
|
122 | 141 |
|
123 | 142 | <build>
|
|
146 | 165 | </plugins>
|
147 | 166 | </pluginManagement>
|
148 | 167 | <plugins>
|
| 168 | + <plugin> |
| 169 | + <groupId>io.quarkus</groupId> |
| 170 | + <artifactId>quarkus-maven-plugin</artifactId> |
| 171 | + <executions> |
| 172 | + <execution> |
| 173 | + <goals> |
| 174 | + <goal>build</goal> |
| 175 | + </goals> |
| 176 | + </execution> |
| 177 | + </executions> |
| 178 | + </plugin> |
| 179 | + <plugin> |
| 180 | + <artifactId>maven-surefire-plugin</artifactId> |
| 181 | + <version>${surefire-plugin.version}</version> |
| 182 | + <configuration> |
| 183 | + <systemPropertyVariables> |
| 184 | + <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> |
| 185 | + <maven.home>${maven.home}</maven.home> |
| 186 | + </systemPropertyVariables> |
| 187 | + </configuration> |
| 188 | + </plugin> |
| 189 | + <plugin> |
| 190 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 191 | + <version>${surefire-plugin.version}</version> |
| 192 | + <executions> |
| 193 | + <execution> |
| 194 | + <goals> |
| 195 | + <goal>integration-test</goal> |
| 196 | + <goal>verify</goal> |
| 197 | + </goals> |
| 198 | + </execution> |
| 199 | + </executions> |
| 200 | + <configuration> |
| 201 | + <systemPropertyVariables> |
| 202 | + <native.image.path>${project.build.directory}/${project.build.finalName}-runner |
| 203 | + </native.image.path> |
| 204 | + <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> |
| 205 | + <maven.home>${maven.home}</maven.home> |
| 206 | + </systemPropertyVariables> |
| 207 | + </configuration> |
| 208 | + </plugin> |
149 | 209 | <plugin>
|
150 | 210 | <groupId>org.apache.maven.plugins</groupId>
|
151 | 211 | <artifactId>maven-compiler-plugin</artifactId>
|
|
178 | 238 | </goals>
|
179 | 239 | <configuration>
|
180 | 240 | <!--suppress UnresolvedMavenProperty -->
|
181 |
| - <configFile>${resourceglueoperator.project.root}/contributing/eclipse-google-style.xml</configFile> |
| 241 | + <configFile>${resourceglueoperator.project.root}/contributing/eclipse-google-style.xml |
| 242 | + </configFile> |
182 | 243 | </configuration>
|
183 | 244 | </execution>
|
184 | 245 | </executions>
|
|
0 commit comments