Skip to content

Commit 8fe7992

Browse files
authored
Update pom.xml
1 parent 23d998d commit 8fe7992

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

pom.xml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@
66
<artifactId>works-with-heroku</artifactId>
77
<version>1.0</version>
88
<packaging>war</packaging>
9+
10+
<!-- Updated Java version to 17 -->
911
<properties>
10-
<maven.compiler.source>11</maven.compiler.source>
11-
<maven.compiler.target>11</maven.compiler.target>
12+
<maven.compiler.source>17</maven.compiler.source>
13+
<maven.compiler.target>17</maven.compiler.target>
1214
</properties>
15+
1316
<dependencies>
1417
<dependency>
1518
<groupId>javax.servlet</groupId>
@@ -25,18 +28,23 @@
2528
</dependency>
2629
<dependency>
2730
<groupId>org.mockito</groupId>
28-
<artifactId>mockito-all</artifactId>
29-
<version>1.10.19</version>
31+
<artifactId>mockito-core</artifactId>
32+
<version>3.12.4</version>
3033
<scope>test</scope>
3134
</dependency>
3235
</dependencies>
3336

3437
<build>
35-
<plugins>
38+
<plugins>
39+
<plugin>
40+
<groupId>org.apache.maven.plugins</groupId>
41+
<artifactId>maven-war-plugin</artifactId>
42+
<version>3.3.1</version>
43+
</plugin>
3644
<plugin>
3745
<groupId>org.apache.maven.plugins</groupId>
3846
<artifactId>maven-dependency-plugin</artifactId>
39-
<version>2.3</version>
47+
<version>3.4.0</version>
4048
<executions>
4149
<execution>
4250
<phase>package</phase>

0 commit comments

Comments
 (0)