@@ -17,6 +17,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
17
17
18
18
<properties >
19
19
<java .version>11</java .version>
20
+ <spring-native .version>0.10.0</spring-native .version>
20
21
</properties >
21
22
22
23
<dependencyManagement >
@@ -70,7 +71,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
70
71
<dependency >
71
72
<groupId >org.springframework.data</groupId >
72
73
<artifactId >spring-data-rest-hal-explorer</artifactId >
73
- <scope >runtime</scope >
74
+ <!-- < scope>runtime</scope> -- >
74
75
</dependency >
75
76
76
77
<dependency >
@@ -123,11 +124,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
123
124
124
125
<!-- Misc -->
125
126
127
+ <!--
126
128
<dependency>
127
129
<groupId>org.springframework.boot</groupId>
128
130
<artifactId>spring-boot-devtools</artifactId>
129
131
<optional>true</optional>
130
132
</dependency>
133
+ -->
131
134
132
135
<dependency >
133
136
<groupId >org.javamoney.moneta</groupId >
@@ -145,6 +148,20 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
145
148
<artifactId >json-path</artifactId >
146
149
</dependency >
147
150
151
+ <!-- Spring native -->
152
+
153
+ <dependency >
154
+ <groupId >org.springframework.experimental</groupId >
155
+ <artifactId >spring-native</artifactId >
156
+ <version >${spring-native.version} </version >
157
+ </dependency >
158
+
159
+ <dependency >
160
+ <groupId >org.springframework.experimental</groupId >
161
+ <artifactId >spring-native-configuration</artifactId >
162
+ <version >${spring-native.version} </version >
163
+ </dependency >
164
+
148
165
</dependencies >
149
166
150
167
<build >
@@ -155,13 +172,21 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
155
172
<artifactId >spring-boot-maven-plugin</artifactId >
156
173
<configuration >
157
174
<executable >true</executable >
175
+ <image >
176
+ <builder >paketobuildpacks/builder:tiny</builder >
177
+ <env >
178
+ <BP_NATIVE_IMAGE >true</BP_NATIVE_IMAGE >
179
+ </env >
180
+ </image >
158
181
</configuration >
159
182
<dependencies >
183
+ <!--
160
184
<dependency>
161
185
<groupId>org.springframework.boot.experimental</groupId>
162
186
<artifactId>spring-boot-thin-layout</artifactId>
163
- <version >1.0.27.BUILD-SNAPSHOT </version >
187
+ <version>1.0.27.RELEASE </version>
164
188
</dependency>
189
+ -->
165
190
</dependencies >
166
191
</plugin >
167
192
@@ -185,6 +210,26 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
185
210
</dependencies >
186
211
</plugin >
187
212
213
+ <plugin >
214
+ <groupId >org.springframework.experimental</groupId >
215
+ <artifactId >spring-aot-maven-plugin</artifactId >
216
+ <version >${spring-native.version} </version >
217
+ <executions >
218
+ <execution >
219
+ <id >generate</id >
220
+ <goals >
221
+ <goal >generate</goal >
222
+ </goals >
223
+ </execution >
224
+ <execution >
225
+ <id >test-generate</id >
226
+ <goals >
227
+ <goal >test-generate</goal >
228
+ </goals >
229
+ </execution >
230
+ </executions >
231
+ </plugin >
232
+
188
233
</plugins >
189
234
</build >
190
235
@@ -200,6 +245,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
200
245
<enabled >false</enabled >
201
246
</snapshots >
202
247
</repository >
248
+ <repository >
249
+ <id >spring-release</id >
250
+ <url >https://repo.spring.io/release</url >
251
+ <snapshots >
252
+ <enabled >false</enabled >
253
+ </snapshots >
254
+ </repository >
203
255
</repositories >
204
256
205
257
<pluginRepositories >
@@ -214,6 +266,13 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/ma
214
266
<enabled >false</enabled >
215
267
</snapshots >
216
268
</pluginRepository >
269
+ <pluginRepository >
270
+ <id >spring-release</id >
271
+ <url >https://repo.spring.io/release</url >
272
+ <snapshots >
273
+ <enabled >false</enabled >
274
+ </snapshots >
275
+ </pluginRepository >
217
276
</pluginRepositories >
218
277
219
278
</project >
0 commit comments