Skip to content

Commit

Permalink
Merge pull request #43 from mpbauer/enhancement/bump-to-spring-boot-2…
Browse files Browse the repository at this point in the history
….4.2

Bump to Spring Boot 2.4.2
  • Loading branch information
arey authored Feb 6, 2021
2 parents 9da75e0 + d5ee29a commit 151b306
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 8 deletions.
20 changes: 18 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@

<groupId>org.springframework.samples</groupId>
<artifactId>spring-petclinic-rest</artifactId>
<version>2.2.5</version>
<version>2.4.2</version>

<description>REST version of the Spring Petclinic sample application</description>
<url>https://spring-petclinic.github.io/</url>

<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.5.RELEASE</version>
<version>2.4.2</version>
<relativePath/> <!-- lookup parent from Maven repository -->
</parent>

Expand Down Expand Up @@ -60,6 +60,10 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
Expand Down Expand Up @@ -99,6 +103,18 @@
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
*/
@SpringBootTest
@RunWith(SpringJUnit4ClassRunner.class)
@ActiveProfiles("jdbc, hsqldb")
@ActiveProfiles({"jdbc", "hsqldb"})
public class ClinicServiceJdbcTests extends AbstractClinicServiceTests {


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

@SpringBootTest
@RunWith(SpringJUnit4ClassRunner.class)
@ActiveProfiles("jpa, hsqldb")
@ActiveProfiles({"jpa", "hsqldb"})
public class ClinicServiceJpaTests extends AbstractClinicServiceTests {

}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

@SpringBootTest
@RunWith(SpringJUnit4ClassRunner.class)
@ActiveProfiles("spring-data-jpa, hsqldb")
@ActiveProfiles({"spring-data-jpa", "hsqldb"})
public class ClinicServiceSpringDataJpaTests extends AbstractClinicServiceTests {

}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

@SpringBootTest
@RunWith(SpringJUnit4ClassRunner.class)
@ActiveProfiles("jdbc, hsqldb")
@ActiveProfiles({"jdbc", "hsqldb"})
public class UserServiceJdbcTests extends AbstractUserServiceTests {

}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

@SpringBootTest
@RunWith(SpringJUnit4ClassRunner.class)
@ActiveProfiles("jpa, hsqldb")
@ActiveProfiles({"jpa", "hsqldb"})
public class UserServiceJpaTests extends AbstractUserServiceTests {

}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

@SpringBootTest
@RunWith(SpringJUnit4ClassRunner.class)
@ActiveProfiles("spring-data-jpa, hsqldb")
@ActiveProfiles({"spring-data-jpa", "hsqldb"})
public class UserServiceSpringDataJpaTests extends AbstractUserServiceTests {

}

0 comments on commit 151b306

Please sign in to comment.