forked from dunwu/java-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
74 lines (62 loc) · 1.98 KB
/
Copy pathpom.xml
File metadata and controls
74 lines (62 loc) · 1.98 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
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<!-- [Part 1] BASIC SETTINGS BEGIN -->
<!-- MAVEN COORDINATE BEGIN -->
<artifactId>javatool-examples</artifactId>
<packaging>jar</packaging>
<!-- MAVEN COORDINATE END -->
<!-- RELATIONSHIP SETTINGS BEGIN -->
<parent>
<groupId>io.github.dunwu</groupId>
<artifactId>javatool</artifactId>
<version>1.0.0</version>
</parent>
<dependencies>
<!-- log start -->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-access</artifactId>
</dependency>
<dependency>
<groupId>net.logstash.logback</groupId>
<artifactId>logstash-logback-encoder</artifactId>
</dependency>
<!-- log end -->
</dependencies>
<!-- RELATIONSHIP SETTINGS END -->
<!-- [Part 1] BASIC SETTINGS END -->
<!-- [Part 2] BUILD SETTINGS BEGIN -->
<build>
<finalName>${artifactId}</finalName>
<resources>
<resource>
<filtering>true</filtering>
<directory>src/main/resources</directory>
<includes>
<include>logback.xml</include>
<include>log4j.xml</include>
</includes>
<!--<targetPath>/abc</targetPath>-->
</resource>
</resources>
</build>
<!-- [Part 2] BUILD SETTINGS END -->
<!-- [Part 3] PROJECT INFO BEGIN -->
<name>${project.artifactId}</name>
<description>Java 工具使用示例</description>
<!-- [Part 3] PROJECT INFO END -->
</project>