質問編集履歴

1

pom.xmlの内容記述

2018/07/19 04:14

投稿

Sa10
Sa10

スコア10

test CHANGED
File without changes
test CHANGED
@@ -222,6 +222,134 @@
222
222
 
223
223
  ```
224
224
 
225
+ 以下、pom.xmlです。
226
+
227
+ ```xml
228
+
229
+ <?xml version="1.0" encoding="UTF-8"?>
230
+
231
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
232
+
233
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
234
+
235
+ <modelVersion>4.0.0</modelVersion>
236
+
237
+
238
+
239
+ <groupId>com.example</groupId>
240
+
241
+ <artifactId>s</artifactId>
242
+
243
+ <version>0.0.1-SNAPSHOT</version>
244
+
245
+ <packaging>jar</packaging>
246
+
247
+
248
+
249
+ <name>s</name>
250
+
251
+ <description>Demo project for Spring Boot</description>
252
+
253
+
254
+
255
+ <parent>
256
+
257
+ <groupId>org.springframework.boot</groupId>
258
+
259
+ <artifactId>spring-boot-starter-parent</artifactId>
260
+
261
+ <version>2.0.3.RELEASE</version>
262
+
263
+ <relativePath/> <!-- lookup parent from repository -->
264
+
265
+ </parent>
266
+
267
+
268
+
269
+ <properties>
270
+
271
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
272
+
273
+ <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
274
+
275
+ <java.version>1.8</java.version>
276
+
277
+ </properties>
278
+
279
+
280
+
281
+ <dependencies>
282
+
283
+ <dependency>
284
+
285
+ <groupId>org.springframework.boot</groupId>
286
+
287
+ <artifactId>spring-boot-starter-thymeleaf</artifactId>
288
+
289
+ </dependency>
290
+
291
+ <dependency>
292
+
293
+ <groupId>org.springframework.boot</groupId>
294
+
295
+ <artifactId>spring-boot-starter-web</artifactId>
296
+
297
+ </dependency>
298
+
299
+
300
+
301
+ <dependency>
302
+
303
+ <groupId>org.springframework.boot</groupId>
304
+
305
+ <artifactId>spring-boot-starter-test</artifactId>
306
+
307
+ <scope>test</scope>
308
+
309
+ </dependency>
310
+
311
+
312
+
313
+ <dependency>
314
+
315
+ <groupId>org.hibernate</groupId>
316
+
317
+ <artifactId>hibernate-validator</artifactId>
318
+
319
+ <version>5.2.4.Final</version>
320
+
321
+ </dependency>
322
+
323
+ </dependencies>
324
+
325
+
326
+
327
+ <build>
328
+
329
+ <plugins>
330
+
331
+ <plugin>
332
+
333
+ <groupId>org.springframework.boot</groupId>
334
+
335
+ <artifactId>spring-boot-maven-plugin</artifactId>
336
+
337
+ </plugin>
338
+
339
+ </plugins>
340
+
341
+ </build>
342
+
343
+
344
+
345
+
346
+
347
+ </project>
348
+
349
+
350
+
351
+ ```
352
+
225
353
  ### 試したこと
226
354
 
227
355