1
- <!--
2
- This file is part of mmoMinecraft (https://github.com/mmoMinecraftDev).
3
-
4
- mmoMinecraft is free software: you can redistribute it and/or modify
5
- it under the terms of the GNU General Public License as published by
6
- the Free Software Foundation, either version 3 of the License, or
7
- (at your option) any later version.
8
-
9
- This program is distributed in the hope that it will be useful,
10
- but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- GNU General Public License for more details.
13
-
14
- You should have received a copy of the GNU General Public License
15
- along with this program. If not, see <http://www.gnu.org/licenses/>.
16
- -->
17
-
18
1
<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" >
19
2
<modelVersion >4.0.0</modelVersion >
20
3
21
4
<!-- Project information -->
5
+ <name >mmoMail</name >
22
6
<groupId >mmo.Mail</groupId >
23
7
<artifactId >mmoMail</artifactId >
24
- <name >mmoMail</name >
25
- <version >dev-SNAPSHOT</version >
8
+ <version >0.1-SNAPSHOT</version >
26
9
<url >http://github.com/mmoMinecraftDev/mmoMail</url >
27
- <description >mmoMail provides a player mail system.</description >
10
+ <description >Provides a simply player mail system.</description >
28
11
29
12
<properties >
30
13
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
14
+ <bukkitVersion >1.2.5-R1.4-SNAPSHOT</bukkitVersion >
15
+ <spoutVersion >dev-SNAPSHOT</spoutVersion >
16
+ <coreVersion >2.3-SNAPSHOT</coreVersion >
31
17
</properties >
32
18
33
- <!-- License -->
19
+ <!-- License -->
34
20
<licenses >
35
21
<license >
36
- <name >GNU GENERAL PUBLIC LICENSE Version 3</name >
22
+ <name >GNU General Public License Version 3</name >
37
23
<url >http://www.gnu.org/licenses/gpl.html</url >
38
24
<distribution >repo</distribution >
39
25
</license >
40
26
</licenses >
41
27
42
- <!-- Source code -->
28
+ <!-- Source code -->
43
29
<scm >
44
- <
developerConnection >scm:git:
[email protected] :mmoMinecraftDev/
${project.name} .git</
developerConnection >
45
- <connection >scm:git:git://github.com/mmoMinecraftDev/${project.name} .git</connection >
46
- <url >https://github.com/mmoMinecraftDev/${project.name} </url >
30
+ <
developerConnection >scm:git:
[email protected] :mmoMinecraftDev/
mmoMail .git</
developerConnection >
31
+ <connection >scm:git:git://github.com/mmoMinecraftDev/mmoMail .git</connection >
32
+ <url >https://github.com/mmoMinecraftDev/mmoMail </url >
47
33
</scm >
48
34
49
- <!-- Continuous integration -->
35
+ <!-- Continuous integration -->
50
36
<ciManagement >
51
37
<system >jenkins</system >
52
- <url >http://ci.mmo.me.uk/ </url >
38
+ <url >http://build.spout.org </url >
53
39
</ciManagement >
54
40
55
41
<!-- Repository locations -->
56
42
<repositories >
57
43
<repository >
58
44
<id >spout-repo</id >
59
- <name >Spout API</name >
60
- <url >http://repo.spout.org/</url >
61
- <layout >default</layout >
62
- </repository >
63
- <repository >
64
- <id >mmoMinecraft-repo</id >
65
- <name >mmoMinecraft API</name >
66
- <url >http://repo.mmo.me.uk/</url >
67
- <layout >default</layout >
45
+ <url >http://repo.spout.org</url >
68
46
</repository >
69
47
</repositories >
48
+ <pluginRepositories >
49
+ <pluginRepository >
50
+ <id >spout-plugins</id >
51
+ <url >http://repo.spout.org</url >
52
+ </pluginRepository >
53
+ </pluginRepositories >
70
54
71
55
<!-- Dependencies -->
72
56
<dependencies >
73
57
<dependency >
74
58
<groupId >org.bukkit</groupId >
75
59
<artifactId >bukkit</artifactId >
76
- <version >1.2.5-R1.0 </version >
60
+ <version >${bukkitVersion} </version >
77
61
<scope >provided</scope >
78
62
</dependency >
79
63
<dependency >
80
64
<groupId >org.getspout</groupId >
81
65
<artifactId >spoutpluginapi</artifactId >
82
- <version >dev-SNAPSHOT </version >
66
+ <version >${spoutVersion} </version >
83
67
<scope >provided</scope >
84
68
</dependency >
85
69
<dependency >
86
70
<groupId >mmo.Core</groupId >
87
71
<artifactId >mmoCore</artifactId >
88
- <version >dev-SNAPSHOT </version >
72
+ <version >${coreVersion} </version >
89
73
<scope >provided</scope >
90
74
</dependency >
91
75
</dependencies >
92
76
93
77
<!-- Build -->
94
78
<build >
79
+ <defaultGoal >clean package</defaultGoal >
80
+ <!-- Resources -->
81
+ <resources >
82
+ <resource >
83
+ <targetPath >.</targetPath >
84
+ <filtering >false</filtering >
85
+ <directory >${basedir} </directory >
86
+ <includes >
87
+ <include >LICENSE.txt</include >
88
+ </includes >
89
+ </resource >
90
+ <resource >
91
+ <targetPath >.</targetPath >
92
+ <filtering >true</filtering >
93
+ <directory >${basedir} /src/main/resources</directory >
94
+ <includes >
95
+ <include >plugin.yml</include >
96
+ </includes >
97
+ </resource >
98
+ </resources >
95
99
<plugins >
100
+ <!-- License header formatting plugin -->
101
+ <plugin >
102
+ <groupId >com.mycila.maven-license-plugin</groupId >
103
+ <artifactId >maven-license-plugin</artifactId >
104
+ <version >1.10.b1</version >
105
+ <executions >
106
+ <execution >
107
+ <phase >clean</phase >
108
+ <goals >
109
+ <goal >format</goal >
110
+ </goals >
111
+ </execution >
112
+ </executions >
113
+ <configuration >
114
+ <quiet >true</quiet >
115
+ <encoding >UTF-8</encoding >
116
+ <strictCheck >true</strictCheck >
117
+ <header >${basedir} /HEADER.txt</header >
118
+ <keywords >
119
+ <keyword >${project.name} </keyword >
120
+ <keyword >license</keyword >
121
+ </keywords >
122
+ <mapping >
123
+ <java >SLASHSTAR_STYLE</java >
124
+ </mapping >
125
+ <properties >
126
+ <name >${project.name} </name >
127
+ <url >${project.url} </url >
128
+ </properties >
129
+ <includes >
130
+ <include >src/main/java/**</include >
131
+ <include >src/test/java/**</include >
132
+ </includes >
133
+ </configuration >
134
+ </plugin >
135
+ <!-- Version plugin -->
136
+ <plugin >
137
+ <groupId >com.sourcesense.maven</groupId >
138
+ <artifactId >maven-nosnapshot-plugin</artifactId >
139
+ <version >0.0.7-SNAPSHOT</version >
140
+ <executions >
141
+ <execution >
142
+ <id >strip-snapshot</id >
143
+ <phase >initialize</phase >
144
+ <goals >
145
+ <goal >strip</goal >
146
+ </goals >
147
+ </execution >
148
+ </executions >
149
+ <configuration >
150
+ <version >${project.version} </version >
151
+ <propertyName >releaseVersion</propertyName >
152
+ </configuration >
153
+ </plugin >
96
154
<!-- Compile plugin -->
97
155
<plugin >
98
156
<groupId >org.apache.maven.plugins</groupId >
99
157
<artifactId >maven-compiler-plugin</artifactId >
100
- <version >2.3.2 </version >
158
+ <version >2.4 </version >
101
159
<configuration >
102
160
<source >1.6</source >
103
161
<target >1.6</target >
104
162
</configuration >
105
163
</plugin >
106
- <!-- JAR creation plugin -->
107
- <plugin >
108
- <groupId >org.apache.maven.plugins</groupId >
109
- <artifactId >maven-jar-plugin</artifactId >
110
- <version >2.3.2</version >
111
- </plugin >
112
164
</plugins >
165
+ <pluginManagement >
166
+ <plugins >
167
+ <!-- Eclipse exclusions -->
168
+ <plugin >
169
+ <groupId >org.eclipse.m2e</groupId >
170
+ <artifactId >lifecycle-mapping</artifactId >
171
+ <version >1.0.0</version >
172
+ <configuration >
173
+ <lifecycleMappingMetadata >
174
+ <pluginExecutions >
175
+ <pluginExecution >
176
+ <pluginExecutionFilter >
177
+ <groupId >com.sourcesense.maven</groupId >
178
+ <artifactId >maven-nosnapshot-plugin</artifactId >
179
+ <versionRange >[0.0.7-SNAPSHOT,)</versionRange >
180
+ <goals >
181
+ <goal >strip</goal >
182
+ </goals >
183
+ </pluginExecutionFilter >
184
+ <action >
185
+ <execute />
186
+ </action >
187
+ </pluginExecution >
188
+ </pluginExecutions >
189
+ </lifecycleMappingMetadata >
190
+ </configuration >
191
+ </plugin >
192
+ </plugins >
193
+ </pluginManagement >
113
194
</build >
195
+
114
196
</project >
0 commit comments