|
1 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
2 | 3 | <modelVersion>4.0.0</modelVersion> |
3 | 4 | <groupId>com.baeldung</groupId> |
4 | 5 | <artifactId>spring-rest</artifactId> |
|
9 | 10 | <parent> |
10 | 11 | <groupId>org.springframework.boot</groupId> |
11 | 12 | <artifactId>spring-boot-starter-parent</artifactId> |
12 | | - <version>1.3.5.RELEASE</version> |
| 13 | + <version>1.4.2.RELEASE</version> |
13 | 14 | </parent> |
14 | 15 |
|
15 | 16 | <dependencies> |
|
24 | 25 | <groupId>org.springframework.boot</groupId> |
25 | 26 | <artifactId>spring-boot-starter-actuator</artifactId> |
26 | 27 | </dependency> |
| 28 | + <dependency> |
| 29 | + <groupId>org.springframework.boot</groupId> |
| 30 | + <artifactId>spring-boot-devtools</artifactId> |
| 31 | + </dependency> |
27 | 32 |
|
28 | 33 | <!-- Spring --> |
29 | 34 |
|
|
49 | 54 | <dependency> |
50 | 55 | <groupId>commons-fileupload</groupId> |
51 | 56 | <artifactId>commons-fileupload</artifactId> |
52 | | - <version>1.3.1</version> |
| 57 | + <version>1.3.2</version> |
53 | 58 | </dependency> |
54 | 59 | <!-- web --> |
55 | 60 |
|
|
73 | 78 | </dependency> |
74 | 79 |
|
75 | 80 | <dependency> |
76 | | - <groupId>com.fasterxml.jackson.dataformat</groupId> |
77 | | - <artifactId>jackson-dataformat-xml</artifactId> |
78 | | - </dependency> |
| 81 | + <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 82 | + <artifactId>jackson-dataformat-xml</artifactId> |
| 83 | + </dependency> |
79 | 84 |
|
80 | 85 | <dependency> |
81 | 86 | <groupId>com.thoughtworks.xstream</groupId> |
|
94 | 99 | <dependency> |
95 | 100 | <groupId>org.apache.commons</groupId> |
96 | 101 | <artifactId>commons-lang3</artifactId> |
97 | | - <version>3.2.1</version> |
| 102 | + <version>3.5</version> |
98 | 103 | </dependency> |
99 | 104 |
|
100 | 105 | <!-- logging --> |
|
157 | 162 | </dependency> |
158 | 163 |
|
159 | 164 | <dependency> |
160 | | - <groupId>com.jayway.restassured</groupId> |
161 | | - <artifactId>rest-assured</artifactId> |
162 | | - <version>${rest-assured.version}</version> |
163 | | - </dependency> |
| 165 | + <groupId>com.jayway.restassured</groupId> |
| 166 | + <artifactId>rest-assured</artifactId> |
| 167 | + <version>${rest-assured.version}</version> |
| 168 | + </dependency> |
164 | 169 |
|
165 | | - <!-- --> |
| 170 | + <!-- --> |
166 | 171 | <dependency> |
167 | 172 | <groupId>com.google.protobuf</groupId> |
168 | 173 | <artifactId>protobuf-java</artifactId> |
169 | | - <version>2.6.1</version> |
| 174 | + <version>3.1.0</version> |
| 175 | + </dependency> |
| 176 | + <dependency> |
| 177 | + <groupId>com.googlecode.protobuf-java-format</groupId> |
| 178 | + <artifactId>protobuf-java-format</artifactId> |
| 179 | + <version>1.4</version> |
170 | 180 | </dependency> |
171 | 181 |
|
172 | 182 | <dependency> |
|
206 | 216 | <artifactId>maven-surefire-plugin</artifactId> |
207 | 217 | <configuration> |
208 | 218 | <excludes> |
209 | | - <exclude>**/*LiveTest.java</exclude> |
| 219 | + <exclude>**/*IntegrationTest.java</exclude> |
| 220 | + <exclude>**/*LiveTest.java</exclude> |
210 | 221 | </excludes> |
211 | 222 | <systemPropertyVariables> |
212 | 223 | <!-- <provPersistenceTarget>h2</provPersistenceTarget> --> |
|
240 | 251 | </build> |
241 | 252 |
|
242 | 253 | <profiles> |
| 254 | + |
| 255 | + <profile> |
| 256 | + <id>integration</id> |
| 257 | + <build> |
| 258 | + <plugins> |
| 259 | + <plugin> |
| 260 | + <groupId>org.apache.maven.plugins</groupId> |
| 261 | + <artifactId>maven-surefire-plugin</artifactId> |
| 262 | + <executions> |
| 263 | + <execution> |
| 264 | + <phase>integration-test</phase> |
| 265 | + <goals> |
| 266 | + <goal>test</goal> |
| 267 | + </goals> |
| 268 | + <configuration> |
| 269 | + <excludes> |
| 270 | + <exclude>none</exclude> |
| 271 | + </excludes> |
| 272 | + <includes> |
| 273 | + <include>**/*IntegrationTest.java</include> |
| 274 | + </includes> |
| 275 | + </configuration> |
| 276 | + </execution> |
| 277 | + </executions> |
| 278 | + </plugin> |
| 279 | + |
| 280 | + </plugins> |
| 281 | + </build> |
| 282 | + </profile> |
| 283 | + |
243 | 284 | <profile> |
244 | 285 | <id>live</id> |
245 | 286 | <build> |
|
292 | 333 | </plugins> |
293 | 334 | </build> |
294 | 335 | </profile> |
| 336 | + |
295 | 337 | </profiles> |
296 | 338 |
|
297 | 339 | <properties> |
298 | 340 | <!-- Spring --> |
299 | 341 |
|
300 | 342 | <!-- persistence --> |
301 | 343 | <hibernate.version>4.3.11.Final</hibernate.version> |
302 | | - <mysql-connector-java.version>5.1.39</mysql-connector-java.version> |
| 344 | + <mysql-connector-java.version>5.1.40</mysql-connector-java.version> |
303 | 345 |
|
304 | 346 | <!-- various --> |
305 | 347 | <hibernate-validator.version>5.2.2.Final</hibernate-validator.version> |
306 | 348 |
|
307 | 349 | <!-- util --> |
308 | | - <guava.version>19.0</guava.version> |
| 350 | + <guava.version>20.0</guava.version> |
309 | 351 | <commons-lang3.version>3.4</commons-lang3.version> |
310 | 352 |
|
311 | 353 | <!-- testing --> |
|
323 | 365 | <logback.version>1.1.3</logback.version> |
324 | 366 |
|
325 | 367 | <!-- Maven plugins --> |
326 | | - <maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version> |
| 368 | + <maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version> |
327 | 369 | <maven-war-plugin.version>2.6</maven-war-plugin.version> |
328 | 370 | <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version> |
329 | 371 | <cargo-maven2-plugin.version>1.6.0</cargo-maven2-plugin.version> |
|
332 | 374 | <com.squareup.okhttp3.version>3.4.1</com.squareup.okhttp3.version> |
333 | 375 |
|
334 | 376 | </properties> |
335 | | - <reporting> |
| 377 | + |
| 378 | + <reporting> |
336 | 379 | <plugins> |
337 | 380 | <plugin> |
338 | 381 | <groupId>org.codehaus.mojo</groupId> |
|
345 | 388 | </plugin> |
346 | 389 | </plugins> |
347 | 390 | </reporting> |
| 391 | + |
348 | 392 | </project> |
0 commit comments