2023-12-01 21:20:53 +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>
|
|
|
|
|
|
2024-11-11 13:47:20 +08:00
|
|
|
|
<groupId>com.whai</groupId> <!--groupId表示当前 Maven 项目隶属的组织或公司-->
|
2024-04-11 13:08:32 +08:00
|
|
|
|
<artifactId>LeetCode</artifactId> <!--当前 Maven 项目的名称-->
|
|
|
|
|
<version>1.0-SNAPSHOT</version><!--定义了 Maven 项目当前所处版本-->
|
2024-11-11 13:47:20 +08:00
|
|
|
|
<packaging>pom</packaging>
|
2024-09-29 23:42:34 +08:00
|
|
|
|
<modules>
|
|
|
|
|
<module>ForJdk8</module>
|
|
|
|
|
<module>ForJdk17</module>
|
2024-10-19 23:18:38 +08:00
|
|
|
|
<module>SeleniumDemo</module>
|
2024-11-04 10:13:18 +08:00
|
|
|
|
<module>SpringCloud</module>
|
|
|
|
|
<module>SpringDemo</module>
|
2024-10-19 23:18:38 +08:00
|
|
|
|
</modules> <!--定义了 Maven 项目的打包方式(比如 jar,war...),默认使用 jar。-->
|
2023-12-01 21:20:53 +08:00
|
|
|
|
|
2024-11-18 21:43:57 +08:00
|
|
|
|
<!-- 依赖软件版本 -->
|
|
|
|
|
<properties>
|
|
|
|
|
<slf4j.version>1.7.30</slf4j.version>
|
|
|
|
|
</properties>
|
|
|
|
|
|
2024-10-19 23:18:38 +08:00
|
|
|
|
<dependencies>
|
2024-11-18 21:43:57 +08:00
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-simple-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
|
<!-- 注意,若无type为jar则报错-->
|
|
|
|
|
<type>jar</type>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
2024-10-19 23:18:38 +08:00
|
|
|
|
<!--hutool-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
|
<version>5.8.13</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
</dependencies>
|
2023-12-01 21:20:53 +08:00
|
|
|
|
|
2024-04-11 13:08:32 +08:00
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<!--javadoc-->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
|
<version>2.10.4</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
</plugin>
|
|
|
|
|
<!--maven-resource-plugin-->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
|
<version>2.6</version>
|
|
|
|
|
<!-- 'resources', 'outputDirectory'-->
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>copy-resources</id>
|
|
|
|
|
<phase>validate</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<outputDirectory>${project.build.directory}/classes/</outputDirectory>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
<filtering>true</filtering>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
|
2023-12-01 21:20:53 +08:00
|
|
|
|
</project>
|