回答編集履歴

1

pom.xml

2019/03/25 02:42

投稿

shinami
shinami

スコア334

test CHANGED
@@ -119,3 +119,105 @@
119
119
 
120
120
 
121
121
  まだ回答がなかったので参考まで。
122
+
123
+
124
+
125
+ #### pom.xml
126
+
127
+ ``` xml
128
+
129
+ <?xml version="1.0" encoding="UTF-8"?>
130
+
131
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
132
+
133
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
134
+
135
+ <modelVersion>4.0.0</modelVersion>
136
+
137
+ <parent>
138
+
139
+ <groupId>org.springframework.boot</groupId>
140
+
141
+ <artifactId>spring-boot-starter-parent</artifactId>
142
+
143
+ <version>2.1.3.RELEASE</version>
144
+
145
+ <relativePath/> <!-- lookup parent from repository -->
146
+
147
+ </parent>
148
+
149
+ <groupId>com.example</groupId>
150
+
151
+ <artifactId>BikeEc</artifactId>
152
+
153
+ <version>0.0.1-SNAPSHOT</version>
154
+
155
+ <name>BikeEc</name>
156
+
157
+ <description>Dev project for Spring Boot</description>
158
+
159
+
160
+
161
+ <properties>
162
+
163
+ <java.version>1.8</java.version>
164
+
165
+ </properties>
166
+
167
+
168
+
169
+ <dependencies>
170
+
171
+ <dependency>
172
+
173
+ <groupId>org.springframework.boot</groupId>
174
+
175
+ <artifactId>spring-boot-starter-thymeleaf</artifactId>
176
+
177
+ </dependency>
178
+
179
+ <dependency>
180
+
181
+ <groupId>org.springframework.boot</groupId>
182
+
183
+ <artifactId>spring-boot-starter-web</artifactId>
184
+
185
+ </dependency>
186
+
187
+
188
+
189
+ <dependency>
190
+
191
+ <groupId>org.springframework.boot</groupId>
192
+
193
+ <artifactId>spring-boot-starter-test</artifactId>
194
+
195
+ <scope>test</scope>
196
+
197
+ </dependency>
198
+
199
+ </dependencies>
200
+
201
+
202
+
203
+ <build>
204
+
205
+ <plugins>
206
+
207
+ <plugin>
208
+
209
+ <groupId>org.springframework.boot</groupId>
210
+
211
+ <artifactId>spring-boot-maven-plugin</artifactId>
212
+
213
+ </plugin>
214
+
215
+ </plugins>
216
+
217
+ </build>
218
+
219
+
220
+
221
+ </project>
222
+
223
+ ```