| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- <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/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>com.sf</groupId>
- <artifactId>ssm-rbac</artifactId>
- <packaging>war</packaging>
- <version>1.0-SNAPSHOT</version>
- <!--用来控制引入的各个坐标依赖的版本-->
- <properties>
- <servlet.version>3.1.0</servlet.version>
- <spring.version>5.2.10.RELEASE</spring.version>
- <jackson.version>2.9.0</jackson.version>
- <mybatis.version>3.5.9</mybatis.version>
- <mybatis-spring.version>1.3.2</mybatis-spring.version>
- <mysql.version>8.0.33</mysql.version>
- <druid.version>1.2.22</druid.version>
- <lombok.version>1.18.38</lombok.version>
- <junit.version>4.12</junit.version>
- </properties>
- <!--引入maven坐标依赖-->
- <dependencies>
- <!--引入springMVC的坐标依赖,springMVC依赖里面默认包含spring依赖-->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-webmvc</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <!--引入spring整合测试类依赖-->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-test</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <!--引入spring连接数据库依赖-->
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-jdbc</artifactId>
- <version>${spring.version}</version>
- </dependency>
- <!--引入MySQL依赖-->
- <dependency>
- <groupId>com.mysql</groupId>
- <artifactId>mysql-connector-j</artifactId>
- <version>${mysql.version}</version>
- </dependency>
- <!--引入mybatis依赖坐标-->
- <dependency>
- <groupId>org.mybatis</groupId>
- <artifactId>mybatis</artifactId>
- <version>${mybatis.version}</version>
- </dependency>
- <!--引入mybatis整合spring依赖坐标-->
- <dependency>
- <groupId>org.mybatis</groupId>
- <artifactId>mybatis-spring</artifactId>
- <version>${mybatis-spring.version}</version>
- </dependency>
- <!--引入阿里巴巴提供的数据源druid德鲁伊依赖-->
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>druid</artifactId>
- <version>${druid.version}</version>
- </dependency>
- <!--引入JSON数据转换的坐标依赖-->
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
- <version>${jackson.version}</version>
- </dependency>
- <!--引入servlet依赖坐标-->
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- <version>${servlet.version}</version>
- <scope>provided</scope> <!--表示当前的依赖只在编译和测试阶段可用,不会打包到最终的部署包中-->
- </dependency>
- <!--引入Lombok依赖坐标-->
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>${lombok.version}</version>
- </dependency>
- <!--引入Junit依赖坐标-->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${junit.version}</version>
- <scope>test</scope> <!--当前的依赖只在测试阶段可用,在打包部署的时候,不包含本依赖-->
- </dependency>
- </dependencies>
- </project>
|