forked from spoutcraft/SpoutcraftPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
270 lines (256 loc) · 7.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
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
<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>
<!-- Project information -->
<name>SpoutPlugin</name>
<groupId>org.getspout</groupId>
<artifactId>spoutplugin</artifactId>
<version>1.5.2-R1.0-SNAPSHOT</version>
<url>http://www.spout.org</url>
<inceptionYear>2011</inceptionYear>
<description>SpoutPlugin (formerly BukkitContrib) is a plugin for Bukkit, which extends the Bukkit API to provide features that aren't normally available. SpoutPlugin is a legacy project, and will be replaced by the Spout voxel game platform when finished.</description>
<!-- Build properties -->
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<mainClass>${project.groupId}.spout.Spout</mainClass>
<craftbukkitVersion>1.5.2-R1.0</craftbukkitVersion>
<minecraftVersion>1.5.2</minecraftVersion>
<buildNumber>0</buildNumber>
</properties>
<!-- Organization information -->
<organization>
<name>Spout LLC</name>
<url>http://www.spout.org</url>
</organization>
<!-- License information -->
<licenses>
<license>
<name>GNU Lesser General Public License Version 3</name>
<url>http://gnu.org/licenses/lgpl.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<!-- Source code access -->
<scm>
<developerConnection>scm:git:[email protected]:Legacy/SpoutPlugin.git</developerConnection>
<connection>scm:git:git://github.com/Legacy/SpoutPlugin.git</connection>
<url>https://github.com/Legacy/SpoutPlugin</url>
</scm>
<!-- Build server -->
<ciManagement>
<system>jenkins</system>
<url>http://build.spout.org/job/SpoutPlugin</url>
</ciManagement>
<!-- Issue tracker -->
<issueManagement>
<system>jira</system>
<url>http://issues.spout.org/browse/LEGACY</url>
</issueManagement>
<!-- Dependency repositories -->
<repositories>
<repository>
<id>spout-repo</id>
<url>http://repo.spout.org</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
<!-- Build plugin repositories -->
<pluginRepositories>
<pluginRepository>
<id>spout-repo</id>
<url>http://repo.spout.org</url>
</pluginRepository>
</pluginRepositories>
<!-- Distribution management -->
<distributionManagement>
<!-- Publish releases here -->
<repository>
<id>spout-releases</id>
<url>http://nexus.spout.org/content/repositories/releases</url>
</repository>
<!-- Publish snapshots here -->
<snapshotRepository>
<id>spout-snapshots</id>
<url>http://nexus.spout.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<!-- Project dependencies -->
<dependencies>
<!-- Include in final JAR -->
<dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<version>2.2.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.sf.trove4j</groupId>
<artifactId>trove4j</artifactId>
<version>3.0.3</version>
<scope>compile</scope>
</dependency>
<!-- Provided by third-party -->
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<version>${craftbukkitVersion}</version>
<scope>provided</scope>
</dependency>
</dependencies>
<!-- Build configuration -->
<build>
<defaultGoal>clean install</defaultGoal>
<finalName>${project.name}</finalName>
<!-- Resources to include -->
<resources>
<!-- Static resources -->
<resource>
<filtering>false</filtering>
<directory>${project.basedir}</directory>
<targetPath>.</targetPath>
<includes>
<include>LICENSE.txt</include>
</includes>
</resource>
<!-- Filtered resources -->
<resource>
<filtering>true</filtering>
<directory>src/main/resources</directory>
<targetPath>.</targetPath>
<includes>
<include>*.yml</include>
</includes>
</resource>
</resources>
<!-- Build plugins -->
<plugins>
<!-- License header plugin -->
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<version>1.10.b1</version>
<executions>
<execution>
<configuration>
<properties>
<name>${project.name}</name>
<url>${project.organization.url}</url>
<inceptionYear>${project.inceptionYear}</inceptionYear>
<company>${project.organization.name}</company>
</properties>
<quiet>true</quiet>
<encoding>UTF-8</encoding>
<strictCheck>true</strictCheck>
<header>HEADER.txt</header>
<mapping>
<java>SLASHSTAR_STYLE</java>
</mapping>
<keywords>
<keyword>${project.name}</keyword>
<keyword>license</keyword>
</keywords>
<includes>
<include>src/main/java/**</include>
<include>src/test/java/**</include>
</includes>
</configuration>
<phase>clean</phase>
<goals>
<goal>format</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Source compiler plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.0</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<compilerArguments>
<O>-Xlint:all</O>
<O>-Xlint:-path</O>
<O>-Xlint:unchecked</O>
</compilerArguments>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<!-- Dependency addition plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.0</version>
<executions>
<execution>
<configuration>
<minimizeJar>true</minimizeJar>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.txt</exclude>
<exclude>LICENSE</exclude>
<exclude>NOTICE</exclude>
</excludes>
<artifact>cglib:cglib</artifact>
<includes>
<include>**</include>
</includes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>net.sf.cglib</pattern>
<shadedPattern>org.getspout.lib.cglib</shadedPattern>
</relocation>
<relocation>
<pattern>org.objectweb.asm</pattern>
<shadedPattern>org.getspout.lib.asm</shadedPattern>
</relocation>
</relocations>
</configuration>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<!-- Reporting configuration -->
<reporting>
<!-- Reporting plugins -->
<plugins>
<!-- Javadoc creation plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<configuration>
<sourcepath>src/main/java/org/getspout/spoutapi</sourcepath>
<bottom><![CDATA[Copyright (c) {project.inceptionYear} <a href="${project.organization.url}" target="_blank">${project.organization.name}</a>. ${project.name} is licensed under <a href="http://www.gnu.org/licenses/lgpl.html" target="_blank">GNU Lesser General Public License Version 3</a>]]></bottom>
<doctitle><![CDATA[${project.name} API ${project.version}-b${buildNumber}]]></doctitle>
<windowtitle>Javadoc | ${project.name} API ${project.version}-b${buildNumber}</windowtitle>
<author>false</author>
<version>false</version>
<linksource>true</linksource>
<links>
<link>http://jd.bukkit.org/apidocs</link>
</links>
</configuration>
</plugin>
</plugins>
</reporting>
</project>