You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
230 lines
8.1 KiB
230 lines
8.1 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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>org.zhangzeyuan</groupId>
|
|
<artifactId>ssm01</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<packaging>war</packaging>
|
|
<properties>
|
|
<spring.version>5.3.30</spring.version>
|
|
</properties>
|
|
<dependencies>
|
|
<!--spring核心容器包-->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<!--spring切面包-->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-aspects</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<!--aop联盟包-->
|
|
<dependency>
|
|
<groupId>aopalliance</groupId>
|
|
<artifactId>aopalliance</artifactId>
|
|
<version>1.0</version>
|
|
</dependency>
|
|
<!--德鲁伊连接池-->
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>druid</artifactId>
|
|
<version>1.1.10</version>
|
|
</dependency>
|
|
<!--mysql驱动-->
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>8.0.22</version>
|
|
</dependency>
|
|
<!--springJDBC包-->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-jdbc</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<!--spring事务控制包-->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-tx</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<!--spring orm 映射依赖-->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-orm</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<!--Apache Commons日志包-->
|
|
<dependency>
|
|
<groupId>commons-logging</groupId>
|
|
<artifactId>commons-logging</artifactId>
|
|
<version>1.2</version>
|
|
</dependency>
|
|
<!--log4j2 日志-->
|
|
<dependency>
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
|
<version>2.14.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!--lombok -->
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.18.12</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!--spring test测试支持包-->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-test</artifactId>
|
|
<version>${spring.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!--junit5单元测试-->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<version>5.7.0</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!--springMVC支持包-->
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-web</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-webmvc</artifactId>
|
|
<version>${spring.version}</version>
|
|
</dependency>
|
|
<!--jsp 和Servlet 可选-->
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<version>4.0.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
<artifactId>javax.servlet.jsp-api</artifactId>
|
|
<version>2.3.3</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!--json依赖-->
|
|
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core -->
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-core</artifactId>
|
|
<version>2.15.2</version>
|
|
</dependency>
|
|
<!--mybatis 核心jar包-->
|
|
<dependency>
|
|
<groupId>org.mybatis</groupId>
|
|
<artifactId>mybatis</artifactId>
|
|
<version>3.5.3</version>
|
|
</dependency>
|
|
<!--spring mybatis整合包-->
|
|
<dependency>
|
|
<groupId>org.mybatis</groupId>
|
|
<artifactId>mybatis-spring</artifactId>
|
|
<version>2.0.3</version>
|
|
</dependency>
|
|
<!--文件上传依赖-->
|
|
<!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload -->
|
|
<dependency>
|
|
<groupId>commons-fileupload</groupId>
|
|
<artifactId>commons-fileupload</artifactId>
|
|
<version>1.4</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>2.8.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.sun.jersey</groupId>
|
|
<artifactId>jersey-client</artifactId>
|
|
<version>1.19</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<!--<plugins>
|
|
<plugin>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>3.2.2</version>
|
|
</plugin>
|
|
</plugins>-->
|
|
<!--<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugin</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<configuration>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
<!– <archive>
|
|
<manifest>
|
|
<mainClass>com.</mainClass>
|
|
</manifest>
|
|
</archive>–>
|
|
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>-->
|
|
<plugins>
|
|
<!-- 跳过测试 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.12.4</version>
|
|
<configuration>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!--jdk编译-->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.8.1</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
<encoding>UTF-8</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/java</directory>
|
|
<includes>
|
|
<include>**/*.yml</include>
|
|
<include>**/*.properties</include>
|
|
<include>**/*.xml</include>
|
|
</includes>
|
|
<filtering>false</filtering>
|
|
</resource>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<includes>
|
|
<include>**/*.yml</include>
|
|
<include>**/*.properties</include>
|
|
<include>**/*.xml</include>
|
|
</includes>
|
|
<filtering>false</filtering>
|
|
</resource>
|
|
</resources>
|
|
|
|
</build>
|
|
|
|
</project> |