This repository has been archived by the owner on Apr 17, 2020. It is now read-only.
/
pom.xml
111 lines (105 loc) · 4.16 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
<!--Generally don't touch this...-->
<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>
<!--Information about the project-->
<groupId>com.notoriousdev</groupId>
<artifactId>NDCustom</artifactId>
<packaging>jar</packaging>
<version>${build.number}</version>
<!--More information about the project-->
<name>NDCustom</name>
<url>http://www.notoriousdev.com</url>
<!--Don't touch this either-->
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<!--Need these unless the dependency is in the main maven repo-->
<repositories>
<!--Bukkit-->
<repository>
<id>bukkit-repo</id>
<url>http://repo.bukkit.org/content/groups/public</url>
</repository>
</repositories>
<!--The jars that are downloaded-->
<dependencies>
<!--Bukkit-->
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.5.1-R0.1-SNAPSHOT</version>
<type>jar</type>
</dependency>
<!--Lombok 'cause YOLO-->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>0.11.6</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>me.confuserr</groupId>
<artifactId>BanManager</artifactId>
<version>2.4</version>
<scope>system</scope>
<systemPath>${project.basedir}\..\libs\BanManager.jar</systemPath>
</dependency>
</dependencies>
<!--Don't edit this-->
<!--Fuck you, I do what I want-->
<build>
<directory>target</directory>
<outputDirectory>target/classes</outputDirectory>
<finalName>${project.artifactId}</finalName>
<sourceDirectory>${basedir}/src/main/java/</sourceDirectory>
<defaultGoal>clean install</defaultGoal>
<resources>
<resource>
<targetPath>.</targetPath>
<filtering>true</filtering>
<directory>${basedir}/src/main/resources/</directory>
<includes>
<include>plugin.yml</include>
<include>config.yml</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<version>2.5.1</version>
<configuration>
<!--Java Version-->
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<excludes>
<exclude>org.bukkit:bukkit</exclude>
<exclude>org.projectlombok:lombok</exclude>
</excludes>
</artifactSet>
<minimizeJar>true</minimizeJar>
<finalName>NDCustom</finalName>
<shadedArtifactAttached>false</shadedArtifactAttached>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>