|
|
|
@ -1,48 +1,49 @@
|
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
|
|
<groupId>com.example</groupId>
|
|
|
|
|
<artifactId>struts2-spring-boot-integration</artifactId>
|
|
|
|
|
<artifactId>struts7-springboot3-integration</artifactId>
|
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
|
|
<name>Spring Boot Struts Demo</name>
|
|
|
|
|
<name>Struts7 Spring-Boot3 HelloWorld Demo</name>
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
<java.version>11</java.version>
|
|
|
|
|
<spring-boot.version>1.5.22.RELEASE</spring-boot.version>
|
|
|
|
|
<struts.version>2.5.30</struts.version>
|
|
|
|
|
<java.version>17</java.version>
|
|
|
|
|
<spring-boot.version>3.4.3</spring-boot.version>
|
|
|
|
|
<struts.version>7.0.3</struts.version>
|
|
|
|
|
<maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
|
|
|
|
|
<servlet-api.version>6.1.0</servlet-api.version>
|
|
|
|
|
<jsp-api.version>4.0.0</jsp-api.version>
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-dependencies</artifactId>
|
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
</dependencyManagement>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
|
<version>4.0.1</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
|
|
<artifactId>javax.servlet.jsp-api</artifactId>
|
|
|
|
|
<version>2.3.3</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>jstl</artifactId>
|
|
|
|
|
<version>1.2</version>
|
|
|
|
|
<groupId>jakarta.servlet.jsp</groupId>
|
|
|
|
|
<artifactId>jakarta.servlet.jsp-api</artifactId>
|
|
|
|
|
<version>${jsp-api.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
|
|
|
|
<artifactId>tomcat-embed-jasper</artifactId>
|
|
|
|
|
<version>8.5.78</version>
|
|
|
|
|
<groupId>jakarta.servlet.jsp.jstl</groupId>
|
|
|
|
|
<artifactId>jakarta.servlet.jsp.jstl-api</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
|
<artifactId>struts2-core</artifactId>
|
|
|
|
@ -55,15 +56,19 @@
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
|
<artifactId>struts2-java8-support-plugin</artifactId>
|
|
|
|
|
<version>2.5.2</version>
|
|
|
|
|
<artifactId>struts2-convention-plugin</artifactId>
|
|
|
|
|
<version>${struts.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
|
|
|
|
<artifactId>tomcat-embed-jasper</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
<version>3.6.0</version>
|
|
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<source>${java.version}</source>
|
|
|
|
|
<target>${java.version}</target>
|
|
|
|
|