更新 pom.xml
This commit is contained in:
parent
e9229340ba
commit
72c7529b83
28
pom.xml
28
pom.xml
@ -14,4 +14,32 @@
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
||||
<!-- 添加打包插件(以 Maven JAR 插件为例) -->
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.3.0</version>
|
||||
<configuration>
|
||||
<!-- 配置主类(如果是可执行 JAR) -->
|
||||
<archive>
|
||||
<manifest>
|
||||
<mainClass>cn.edu.zust.dubbo.SingletonPattern</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
<!-- 添加必要依赖(示例:以 Java 基础依赖为例) -->
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.13.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
Loading…
x
Reference in New Issue
Block a user