From e823df36578106e73db93bc8bfccd058d41764b5 Mon Sep 17 00:00:00 2001 From: Dave Syer <dsyer@pivotal.io> Date: Fri, 5 Oct 2018 11:36:56 +0100 Subject: [PATCH] Update to Spring Boot 2.1 --- .mvn/wrapper/maven-wrapper.properties | 2 +- pom.xml | 30 ++++++++++++++++++++++++--- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index 25cc8af..6c8c0e0 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -1 +1 @@ -distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.3/apache-maven-3.3.3-bin.zip +distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.4/apache-maven-3.5.4-bin.zip diff --git a/pom.xml b/pom.xml index 0469cea..70bb292 100644 --- a/pom.xml +++ b/pom.xml @@ -5,12 +5,12 @@ <modelVersion>4.0.0</modelVersion> <groupId>org.springframework.samples</groupId> <artifactId>spring-petclinic</artifactId> - <version>2.0.0.BUILD-SNAPSHOT</version> + <version>2.1.0.BUILD-SNAPSHOT</version> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> - <version>2.0.4.RELEASE</version> + <version>2.1.0.BUILD-SNAPSHOT</version> </parent> <name>petclinic</name> @@ -27,7 +27,7 @@ <webjars-jquery.version>2.2.4</webjars-jquery.version> <wro4j.version>1.8.0</wro4j.version> - <jacoco.version>0.8.1</jacoco.version> + <jacoco.version>0.8.2</jacoco.version> </properties> @@ -200,6 +200,11 @@ <artifactId>bootstrap</artifactId> <version>${webjars-bootstrap.version}</version> </dependency> + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-core</artifactId> + <version>${mockito.version}</version> + </dependency> </dependencies> </plugin> </plugins> @@ -213,4 +218,23 @@ </license> </licenses> + <profiles> + <profile> + <id>java11+</id> + <activation> + <jdk>[11,)</jdk> + </activation> + <dependencies> + <dependency> + <groupId>javax.xml.bind</groupId> + <artifactId>jaxb-api</artifactId> + </dependency> + <dependency> + <groupId>org.glassfish.jaxb</groupId> + <artifactId>jaxb-runtime</artifactId> + </dependency> + </dependencies> + </profile> + </profiles> + </project> -- GitLab