Skip to content

Commit 6663258

Browse files
committed
Updated Spring Boot to 1.3.0.BUILD-SNAPSHOT version.
Required to allow start/stop spring boot application. @see spring-projects/spring-boot#2525
1 parent 5ebbd24 commit 6663258

File tree

1 file changed

+39
-20
lines changed

1 file changed

+39
-20
lines changed

pom.xml

Lines changed: 39 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<!-- https://github.com/spring-projects/spring-boot/blob/v1.2.3.RELEASE/spring-boot-starters/spring-boot-starter-parent/pom.xml -->
1414
<groupId>org.springframework.boot</groupId>
1515
<artifactId>spring-boot-starter-parent</artifactId>
16-
<version>1.2.3.RELEASE</version>
16+
<version>1.3.0.BUILD-SNAPSHOT</version>
1717
</parent>
1818

1919
<properties>
@@ -485,8 +485,31 @@
485485
<checksumPolicy>fail</checksumPolicy>
486486
</snapshots>
487487
</repository>
488+
<repository>
489+
<id>spring-snapshots</id>
490+
<name>Spring Snapshots</name>
491+
<url>http://repo.spring.io/snapshot</url>
492+
<snapshots>
493+
<enabled>true</enabled>
494+
<updatePolicy>never</updatePolicy>
495+
<checksumPolicy>fail</checksumPolicy>
496+
</snapshots>
497+
</repository>
488498
</repositories>
489499

500+
<pluginRepositories>
501+
<pluginRepository>
502+
<id>spring-snapshots</id>
503+
<name>Spring Snapshots</name>
504+
<url>http://repo.spring.io/snapshot</url>
505+
<snapshots>
506+
<enabled>true</enabled>
507+
<updatePolicy>never</updatePolicy>
508+
<checksumPolicy>fail</checksumPolicy>
509+
</snapshots>
510+
</pluginRepository>
511+
</pluginRepositories>
512+
490513
<build>
491514
<finalName>${project.artifactId}</finalName>
492515

@@ -527,6 +550,21 @@
527550
-->
528551
<addResources>false</addResources>
529552
</configuration>
553+
<executions>
554+
<execution>
555+
<id>start-application</id>
556+
<goals>
557+
<goal>start</goal>
558+
</goals>
559+
</execution>
560+
<execution>
561+
<id>stop-application</id>
562+
<goals>
563+
<goal>stop</goal>
564+
</goals>
565+
</execution>
566+
</executions>
567+
530568
</plugin>
531569

532570
<plugin>
@@ -667,25 +705,6 @@
667705
</systemProperties>
668706
<skip>${skipTests}</skip>
669707
</configuration>
670-
<executions>
671-
<execution>
672-
<id>start-jetty</id>
673-
<phase>pre-integration-test</phase>
674-
<goals>
675-
<goal>run-war</goal>
676-
</goals>
677-
<configuration>
678-
<daemon>true</daemon>
679-
</configuration>
680-
</execution>
681-
<execution>
682-
<id>stop-jetty</id>
683-
<phase>post-integration-test</phase>
684-
<goals>
685-
<goal>stop</goal>
686-
</goals>
687-
</execution>
688-
</executions>
689708
</plugin>
690709

691710
<plugin>

0 commit comments

Comments
 (0)