93 lines
2.6 KiB
XML
93 lines
2.6 KiB
XML
<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>org.example</groupId>
|
|
<artifactId>JSP_Servlet_Template</artifactId>
|
|
<packaging>war</packaging>
|
|
<version>1.0-SNAPSHOT</version>
|
|
<name>JSP_Servlet_Template Maven Webapp</name>
|
|
<url>http://maven.apache.org</url>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>3.8.1</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- Servlet API -->
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
<version>4.0.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- JSP API -->
|
|
<dependency>
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
<artifactId>javax.servlet.jsp-api</artifactId>
|
|
<version>2.3.3</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>8.0.33</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-dbutils</groupId>
|
|
<artifactId>commons-dbutils</artifactId>
|
|
<version>1.7</version> <!-- 最新版本可以在 Maven 仓库查询 -->
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.mchange</groupId>
|
|
<artifactId>c3p0</artifactId>
|
|
<version>0.9.5.5</version> <!-- 最新版本请在 Maven 仓库查看 -->
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- JSTL -->
|
|
<dependency>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>jstl</artifactId>
|
|
<version>1.2</version>
|
|
</dependency>
|
|
|
|
<!-- Servlet Implementation (optional, usually provided by your server) -->
|
|
<dependency>
|
|
<groupId>org.apache.tomcat</groupId>
|
|
<artifactId>tomcat-servlet-api</artifactId>
|
|
<version>9.0.41</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- JSP Implementation (optional, usually provided by your server) -->
|
|
<dependency>
|
|
<groupId>org.apache.tomcat</groupId>
|
|
<artifactId>tomcat-jasper</artifactId>
|
|
<version>9.0.41</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<finalName>JSP_Servlet_Template</finalName>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>public</id>
|
|
<name>aliyun nexus</name>
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
</repository>
|
|
</repositories>
|
|
|
|
|
|
</project>
|