-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
336 lines (325 loc) · 15.4 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
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
<!--
CraftersAgainstBlocks Maven POM File
Copyright © 2015 Visual Illusions Entertainment
-->
<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>net.visualillusionsent</groupId>
<artifactId>craftersagainstblocks</artifactId>
<version>1.0.0-SNAPSHOT</version>
<name>CraftersAgainstBlocks</name>
<description>A Cards Against Humanity adaptation for CanaryMod</description>
<url>http://wiki.visualillusionsent.net/view/CraftersAgainstBlocks/</url>
<inceptionYear>2015</inceptionYear>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<mcpluginlib.version>1.2.0-SNAPSHOT</mcpluginlib.version>
<canary.main.class>${project.groupId}.crafters.against.blocks.canary.CanaryAgainstBlocks</canary.main.class>
<status.url>http://status.visualillusionsent.net/</status.url>
<devs>darkdiplomat</devs>
<license.type>GNU General Public License v3</license.type>
<license.url>http://www.gnu.org/licenses/gpl.html</license.url>
<copyright.years>${project.inceptionYear}<!-- -${current.year} --></copyright.years>
<build.number/>
<!-- Jar Signing -->
<keystore.path/>
<keystore.pass/>
<keystore.alias/>
<keystore.key.pass/>
</properties>
<organization>
<name>Visual Illusions Entertainment</name>
<url>http://visualillusionsent.net</url>
</organization>
<developers>
<developer>
<id>darkdiplomat</id>
<name>Jason</name>
<email>[email protected]</email>
<url>http://wiki.visualillusionsent.net/view/Darkdiplomat</url>
<organization>Visual Illusions Entertainment</organization>
<organizationUrl>http://visualillusionsent.net</organizationUrl>
<roles>
<role>lead-developer</role>
<role>manager</role>
</roles>
</developer>
</developers>
<licenses>
<license>
<name>GNU General Public License v3</name>
<url>http://www.gnu.org/licenses/gpl.html</url>
<comments>
CraftersAgainstBlocks is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This Program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
</comments>
</license>
<license>
<name>Creative Commons BY-NC-SA 2.0</name>
<url>https://creativecommons.org/licenses/by-nc-sa/2.0/</url>
<comments>
Cards Against Humanity is available under a Creative Commons BY-NC-SA 2.0 license.
You are free to:
Share — copy and redistribute the material in any medium or format
Adapt — remix, transform, and build upon the material
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made.
You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
NonCommercial — You may not use the material for commercial purposes.
ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Notices:
You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation.
No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.
</comments>
</license>
</licenses>
<scm>
<url>https://github.com/Visual-Illusions/CraftersAgainstBlocks</url>
<connection>scm:git:[email protected]:Visual-Illusions/CraftersAgainstBlocks.git</connection>
<developerConnection>scm:git:[email protected]:Visual-Illusions/CraftersAgainstBlocks.git</developerConnection>
</scm>
<issueManagement>
<url>http://github.com/Visual-Illusions/CraftersAgainstBlocks/issues</url>
<system>GitHub Issues Tracker</system>
</issueManagement>
<ciManagement>
<url>http://ci.visualillusionsent.net/job/CraftersAgainstBlocks</url>
<system>Jenkins</system>
</ciManagement>
<distributionManagement>
<repository>
<id>vi-repo</id>
<url>http://repo.visualillusionsent.net/repository/public/</url>
</repository>
</distributionManagement>
<repositories>
<repository>
<id>vi-repo</id>
<name>Visual Illusions Repository</name>
<url>http://repo.visualillusionsent.net/repository/public/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>net.visualillusionsent</groupId>
<artifactId>mcpluginlib</artifactId>
<version>${mcpluginlib.version}</version>
</dependency>
</dependencies>
<build>
<finalName>${project.name}-${project.version}${build.number}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>*.inf</include>
<include>META-INF/**</include>
<include>resources/**</include>
</includes>
</resource>
</resources>
<plugins>
<!-- UNUSED
<!- - Timestamp for year - - >
<plugin>
<groupId>com.keyboardsamurais.maven</groupId>
<artifactId>maven-timestamp-plugin</artifactId>
<version>1.0</version>
<configuration>
<propertyName>current.year</propertyName>
<timestampPattern>yyyy</timestampPattern>
</configuration>
<executions>
<execution>
<phase>pre-clean</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
</plugin>
-->
<!-- Compile plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
<manifest>
<addClasspath>false</addClasspath>
</manifest>
<manifestEntries>
<Name>net/visualillusionsent/${project.artifactId}</Name>
<Specification-Title>${project.name}</Specification-Title>
<Specification-Version>${project.version}</Specification-Version>
<Specification-Vendor>Visual Illusions Entertainment</Specification-Vendor>
<Implementation-Title>${project.name}</Implementation-Title>
<Implementation-Version>${build.number}</Implementation-Version>
<Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
<Built-By>${user.name}</Built-By>
<Build-Time>${maven.build.timestamp}</Build-Time>
<Issues-URL>${project.issueManagement.url}</Issues-URL>
<Status-URL>${status.url}</Status-URL>
<Wiki-URL>${project.url}</Wiki-URL>
<Developers>${devs}</Developers>
<Copyright>${copyright.years}</Copyright>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>com.mycila.maven-license-plugin</groupId>
<artifactId>maven-license-plugin</artifactId>
<version>1.10.b1</version>
<executions>
<execution>
<phase>clean</phase>
<goals>
<goal>format</goal>
</goals>
</execution>
</executions>
<configuration>
<quiet>false</quiet>
<encoding>UTF-8</encoding>
<strictCheck>true</strictCheck>
<header>${basedir}/HEADER.txt</header>
<keywords>
<keyword>${project.name}</keyword>
<keyword>license</keyword>
</keywords>
<mapping>
<java>SLASHSTAR_STYLE</java>
</mapping>
<properties>
<name>${project.name}</name>
<years>${copyright.years}</years>
<license.type>${license.type}</license.type>
<license.url>${license.url}</license.url>
</properties>
<includes>
<include>src/main/java/**</include>
</includes>
</configuration>
</plugin>
<!-- Need to shade in the needed classes from Visual Illusions Minecraft Plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<!-- Only need to shade the VIMCPlugin stuff -->
<include>net.visualillusionsent:mcpluginlib</include>
</includes>
</artifactSet>
<filters>
<filter>
<artifact>net.visualillusionsent:mcpluginlib</artifact>
<includes>
<!-- Always include whats in META-INF -->
<include>META-INF/**</include>
<!-- Always include base VIMCPlugin stuff -->
<include>net/visualillusionsent/minecraft/plugin/**</include>
</includes>
<excludes>
<!-- Sponge unused at this time -->
<exclude>net/visualillusionsent/minecraft/plugin/sponge/**</exclude>
</excludes>
</filter>
</filters>
<!-- Relocate the classes to appropriate packages -->
<relocations>
<!-- Relocate base VIMCPlugin stuff to base of plugin -->
<relocation>
<pattern>net.visualillusionsent.minecraft.plugin</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}.lib</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>jenkins</id>
<activation>
<property>
<name>BUILD_NUMBER</name>
</property>
</activation>
<properties>
<build.number>-b${BUILD_NUMBER}</build.number>
</properties>
</profile>
<!-- Should remain last profile -->
<profile>
<id>sign-jar</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jarsigner-plugin</artifactId>
<version>1.3.2</version>
<executions>
<execution>
<id>sign</id>
<goals>
<goal>sign</goal>
</goals>
</execution>
<execution>
<id>verify</id>
<goals>
<goal>verify</goal>
</goals>
</execution>
</executions>
<configuration>
<archiveDirectory>target/</archiveDirectory>
<excludes>
<exclude>*.jar</exclude>
</excludes>
<includes>
<include>${project.name}*.jar</include>
</includes>
<keystore>${keystore.path}</keystore>
<alias>${keystore.alias}</alias>
<storepass>${keystore.pass}</storepass>
<keypass>${keystore.key.pass}</keypass>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>