-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
89 lines (73 loc) · 2.86 KB
/
pom.xml
File metadata and controls
89 lines (73 loc) · 2.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
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>
<parent>
<groupId>dev.scx</groupId>
<artifactId>scx-parent</artifactId>
<version>1</version>
<relativePath/>
</parent>
<artifactId>scx-exception</artifactId>
<version>0.2.0</version>
<packaging>jar</packaging>
<name>SCX Exception</name>
<description>
SCX Exception
</description>
<url>https://github.com/scx-projects/scx-exception</url>
<licenses>
<license>
<name>MIT License</name>
<url>https://github.com/scx-projects/scx-exception/blob/master/LICENSE</url>
</license>
</licenses>
<developers>
<developer>
<id>scx567888</id>
<name>scx567888</name>
<email>scx567888@outlook.com</email>
</developer>
</developers>
<scm>
<connection>scm:git:https://github.com/scx-projects/scx-exception.git</connection>
<developerConnection>scm:git:https://github.com/scx-projects/scx-exception.git</developerConnection>
<url>https://github.com/scx-projects/scx-exception</url>
</scm>
<build>
<plugins>
<!-- 此插件用于将项目打包为 可执行 jar 包-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<!-- 因为 scx 并不是可执行 jar 包, 所以此处不添加 classpath 到描述文件中 -->
<addClasspath>false</addClasspath>
</manifest>
</archive>
<!-- 此处因为没有类似 maven-source-plugin 插件中 excludeResources 的选项 -->
<!-- 所以在这里手动排除资源文件, 具体文件说明见下方 -->
<excludes>
<!-- 默认 git 占位空文件 -->
<exclude>/.gitkeep</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<!-- TestNG 测试包 -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>${testng.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<properties>
<!-- *********************** 以下为依赖包版本 *********************** -->
<testng.version>7.11.0</testng.version>
</properties>
</project>