1
+ <project xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xmlns =" http://maven.apache.org/POM/4.0.0"
2
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3
+ <modelVersion >4.0.0</modelVersion >
4
+ <groupId >com.doctordark.hcf</groupId >
5
+ <artifactId >ihcf</artifactId >
6
+ <name >iHCF</name >
7
+ <version >1.0-SNAPSHOT</version >
8
+ <description >Plugin used to achieve HCF related tasks.</description >
9
+
10
+ <repositories >
11
+ <repository >
12
+ <id >sk89q-repo</id >
13
+ <url >http://maven.sk89q.com/repo/</url >
14
+ </repository >
15
+ <repository >
16
+ <id >protocollib-repo</id >
17
+ <url >http://repo.dmulloy2.net/content/groups/public/</url >
18
+ </repository >
19
+ <repository >
20
+ <id >ess-repo</id >
21
+ <url >http://repo.ess3.net/content/groups/essentials</url >
22
+ </repository >
23
+ </repositories >
24
+
25
+ <dependencies >
26
+ <dependency >
27
+ <groupId >net.ess3</groupId >
28
+ <artifactId >Essentials</artifactId >
29
+ <version >2.13-SNAPSHOT</version >
30
+ </dependency >
31
+
32
+ <!-- Locally for now -->
33
+ <dependency >
34
+ <groupId >com.doctordark.base</groupId >
35
+ <artifactId >ibase</artifactId >
36
+ <version >3.2-SNAPSHOT</version >
37
+ <scope >provided</scope >
38
+ </dependency >
39
+ <dependency >
40
+ <groupId >org.github.paperspigot</groupId >
41
+ <artifactId >paperspigot-api</artifactId >
42
+ <version >1.7.10-R0.1-SNAPSHOT</version >
43
+ <scope >provided</scope >
44
+ </dependency >
45
+ <dependency >
46
+ <groupId >org.github.paperspigot</groupId >
47
+ <artifactId >paperspigot</artifactId >
48
+ <version >1.7.10-R0.1-SNAPSHOT</version >
49
+ <scope >provided</scope >
50
+ </dependency >
51
+ <!-- Locally for now -->
52
+
53
+ <dependency >
54
+ <groupId >org.projectlombok</groupId >
55
+ <artifactId >lombok</artifactId >
56
+ <version >1.16.6</version >
57
+ <scope >provided</scope >
58
+ </dependency >
59
+ <dependency >
60
+ <groupId >org.apache.commons</groupId >
61
+ <artifactId >commons-collections4</artifactId >
62
+ <version >4.0</version >
63
+ <scope >compile</scope >
64
+ </dependency >
65
+ <dependency >
66
+ <groupId >pl.project13.maven</groupId >
67
+ <artifactId >git-commit-id-plugin</artifactId >
68
+ <version >2.1.15</version >
69
+ <scope >provided</scope >
70
+ </dependency >
71
+ <dependency >
72
+ <groupId >com.comphenix.protocol</groupId >
73
+ <artifactId >ProtocolLib</artifactId >
74
+ <version >3.6.4</version >
75
+ <scope >provided</scope >
76
+ </dependency >
77
+ <dependency >
78
+ <groupId >com.sk89q</groupId >
79
+ <artifactId >worldedit</artifactId >
80
+ <version >5.6.3</version >
81
+ <scope >provided</scope >
82
+ </dependency >
83
+ </dependencies >
84
+
85
+ <build >
86
+ <sourceDirectory >${basedir} /src/main/java/</sourceDirectory >
87
+ <finalName >${project.name} </finalName >
88
+
89
+ <resources >
90
+ <resource >
91
+ <targetPath >.</targetPath >
92
+ <filtering >true</filtering >
93
+ <directory >${basedir} /src/main/resources/</directory >
94
+ <includes >
95
+ <include >plugin.yml</include >
96
+ <include >**/*.properties</include >
97
+ <include >**/*.xml</include >
98
+ </includes >
99
+ </resource >
100
+ <resource >
101
+ <targetPath >.</targetPath >
102
+ <filtering >false</filtering >
103
+ <directory >${basedir} /src/main/resources/</directory >
104
+ </resource >
105
+ </resources >
106
+
107
+ <plugins >
108
+ <plugin >
109
+ <groupId >org.apache.maven.plugins</groupId >
110
+ <artifactId >maven-compiler-plugin</artifactId >
111
+ <version >3.3</version >
112
+ <configuration >
113
+ <source >1.8</source >
114
+ <target >1.8</target >
115
+ </configuration >
116
+ </plugin >
117
+
118
+ <plugin >
119
+ <groupId >org.apache.maven.plugins</groupId >
120
+ <artifactId >maven-shade-plugin</artifactId >
121
+ <version >2.4.1</version >
122
+ <executions >
123
+ <execution >
124
+ <phase >package</phase >
125
+ <goals >
126
+ <goal >shade</goal >
127
+ </goals >
128
+ <configuration >
129
+ <shadedArtifactAttached >false</shadedArtifactAttached >
130
+ <createDependencyReducedPom >true</createDependencyReducedPom >
131
+
132
+ <artifactSet >
133
+ <includes >
134
+ <include >org.apache.commons:commons-collections4</include >
135
+ </includes >
136
+ </artifactSet >
137
+ <relocations >
138
+ <relocation >
139
+ <pattern >org.apache.commons.collections4</pattern >
140
+ <shadedPattern >com.doctordark.hcf.internal.org.apache.commons.collections4</shadedPattern >
141
+ </relocation >
142
+ </relocations >
143
+ </configuration >
144
+ </execution >
145
+ </executions >
146
+ </plugin >
147
+ <plugin >
148
+ <groupId >pl.project13.maven</groupId >
149
+ <artifactId >git-commit-id-plugin</artifactId >
150
+ <!-- Doctor: 2.1.13 is the latest version that works with latest Maven version unfortunately :/ -->
151
+ <version >2.1.13</version >
152
+ <executions >
153
+ <execution >
154
+ <goals >
155
+ <goal >revision</goal >
156
+ </goals >
157
+ </execution >
158
+ </executions >
159
+
160
+ <configuration >
161
+ <!-- that's the default value -->
162
+ <dateFormat >dd.MM.yyyy HH:mm:ss</dateFormat >
163
+
164
+ <!-- false is default here, it prints some more information during the
165
+ build -->
166
+ <verbose >true</verbose >
167
+
168
+ <!-- If you'd like to tell the plugin where your .git directory is,
169
+ use this setting, otherwise we'll perform a search trying to figure out the
170
+ right directory. It's better to add it explicite IMHO. -->
171
+ <dotGitDirectory >${project.basedir} /.git</dotGitDirectory >
172
+
173
+ <!-- ALTERNATE SETUP - GENERATE FILE -->
174
+ <!-- If you want to keep git information, even in your WAR file etc,
175
+ use this mode, which will generate a properties file (with filled out values)
176
+ which you can then normally read using new Properties().load(/**/) -->
177
+
178
+ <!-- this is false by default, forces the plugin to generate the git.properties
179
+ file -->
180
+ <generateGitPropertiesFile >false</generateGitPropertiesFile >
181
+
182
+ <!-- The path for the to be generated properties file, it's relative
183
+ to ${project.basedir} -->
184
+ <generateGitPropertiesFilename >src/main/resources/git.properties</generateGitPropertiesFilename >
185
+ </configuration >
186
+ </plugin >
187
+ </plugins >
188
+ </build >
189
+
190
+ <properties >
191
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
192
+ </properties >
193
+ </project >
0 commit comments