This repository has been archived by the owner on Nov 10, 2020. It is now read-only.
forked from AlternaCraft/PvpTitles
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
309 lines (277 loc) · 11.5 KB
/
pom.xml
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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>
<!-- The Basics -->
<groupId>com.alternacraft</groupId>
<artifactId>PvpTitles</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>jar</packaging>
<repositories>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>vault-repo</id>
<url>http://nexus.hc.to/content/repositories/pub_releases</url>
</repository>
<repository>
<id>placeholderapi</id>
<url>http://repo.extendedclip.com/content/repositories/placeholderapi/</url>
</repository>
<repository>
<id>mvdw-software</id>
<name>MVdW Public Repositories</name>
<url>http://repo.mvdw-software.be/content/groups/public/</url>
</repository>
<repository>
<id>aclib-snapshots</id>
<url>https://oss.jfrog.org/oss-snapshot-local/</url>
</repository>
</repositories>
<dependencies>
<!-- Spigot-API -->
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.10.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<!-- Craftbukkit
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<version>1.10.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency> -->
<!-- Vault API -->
<dependency>
<groupId>net.milkbowl.vault</groupId>
<artifactId>VaultAPI</artifactId>
<version>1.6</version>
<optional>true</optional>
<scope>provided</scope>
<type>jar</type>
</dependency>
<!-- Placeholder API -->
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.5.1</version>
<optional>true</optional>
<scope>provided</scope>
</dependency>
<!-- ScoreBoardStats API
There is no repository for SBS so you have to install this by using
the file into lib folder. This will work if you are into lib folder.
mvn install:install-file -Dfile=ScoreboardStats_v0.9.10.jar -DgroupId=com.github.games647 -DartifactId=scoreboardstats -Dversion=0.9.8 -Dpackaging=jar
-->
<dependency>
<groupId>com.github.games647</groupId>
<artifactId>scoreboardstats</artifactId>
<version>0.9.8</version>
<optional>true</optional>
<scope>provided</scope>
</dependency>
<!--Holographic Displays API
There is no repository for SBS so you have to install this by using
the file into lib folder. This will work if you are into lib folder.
mvn install:install-file -Dfile=HolographicDisplaysAPI_v2.1.7.jar -DgroupId=com.gmail.filoghost -DartifactId=holographic-displays -Dversion=2.1.7 -Dpackaging=jar
-->
<dependency>
<groupId>com.gmail.filoghost</groupId>
<artifactId>holographic-displays</artifactId>
<version>2.1.7</version>
<optional>true</optional>
<scope>provided</scope>
</dependency>
<!--MVdWPlaceholderAPI-->
<dependency>
<groupId>be.maximvdw</groupId>
<artifactId>MVdWPlaceholderAPI</artifactId>
<version>1.0.1-SNAPSHOT</version>
<optional>true</optional>
<scope>provided</scope>
</dependency>
<!-- AlternaCraft LIB dependency -->
<dependency>
<groupId>com.alternacraft</groupId>
<artifactId>aclib</artifactId>
<version>0.1.1-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<!-- TESTING DEPENDENCIES -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-module-junit4</artifactId>
<version>1.6.5</version>
<type>jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
<artifactId>powermock-api-mockito</artifactId>
<version>1.6.5</version>
<type>jar</type>
<scope>test</scope>
</dependency>
</dependencies>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<outputFile>${basedir}/.utility/dependencies.txt</outputFile>
<custom.path>target/release/</custom.path>
</properties>
<build>
<finalName>${project.name}-${project.version}</finalName>
<sourceDirectory>src/main/java</sourceDirectory>
<testSourceDirectory>src/test/java</testSourceDirectory>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
<!-- Add the license to jar in order to see it in the final jar -->
<resource>
<directory>${basedir}</directory>
<includes>
<include>LICENSE.md</include>
</includes>
</resource>
</resources>
<plugins>
<!-- Add utils to plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<!--<shadedArtifactAttached>true</shadedArtifactAttached>-->
<filters>
<filter>
<artifact>com.alternacraft:aclib</artifact>
<includes>
<include>**/Updater*.*</include>
<include>**/Logger.*</include>
<include>**/UtilsFile.*</include>
</includes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>com.alternacraft.aclib</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.ACLIB</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
<!-- Copy artifacts to non-versioned jar name -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>copy</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
<outputDirectory>${custom.path}</outputDirectory>
<destFileName>${project.artifactId}.jar</destFileName>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>dependencies</id>
<phase>prepare-package</phase>
<goals>
<goal>tree</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Code coverage -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.7.201606060606</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<!-- More Project Information -->
<name>PvpTitles</name>
<description>Get epic titles in pvp</description>
<inceptionYear>2015</inceptionYear>
<url>http://dev.bukkit.org/bukkit-plugins/pvptitles/</url>
<organization>
<name>AlternaCraft</name>
<url>https://github.com/AlternaCraft</url>
</organization>
<developers>
<developer>
<name>esejuli94</name>
<id>1</id>
<roles>
<role>Programmer</role>
</roles>
</developer>
</developers>
<licenses>
<license>
<name>The GNU General Public Licence version 3 (GPLv3)</name>
<url>http://www.gnu.org/licenses/gpl-3.0.html</url>
</license>
</licenses>
<!-- Environment Settings -->
<distributionManagement>
<repository>
<id>bintray</id>
<name>RELEASES</name>
<url>https://api.bintray.com/maven/alternacraft/maven/PvpTitles/;publish=1;</url>
</repository>
<snapshotRepository>
<id>bintray</id>
<name>SNAPSHOTS</name>
<url>http://oss.jfrog.org/oss-snapshot-local/</url>
</snapshotRepository>
</distributionManagement>
</project>