@@ -141,12 +141,50 @@ SPDX-License-Identifier: Apache-2.0
141
141
142
142
<profiles >
143
143
<profile >
144
- <id >native </id >
144
+ <id >jvm-image </id >
145
145
146
146
<properties >
147
+ <!-- Make a Docker Image, so the integration tests will be executed against the container -->
148
+ <quarkus .container-image.build>true</quarkus .container-image.build>
149
+ </properties >
150
+
151
+ <build >
152
+ <plugins >
153
+ <plugin >
154
+ <groupId >org.apache.maven.plugins</groupId >
155
+ <artifactId >maven-failsafe-plugin</artifactId >
156
+ <version >${surefire-plugin.version} </version >
157
+ <executions >
158
+ <execution >
159
+ <goals >
160
+ <goal >integration-test</goal >
161
+ <goal >verify</goal >
162
+ </goals >
163
+ <configuration >
164
+ <systemPropertyVariables >
165
+ <java .util.logging.manager>
166
+ org.jboss.logmanager.LogManager
167
+ </java .util.logging.manager>
168
+ <maven .home>${maven.home} </maven .home>
169
+ </systemPropertyVariables >
170
+ </configuration >
171
+ </execution >
172
+ </executions >
173
+ </plugin >
174
+ </plugins >
175
+ </build >
176
+ </profile >
177
+
178
+ <profile >
179
+ <id >native-image</id >
180
+
181
+ <properties >
182
+ <!-- Make a Docker Image, so the integration tests will be executed against the container -->
183
+ <quarkus .container-image.build>true</quarkus .container-image.build>
184
+
147
185
<quarkus .package.type>native</quarkus .package.type>
148
- <quarkus .native.container-build>true</ quarkus .native.container-build> < !-- Allows for creating a Linux executable without GraalVM being installed -->
149
- <quarkus .container-image. build>true</quarkus .container-image.build> <!-- Also make a Docker Image, so the native test will be executed against the container -- >
186
+ <!-- Allows for creating a Linux executable without GraalVM being installed -->
187
+ <quarkus .native. container-build>true</quarkus .native. container-build >
150
188
</properties >
151
189
152
190
<build >
@@ -163,8 +201,11 @@ SPDX-License-Identifier: Apache-2.0
163
201
</goals >
164
202
<configuration >
165
203
<systemPropertyVariables >
166
- <native .image.path>${project.build.directory} /${project.build.finalName} -runner</native .image.path>
167
- <java .util.logging.manager>org.jboss.logmanager.LogManager</java .util.logging.manager>
204
+ <native .image.path>
205
+ ${project.build.directory} /${project.build.finalName} -runner
206
+ </native .image.path>
207
+ <java .util.logging.manager>org.jboss.logmanager.LogManager
208
+ </java .util.logging.manager>
168
209
<maven .home>${maven.home} </maven .home>
169
210
</systemPropertyVariables >
170
211
</configuration >
@@ -190,8 +231,10 @@ SPDX-License-Identifier: Apache-2.0
190
231
<id >release</id >
191
232
192
233
<properties >
193
- <!-- Properties only used for publishing a native docker image (default to Docker Hub) -->
234
+ <!-- Make a Docker Image from the component -->
194
235
<quarkus .container-image.build>true</quarkus .container-image.build>
236
+
237
+ <!-- Properties only used for publishing a native docker image (default to Docker Hub) -->
195
238
<quarkus .container-image.push>true</quarkus .container-image.push>
196
239
<quarkus .container-image.additional-tags>latest</quarkus .container-image.additional-tags>
197
240
</properties >
0 commit comments