Skip to content

Commit a878e00

Browse files
committed
Compatible with JDK >= 8
1 parent 9800494 commit a878e00

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM tomcat:8.0-jre8
1+
FROM tomcat:9.0-jre11
22
MAINTAINER Hdiv Security
33

44
# Copy the application to tomcat

pom.xml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
<artifactId>maven-compiler-plugin</artifactId>
2222
<version>2.5.1</version>
2323
<configuration>
24-
<source>1.7</source>
25-
<target>1.7</target>
24+
<source>1.8</source>
25+
<target>1.8</target>
2626
</configuration>
2727
</plugin>
2828
<plugin>
@@ -36,12 +36,12 @@
3636
<plugin>
3737
<groupId>org.codehaus.cargo</groupId>
3838
<artifactId>cargo-maven2-plugin</artifactId>
39-
<version>1.3.3</version>
39+
<version>1.7.9</version>
4040
<configuration>
4141
<container>
42-
<containerId>tomcat7x</containerId>
42+
<containerId>tomcat9x</containerId>
4343
<zipUrlInstaller>
44-
<url>https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.85/bin/apache-tomcat-7.0.85.zip</url>
44+
<url>https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/9.0.29/tomcat-9.0.29.zip</url>
4545
</zipUrlInstaller>
4646
</container>
4747
<deployables>
@@ -126,6 +126,12 @@
126126
<artifactId>hibernate-validator</artifactId>
127127
<version>4.1.0.Final</version>
128128
</dependency>
129+
<!-- JAXB -->
130+
<dependency>
131+
<groupId>javax.xml.bind</groupId>
132+
<artifactId>jaxb-api</artifactId>
133+
<version>2.3.0</version>
134+
</dependency>
129135
<!-- Database -->
130136
<dependency>
131137
<groupId>com.jolbox</groupId>

0 commit comments

Comments
 (0)