1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <!--
3
- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4
- title POM +
5
- project icecore-hashids +
6
- repository https://github.com/arcticicestudio/icecore-hashids +
7
- author Arctic Ice Studio +
8
-
9
- copyright Copyright (C) 2017 +
10
- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
11
-
12
- [References]
13
- Apache Maven
14
- (https://maven.apache.org/guides)
15
- (https://maven.apache.org/pom.html)
16
- (https://maven.apache.org/enforcer/enforcer-rules/versionRanges.html)
17
- Sonatype
18
- (http://books.sonatype.com/mvnref-book/reference)
19
- JFrog Bintray
20
- (https://bintray.com/docs/usermanual)
21
- -->
22
2
<project
23
3
xmlns =" http://maven.apache.org/POM/4.0.0"
24
4
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
@@ -90,7 +70,11 @@ JFrog Bintray
90
70
<assembly .descriptor.bin>${basedir} /src/main/assets/assembly-bin.xml</assembly .descriptor.bin>
91
71
<java .version>1.8</java .version>
92
72
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
73
+ <maven .version.min>3.0.4</maven .version.min>
74
+
93
75
<checkstyle .version>8.0</checkstyle .version>
76
+ <junit .version>4.12</junit .version>
77
+ <hamcrest .version>1.3</hamcrest .version>
94
78
</properties >
95
79
96
80
<scm >
@@ -109,21 +93,14 @@ JFrog Bintray
109
93
<dependency >
110
94
<groupId >junit</groupId >
111
95
<artifactId >junit</artifactId >
112
- <version >4.12 </version >
96
+ <version >${junit.version} </version >
113
97
<scope >test</scope >
114
98
</dependency >
115
99
116
100
<dependency >
117
101
<groupId >org.hamcrest</groupId >
118
102
<artifactId >hamcrest-core</artifactId >
119
- <version >1.3</version >
120
- <scope >test</scope >
121
- </dependency >
122
-
123
- <dependency >
124
- <groupId >org.hamcrest</groupId >
125
- <artifactId >hamcrest-library</artifactId >
126
- <version >1.3</version >
103
+ <version >${hamcrest.version} </version >
127
104
<scope >test</scope >
128
105
</dependency >
129
106
</dependencies >
@@ -134,7 +111,7 @@ JFrog Bintray
134
111
<plugin >
135
112
<groupId >org.apache.maven.plugins</groupId >
136
113
<artifactId >maven-compiler-plugin</artifactId >
137
- <version >3.5 .1</version >
114
+ <version >3.6 .1</version >
138
115
<configuration >
139
116
<source >${java.version} </source >
140
117
<target >${java.version} </target >
@@ -183,7 +160,7 @@ JFrog Bintray
183
160
<plugin >
184
161
<groupId >org.apache.maven.plugins</groupId >
185
162
<artifactId >maven-javadoc-plugin</artifactId >
186
- <version >2.10.4 </version >
163
+ <version >3.0.0-M1 </version >
187
164
<executions >
188
165
<execution >
189
166
<id >attach-javadocs</id >
@@ -197,7 +174,7 @@ JFrog Bintray
197
174
<classifier >javadoc</classifier >
198
175
<encoding >${project.build.sourceEncoding} </encoding >
199
176
<author >true</author >
200
- <bottom >Copyright © ${project.inceptionYear} {organizationName}</bottom >
177
+ <bottom >Copyright © 2017 {organizationName}</bottom >
201
178
<doctitle >${project.name} ${project.version} API</doctitle >
202
179
<windowtitle >${project.name} ${project.version} API</windowtitle >
203
180
<tags >
@@ -223,6 +200,7 @@ JFrog Bintray
223
200
<plugin >
224
201
<groupId >org.apache.maven.plugins</groupId >
225
202
<artifactId >maven-checkstyle-plugin</artifactId >
203
+ <version >2.17</version >
226
204
<dependencies >
227
205
<dependency >
228
206
<groupId >com.puppycrawl.tools</groupId >
@@ -247,43 +225,28 @@ JFrog Bintray
247
225
</executions >
248
226
</plugin >
249
227
250
- <plugin >
251
- <groupId >net.ju-n.maven.plugins</groupId >
252
- <artifactId >checksum-maven-plugin</artifactId >
253
- <version >1.3</version >
254
- <executions >
255
- <execution >
256
- <id >checksum-artifacts</id >
257
- <phase >verify</phase >
258
- <goals >
259
- <goal >artifacts</goal >
260
- </goals >
261
- </execution >
262
- </executions >
263
- <configuration >
264
- <algorithms >
265
- <algorithm >SHA-1</algorithm >
266
- <algorithm >MD5</algorithm >
267
- </algorithms >
268
- <csvSummary >false</csvSummary >
269
- </configuration >
270
- </plugin >
271
-
272
228
<plugin >
273
229
<groupId >org.apache.maven.plugins</groupId >
274
- <artifactId >maven-install -plugin</artifactId >
275
- <version >2.5.2 </version >
230
+ <artifactId >maven-enforcer -plugin</artifactId >
231
+ <version >1.4.1 </version >
276
232
<executions >
277
233
<execution >
278
- <phase >install</ phase >
234
+ <id >enforce-versions</ id >
279
235
<goals >
280
- <goal >install </goal >
236
+ <goal >enforce </goal >
281
237
</goals >
238
+ <configuration >
239
+ <rules >
240
+ <requireMavenVersion >
241
+ <version >(${maven.version.min} ,)</version >
242
+ </requireMavenVersion >
243
+ <requireJavaVersion >
244
+ <version >${java.version} </version >
245
+ </requireJavaVersion >
246
+ </rules >
247
+ </configuration >
282
248
</execution >
283
249
</executions >
284
- <configuration >
285
- <createChecksum >true</createChecksum >
286
- </configuration >
287
250
</plugin >
288
251
</plugins >
289
252
</build >
@@ -323,43 +286,14 @@ JFrog Bintray
323
286
</pluginRepositories >
324
287
325
288
<profiles >
326
- <profile >
327
- <id >assemble</id >
328
- <build >
329
- <plugins >
330
- <plugin >
331
- <groupId >org.apache.maven.plugins</groupId >
332
- <artifactId >maven-assembly-plugin</artifactId >
333
- <version >2.6</version >
334
- <executions >
335
- <execution >
336
- <id >assemble</id >
337
- <phase >none</phase >
338
- <goals >
339
- <goal >single</goal >
340
- </goals >
341
- </execution >
342
- </executions >
343
- <configuration >
344
- <appendAssemblyId >true</appendAssemblyId >
345
- <recompressZippedFiles >false</recompressZippedFiles >
346
- <descriptors >
347
- <descriptor >${assembly.descriptor.bin} </descriptor >
348
- </descriptors >
349
- </configuration >
350
- </plugin >
351
- </plugins >
352
- </build >
353
- </profile >
354
-
355
289
<profile >
356
290
<id >code-coverage</id >
357
291
<build >
358
292
<plugins >
359
293
<plugin >
360
294
<groupId >org.jacoco</groupId >
361
295
<artifactId >jacoco-maven-plugin</artifactId >
362
- <version >0.7.7.201606060606 </version >
296
+ <version >0.7.9 </version >
363
297
<executions >
364
298
<execution >
365
299
<goals >
@@ -418,7 +352,7 @@ JFrog Bintray
418
352
<plugin >
419
353
<groupId >org.sonatype.plugins</groupId >
420
354
<artifactId >nexus-staging-maven-plugin</artifactId >
421
- <version >1.6.7 </version >
355
+ <version >1.6.8 </version >
422
356
<extensions >true</extensions >
423
357
<configuration >
424
358
<serverId >ossrh</serverId >
0 commit comments