@@ -163,11 +163,15 @@ SPDX-License-Identifier: Apache-2.0
163
163
<configuration >
164
164
<properties >
165
165
<quarkus .profile>prod-postgresql</quarkus .profile>
166
- <quarkus .package.output-directory>postgresql-quarkus-app</quarkus .package.output-directory>
167
- <quarkus .docker.dockerfile-jvm-path>src/main/docker/Dockerfile-postgresql.jvm</quarkus .docker.dockerfile-jvm-path>
168
- <quarkus .docker.dockerfile-native-path>src/main/docker/Dockerfile-postgresql.native</quarkus .docker.dockerfile-native-path>
166
+ <quarkus .package.output-directory>postgresql-quarkus-app
167
+ </quarkus .package.output-directory>
168
+ <quarkus .docker.dockerfile-jvm-path>src/main/docker/Dockerfile-postgresql.jvm
169
+ </quarkus .docker.dockerfile-jvm-path>
170
+ <quarkus .docker.dockerfile-native-path>src/main/docker/Dockerfile-postgresql.native
171
+ </quarkus .docker.dockerfile-native-path>
169
172
<quarkus .container-image.tag>${project.version} -postgresql</quarkus .container-image.tag>
170
- <quarkus .container-image.additional-tags>latest-postgresql</quarkus .container-image.additional-tags>
173
+ <quarkus .container-image.additional-tags>latest-postgresql
174
+ </quarkus .container-image.additional-tags>
171
175
</properties >
172
176
</configuration >
173
177
</execution >
@@ -184,10 +188,13 @@ SPDX-License-Identifier: Apache-2.0
184
188
<properties >
185
189
<quarkus .profile>prod-basex</quarkus .profile>
186
190
<quarkus .package.output-directory>basex-quarkus-app</quarkus .package.output-directory>
187
- <quarkus .docker.dockerfile-jvm-path>src/main/docker/Dockerfile-basex.jvm</quarkus .docker.dockerfile-jvm-path>
188
- <quarkus .docker.dockerfile-native-path>src/main/docker/Dockerfile-basex.native</quarkus .docker.dockerfile-native-path>
191
+ <quarkus .docker.dockerfile-jvm-path>src/main/docker/Dockerfile-basex.jvm
192
+ </quarkus .docker.dockerfile-jvm-path>
193
+ <quarkus .docker.dockerfile-native-path>src/main/docker/Dockerfile-basex.native
194
+ </quarkus .docker.dockerfile-native-path>
189
195
<quarkus .container-image.tag>${project.version} -basex</quarkus .container-image.tag>
190
- <quarkus .container-image.additional-tags>latest-basex</quarkus .container-image.additional-tags>
196
+ <quarkus .container-image.additional-tags>latest-basex
197
+ </quarkus .container-image.additional-tags>
191
198
</properties >
192
199
</configuration >
193
200
</execution >
@@ -209,12 +216,50 @@ SPDX-License-Identifier: Apache-2.0
209
216
210
217
<profiles >
211
218
<profile >
212
- <id >native </id >
219
+ <id >jvm-image </id >
213
220
214
221
<properties >
222
+ <!-- Make a Docker Image, so the integration tests will be executed against the container -->
223
+ <quarkus .container-image.build>true</quarkus .container-image.build>
224
+ </properties >
225
+
226
+ <build >
227
+ <plugins >
228
+ <plugin >
229
+ <groupId >org.apache.maven.plugins</groupId >
230
+ <artifactId >maven-failsafe-plugin</artifactId >
231
+ <version >${surefire-plugin.version} </version >
232
+ <executions >
233
+ <execution >
234
+ <goals >
235
+ <goal >integration-test</goal >
236
+ <goal >verify</goal >
237
+ </goals >
238
+ <configuration >
239
+ <systemPropertyVariables >
240
+ <java .util.logging.manager>
241
+ org.jboss.logmanager.LogManager
242
+ </java .util.logging.manager>
243
+ <maven .home>${maven.home} </maven .home>
244
+ </systemPropertyVariables >
245
+ </configuration >
246
+ </execution >
247
+ </executions >
248
+ </plugin >
249
+ </plugins >
250
+ </build >
251
+ </profile >
252
+
253
+ <profile >
254
+ <id >native-image</id >
255
+
256
+ <properties >
257
+ <!-- Make a Docker Image, so the integration tests will be executed against the container -->
258
+ <quarkus .container-image.build>true</quarkus .container-image.build>
259
+
215
260
<quarkus .package.type>native</quarkus .package.type>
216
- <quarkus .native.container-build>true</ quarkus .native.container-build> < !-- Allows for creating a Linux executable without GraalVM being installed -->
217
- <quarkus .container-image. build>true</quarkus .container-image.build> <!-- Also make a Docker Image, so the native test will be executed against the container -- >
261
+ <!-- Allows for creating a Linux executable without GraalVM being installed -->
262
+ <quarkus .native. container-build>true</quarkus .native. container-build >
218
263
</properties >
219
264
220
265
<build >
@@ -232,8 +277,11 @@ SPDX-License-Identifier: Apache-2.0
232
277
</goals >
233
278
<configuration >
234
279
<systemPropertyVariables >
235
- <native .image.path>${project.build.directory} /basex-quarkus-app/${project.build.finalName} -runner</native .image.path>
236
- <java .util.logging.manager>org.jboss.logmanager.LogManager</java .util.logging.manager>
280
+ <native .image.path>
281
+ ${project.build.directory} /basex-quarkus-app/${project.build.finalName} -runner
282
+ </native .image.path>
283
+ <java .util.logging.manager>org.jboss.logmanager.LogManager
284
+ </java .util.logging.manager>
237
285
<maven .home>${maven.home} </maven .home>
238
286
</systemPropertyVariables >
239
287
</configuration >
@@ -259,8 +307,10 @@ SPDX-License-Identifier: Apache-2.0
259
307
<id >release</id >
260
308
261
309
<properties >
262
- <!-- Properties only used for publishing a native docker image (default to Docker Hub) -->
310
+ <!-- Make a Docker Image from the component -->
263
311
<quarkus .container-image.build>true</quarkus .container-image.build>
312
+
313
+ <!-- Properties only used for publishing a native docker image (default to Docker Hub) -->
264
314
<quarkus .container-image.push>true</quarkus .container-image.push>
265
315
</properties >
266
316
</profile >
0 commit comments