2025-12-03 14:54:47 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2025-12-02 17:04:38 +08:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2025-12-03 14:54:47 +08:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
|
|
|
|
|
http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2025-12-02 17:04:38 +08:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2025-12-03 14:54:47 +08:00
|
|
|
|
2025-12-02 17:04:38 +08:00
|
|
|
<groupId>com.campus</groupId>
|
2025-12-04 16:15:16 +08:00
|
|
|
<artifactId>student-attendance</artifactId>
|
2025-12-02 17:04:38 +08:00
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
<packaging>war</packaging>
|
|
|
|
|
|
|
|
|
|
<properties>
|
2025-12-03 14:54:47 +08:00
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2025-12-04 16:15:16 +08:00
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
|
<maven.compiler.target>1.8</maven.compiler.target>
|
2025-12-03 14:54:47 +08:00
|
|
|
<spring.version>5.3.23</spring.version>
|
|
|
|
|
<mybatis.version>3.5.11</mybatis.version>
|
2025-12-04 16:15:16 +08:00
|
|
|
<mybatis.spring.version>2.1.1</mybatis.spring.version>
|
|
|
|
|
<mysql.version>8.0.33</mysql.version>
|
|
|
|
|
<druid.version>1.2.15</druid.version>
|
|
|
|
|
<servlet.version>4.0.1</servlet.version>
|
|
|
|
|
<jstl.version>1.2</jstl.version>
|
|
|
|
|
<jackson.version>2.14.2</jackson.version>
|
|
|
|
|
<slf4j.version>2.0.7</slf4j.version>
|
|
|
|
|
<logback.version>1.4.7</logback.version>
|
2025-12-02 17:04:38 +08:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
2025-12-04 16:15:16 +08:00
|
|
|
<!-- Spring Framework -->
|
2025-12-03 14:54:47 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
2025-12-02 17:04:38 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-webmvc</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-jdbc</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
2025-12-04 16:15:16 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-tx</artifactId>
|
|
|
|
|
<version>${spring.version}</version>
|
|
|
|
|
</dependency>
|
2025-12-02 17:04:38 +08:00
|
|
|
|
|
|
|
|
<!-- MyBatis -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
|
|
<artifactId>mybatis</artifactId>
|
|
|
|
|
<version>${mybatis.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mybatis</groupId>
|
2025-12-03 14:54:47 +08:00
|
|
|
<artifactId>mybatis-spring</artifactId>
|
|
|
|
|
<version>${mybatis.spring.version}</version>
|
2025-12-02 17:04:38 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
2025-12-04 16:15:16 +08:00
|
|
|
<!-- Database -->
|
2025-12-02 17:04:38 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
2025-12-04 16:15:16 +08:00
|
|
|
<version>${mysql.version}</version>
|
2025-12-02 17:04:38 +08:00
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>druid</artifactId>
|
2025-12-04 16:15:16 +08:00
|
|
|
<version>${druid.version}</version>
|
2025-12-02 17:04:38 +08:00
|
|
|
</dependency>
|
|
|
|
|
|
2025-12-04 16:15:16 +08:00
|
|
|
<!-- Servlet & JSP -->
|
2025-12-02 17:04:38 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
2025-12-04 16:15:16 +08:00
|
|
|
<version>${servlet.version}</version>
|
2025-12-02 17:04:38 +08:00
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
2025-12-04 16:15:16 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>jstl</artifactId>
|
|
|
|
|
<version>${jstl.version}</version>
|
|
|
|
|
</dependency>
|
2025-12-03 14:54:47 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
|
|
<artifactId>javax.servlet.jsp-api</artifactId>
|
|
|
|
|
<version>2.3.3</version>
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2025-12-04 16:15:16 +08:00
|
|
|
<!-- JSON Processing -->
|
2025-12-03 14:54:47 +08:00
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
2025-12-04 16:15:16 +08:00
|
|
|
<version>${jackson.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- Logging -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
|
<version>${logback.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- Testing (可选) -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
|
<version>4.13.2</version>
|
|
|
|
|
<scope>test</scope>
|
2025-12-03 14:54:47 +08:00
|
|
|
</dependency>
|
2025-12-02 17:04:38 +08:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
2025-12-04 16:15:16 +08:00
|
|
|
<finalName>student-attendance</finalName>
|
2025-12-02 17:04:38 +08:00
|
|
|
<plugins>
|
2025-12-03 14:54:47 +08:00
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2025-12-04 16:15:16 +08:00
|
|
|
<version>3.11.0</version>
|
2025-12-03 14:54:47 +08:00
|
|
|
<configuration>
|
2025-12-04 16:15:16 +08:00
|
|
|
<source>${maven.compiler.source}</source>
|
|
|
|
|
<target>${maven.compiler.target}</target>
|
|
|
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
2025-12-03 14:54:47 +08:00
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2025-12-04 16:15:16 +08:00
|
|
|
|
|
|
|
|
<!-- 用于将依赖包复制到lib目录 -->
|
2025-12-02 17:04:38 +08:00
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2025-12-04 16:15:16 +08:00
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
|
<version>3.3.2</version>
|
2025-12-02 17:04:38 +08:00
|
|
|
<configuration>
|
2025-12-04 16:15:16 +08:00
|
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
2025-12-02 17:04:38 +08:00
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</project>
|