-
Notifications
You must be signed in to change notification settings - Fork 48
/
pom.xml
180 lines (174 loc) · 6.87 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
<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>
<groupId>com.lenis0012.bukkit</groupId>
<artifactId>marriage2</artifactId>
<version>2.3.2-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Marriage</name>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<lenisutils.version>2.4.1</lenisutils.version>
<updater.version>1.1</updater.version>
<maven.compiler.release>8</maven.compiler.release>
<doclint>none</doclint>
</properties>
<repositories>
<!-- Repo for access to CraftBukkit -->
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
<!-- JitPack / GitHub (vault) -->
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<!-- CodeMC -->
<repository>
<id>codemc-repo</id>
<url>https://repo.codemc.io/repository/maven-public/</url>
</repository>
<!-- WorldEdit -->
<repository>
<id>enginehub</id>
<url>https://maven.enginehub.org/repo/</url>
</repository>
<!-- PlotSquared -->
<repository>
<id>IntellectualSites</id>
<url>https://repo.papermc.io/repository/maven-public/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.13.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.lenis0012.pluginutils</groupId>
<artifactId>lenisutils-config</artifactId>
<version>${lenisutils.version}</version>
</dependency>
<dependency>
<groupId>com.lenis0012.pluginutils</groupId>
<artifactId>lenisutils-sql</artifactId>
<version>${lenisutils.version}</version>
</dependency>
<dependency>
<groupId>com.lenis0012.pluginutils</groupId>
<artifactId>lenisutils-updater-api</artifactId>
<version>${lenisutils.version}</version>
</dependency>
<dependency>
<groupId>org.bstats</groupId>
<artifactId>bstats-bukkit</artifactId>
<version>3.0.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.milkbowl.vault</groupId>
<artifactId>VaultAPI</artifactId>
<version>1.7</version>
<scope>provided</scope>
</dependency>
<!-- PlotSquared Legacy (before v4)-->
<dependency>
<groupId>com.plotsquared.bukkit</groupId>
<artifactId>PlotSquared</artifactId>
<version>3.3.3</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/PlotSquared.jar</systemPath>
</dependency>
<!-- PlotSquared v6 -->
<dependency>
<groupId>com.plotsquared</groupId>
<artifactId>PlotSquared-Core</artifactId>
<scope>provided</scope>
<version>6.10.8</version>
</dependency>
</dependencies>
<profiles>
<profile>
<id>spigot</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<properties>
<updater.manifestUrl>https://raw.githubusercontent.com/lenis0012/Marriage/master/version_manifest.json</updater.manifestUrl>
</properties>
<dependencies>
<dependency>
<groupId>com.lenis0012.pluginutils</groupId>
<artifactId>lenisutils-updater-manifest</artifactId>
<version>${lenisutils.version}</version>
</dependency>
</dependencies>
<build>
<finalName>${project.name}-Spigot-${project.version}</finalName>
</build>
</profile>
</profiles>
<!-- Build -->
<build>
<!-- Resources -->
<resources>
<resource>
<directory>src/main/resources/</directory>
<filtering>true</filtering>
<includes>
<include>*</include>
</includes>
</resource>
</resources>
<finalName>${project.name}</finalName>
<sourceDirectory>src/main/java</sourceDirectory>
<!-- Plugins -->
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<configuration>
<compilerArgs>
<arg>-parameters</arg>
</compilerArgs>
</configuration>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>3.4.1</version>
<executions>
<execution>
<id>general</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<relocations>
<relocation>
<pattern>com.lenis0012.pluginutils</pattern>
<shadedPattern>com.lenis0012.bukkit.marriage2.libs.pluginutils</shadedPattern>
</relocation>
<relocation>
<pattern>com.lenis0012.updater</pattern>
<shadedPattern>com.lenis0012.bukkit.marriage2.libs.updater</shadedPattern>
</relocation>
<relocation>
<pattern>org.bstats</pattern>
<shadedPattern>com.lenis0012.bukkit.marriage2.libs.bstats</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>