maven项目的目录结构如下所示
pom.xml文件内容如下所示
<?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>com.yanguobin</groupId> <artifactId>maven1</artifactId> <version>1.0-SNAPSHOT</version> </project>
原文地址:https://www.cnblogs.com/yanguobin/p/11958908.html
时间: 2024-10-10 00:43:03