Skip to content
This repository was archived by the owner on Jan 4, 2024. It is now read-only.

Commit 6773080

Browse files
committed
Updating external dependencies
Production related is only the update of Spring boot from v1.5 to v2.0
1 parent 7809c17 commit 6773080

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

pom.xml

+13-5
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<parent>
1111
<groupId>org.springframework.boot</groupId>
1212
<artifactId>spring-boot-starter-parent</artifactId>
13-
<version>1.5.7.RELEASE</version>
13+
<version>2.0.2.RELEASE</version>
1414
</parent>
1515
<prerequisites>
1616
<maven>3.3.9</maven>
@@ -21,10 +21,11 @@
2121
<maven.compiler.target>1.8</maven.compiler.target>
2222
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2323
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
24-
<selenium.version>3.6.0</selenium.version>
25-
<webdrivermanager.version>1.7.2</webdrivermanager.version>
26-
<docker-compose-rule-junit4.version>0.32.1</docker-compose-rule-junit4.version>
27-
<maven.checkstyle.plugin.version>2.17</maven.checkstyle.plugin.version>
24+
<selenium.version>3.12.0</selenium.version>
25+
<webdrivermanager.version>2.2.1</webdrivermanager.version>
26+
<docker-compose-rule-junit4.version>0.33.0</docker-compose-rule-junit4.version>
27+
<maven.checkstyle.plugin.version>3.0.0</maven.checkstyle.plugin.version>
28+
<puppycrawl-checkstyle.version>8.9</puppycrawl-checkstyle.version>
2829
</properties>
2930
<repositories>
3031
<repository>
@@ -81,6 +82,13 @@
8182
<plugin>
8283
<artifactId>maven-checkstyle-plugin</artifactId>
8384
<version>${maven.checkstyle.plugin.version}</version>
85+
<dependencies>
86+
<dependency>
87+
<groupId>com.puppycrawl.tools</groupId>
88+
<artifactId>checkstyle</artifactId>
89+
<version>${puppycrawl-checkstyle.version}</version>
90+
</dependency>
91+
</dependencies>
8492
<configuration>
8593
<includeTestSourceDirectory>true</includeTestSourceDirectory>
8694
<configLocation>google_checks.xml</configLocation>

src/test/java/schulte/markus/seleniumstandalonechromespringboot/controller/HelloControllerIT.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
import org.openqa.selenium.WebElement;
1919
import org.openqa.selenium.remote.DesiredCapabilities;
2020
import org.openqa.selenium.remote.RemoteWebDriver;
21-
import org.springframework.boot.context.embedded.LocalServerPort;
2221
import org.springframework.boot.test.context.SpringBootTest;
22+
import org.springframework.boot.web.server.LocalServerPort;
2323
import org.springframework.test.context.junit4.SpringRunner;
2424

2525
@RunWith(SpringRunner.class)
@@ -84,7 +84,7 @@ public void setUp() throws MalformedURLException {
8484
}
8585

8686
@Test
87-
public void getHello() throws Exception {
87+
public void getHello() {
8888
driver.get(base.toString());
8989

9090
final WebElement h1Element = driver.findElement(By.id("h1-hello"));

0 commit comments

Comments
 (0)