53 lines
2.0 KiB
XML
Raw Permalink Normal View History

2023-05-18 18:33:21 +08:00
<?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>cn.czyx007</groupId>
<artifactId>demo516</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>4.0.1</version>
<!-- 依赖范围 provided表示运行期无效编译、测试期有效 -->
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<!-- 依赖范围 测试期间有效。编译、运行期无效 -->
<scope>test</scope>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.31</version>
<!-- 依赖范围 只在测试、运行期有效。编译期无效 -->
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid</artifactId>
<version>1.2.12</version>
<!--依赖范围: 在编译、运行、测试都有效。默认选项-->
<scope>compile</scope>
</dependency>
<dependency>
<groupId>cn.czyx007</groupId>
<artifactId>demo515</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
</project>