|
|
|
<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>struts7-springboot3-integration</artifactId>
|
|
|
|
<version>1.0.2</version>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<name>Struts7 Spring-Boot3 HelloWorld Demo</name>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<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>
|
|
|
|
<spring-cloud-dependencies.version>2024.0.1</spring-cloud-dependencies.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>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-dependencies</artifactId>
|
|
|
|
<version>${spring-cloud-dependencies.version}</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>jakarta.servlet.jsp</groupId>
|
|
|
|
<artifactId>jakarta.servlet.jsp-api</artifactId>
|
|
|
|
<version>${jsp-api.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>jakarta.servlet.jsp.jstl</groupId>
|
|
|
|
<artifactId>jakarta.servlet.jsp.jstl-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
<artifactId>struts2-core</artifactId>
|
|
|
|
<version>${struts.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
<artifactId>struts2-spring-plugin</artifactId>
|
|
|
|
<version>${struts.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.struts</groupId>
|
|
|
|
<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>${maven-compiler-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<source>${java.version}</source>
|
|
|
|
<target>${java.version}</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
<version>${spring-boot.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>repackage</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|