forked from grandwazir/StarterKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
98 lines (94 loc) · 3.85 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
<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>
<artifactId>starter-kit</artifactId>
<groupId>name.richardson.james.bukkit</groupId>
<version>2.0-SNAPSHOT</version>
<name>StarterKit</name>
<description>Plugin for the Minecraft wrapper Bukkit that provides a method for administrators to give items to new
players automatically.
</description>
<url>http://grandwazir.github.com/${project.name}/</url>
<repositories>
<repository>
<id>elMakers</id>
<url>http://maven.elmakers.com/repository/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.13-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.ocpsoft.prettytime</groupId>
<artifactId>prettytime</artifactId>
<version>3.2.7.Final</version>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<!-- Filter and replace tokens -->
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<!-- Minecraft is still 1.5 I think -->
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<compilerVersion>1.6</compilerVersion>
<source>6</source>
<target>6</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>1.7.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>org.apache.maven:maven-artifact</include>
<include>org.ocpsoft.prettytime:prettytime</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>org.ocpsoft.prettytime</pattern>
<shadedPattern>name.richardson.james.bukkit.utilities.time</shadedPattern>
</relocation>
<relocation>
<pattern>org.apache.maven.artifact</pattern>
<shadedPattern>name.richardson.james.bukkit.utilities.artifact</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.7.2</version>
</plugin>
</plugins>
</build>
</project>