javaEEday04-依赖管理-生命周期

This commit is contained in:
2026-04-29 11:12:01 +08:00
parent e526b2423f
commit b56fc7fdac
3 changed files with 27 additions and 5 deletions

View File

@@ -18,6 +18,13 @@
<!-- <scope></scope> 默认不写是compile-->
<scope>test</scope>
</dependency>
<!--junit测试框架添加-->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
<!-- 打包插件 -->
@@ -29,6 +36,7 @@
<version>2.4.1</version>
<configuration>
<descriptorRefs><descriptorRef>jar-with-dependencies</descriptorRef></descriptorRefs>
<!-- 关键配置:关闭输出重定向,直接打印到控制台 -->
</configuration>
<executions>
<execution>