Maven: fix archetype pom.xml

This commit is contained in:
Alexey Andreev 2023-03-16 14:40:08 +01:00
parent ffe3f34731
commit b4b1bc0b11

View File

@ -8,7 +8,7 @@
<packaging>war</packaging> <packaging>war</packaging>
<properties> <properties>
<java.version>1.8</java.version> <java.version>11</java.version>
<teavm.version>${teavmVersion}</teavm.version> <teavm.version>${teavmVersion}</teavm.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
@ -30,11 +30,11 @@
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<!-- Servlet 3.1 specification --> <!-- Servlet specification -->
<dependency> <dependency>
<groupId>javax.servlet</groupId> <groupId>jakarta.servlet</groupId>
<artifactId>javax.servlet-api</artifactId> <artifactId>jakarta.servlet-api</artifactId>
<version>3.1.0</version> <version>6.0.0</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>
@ -54,7 +54,7 @@
<!-- Configure WAR plugin to include JavaScript files generated by TeaVM --> <!-- Configure WAR plugin to include JavaScript files generated by TeaVM -->
<plugin> <plugin>
<artifactId>maven-war-plugin</artifactId> <artifactId>maven-war-plugin</artifactId>
<version>2.4</version> <version>3.3.2</version>
<configuration> <configuration>
<webResources> <webResources>
<resource> <resource>