1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ ~ BSD 2-Clause License
4
+ ~
5
+ ~ Copyright (c) 2017, Redis Labs
6
+ ~ All rights reserved.
7
+ ~
8
+ ~ Redistribution and use in source and binary forms, with or without
9
+ ~ modification, are permitted provided that the following conditions are met:
10
+ ~
11
+ ~ * Redistributions of source code must retain the above copyright notice, this
12
+ ~ list of conditions and the following disclaimer.
13
+ ~
14
+ ~ * Redistributions in binary form must reproduce the above copyright notice,
15
+ ~ this list of conditions and the following disclaimer in the documentation
16
+ ~ and/or other materials provided with the distribution.
17
+ ~
18
+ ~ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19
+ ~ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20
+ ~ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
+ ~ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22
+ ~ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
+ ~ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24
+ ~ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25
+ ~ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26
+ ~ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
+ ~ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
+ -->
2
29
<project xmlns =" http://maven.apache.org/POM/4.0.0"
3
30
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
31
xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5
32
<modelVersion >4.0.0</modelVersion >
6
33
7
34
<groupId >com.redislabs</groupId >
8
35
<artifactId >jrejson</artifactId >
9
- <version >1.0-SNAPSHOT</version >
36
+ <version >1.0.0-SNAPSHOT</version >
37
+ <name >jrejson</name >
38
+
39
+ <developers >
40
+ <developer >
41
+ <name >Itamar Haber</name >
42
+ <organization >redislabs</organization >
43
+ <organizationUrl >https://redislabs.com/</organizationUrl >
44
+ </developer >
45
+ </developers >
46
+
47
+ <scm >
48
+ <connection >scm:git:git@github.com:RedisLabs/JReJSON.git</connection >
49
+ <url >scm:git:git@github.com:RedisLabs/JReJSON.git</url >
50
+ <developerConnection >scm:git:git@github.com:RedisLabs/JReJSON.git</developerConnection >
51
+ <tag >1.0.0</tag >
52
+ </scm >
53
+
54
+ <issueManagement >
55
+ <system >github</system >
56
+ <url >https://github.com/RedisLabs/JReJSON/issues</url >
57
+ </issueManagement >
58
+
59
+ <properties >
60
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
61
+ <maven .compiler.source>1.8</maven .compiler.source>
62
+ <maven .compiler.target>1.8</maven .compiler.target>
63
+ <gson .version>2.8.0</gson .version>
64
+ <jedis .version>3.0.0-SNAPSHOT</jedis .version>
65
+ <commons .pool2.version>2.4.2</commons .pool2.version>
66
+ </properties >
67
+
10
68
<dependencies >
11
69
<dependency >
12
70
<groupId >redis.clients</groupId >
13
71
<artifactId >jedis</artifactId >
14
- <version >3.0.0-SNAPSHOT </version >
72
+ <version >${jedis.version} </version >
15
73
</dependency >
16
74
<dependency >
17
75
<groupId >com.google.code.gson</groupId >
18
76
<artifactId >gson</artifactId >
19
- <version >2.8.0 </version >
77
+ <version >${gson.version} </version >
20
78
</dependency >
21
79
<dependency >
22
80
<groupId >org.apache.commons</groupId >
23
81
<artifactId >commons-pool2</artifactId >
24
- <version >2.4.2 </version >
82
+ <version >${commons.pool2.version} </version >
25
83
</dependency >
84
+ <!-- test -->
26
85
<dependency >
27
86
<groupId >junit</groupId >
28
87
<artifactId >junit</artifactId >
29
88
<version >4.12</version >
89
+ <scope >test</scope >
30
90
</dependency >
31
91
</dependencies >
32
- <properties >
33
- <maven .compiler.source>8</maven .compiler.source>
34
- <maven .compiler.target>8</maven .compiler.target>
35
- <maven .test.source>8</maven .test.source>
36
- <maven .test.target>8</maven .test.target>
37
- </properties >
38
-
39
92
40
93
<build >
41
94
<plugins >
42
95
<plugin >
43
- <artifactId >maven-assembly-plugin</artifactId >
96
+ <groupId >org.apache.maven.plugins</groupId >
97
+ <artifactId >maven-jar-plugin</artifactId >
98
+ <version >2.6</version >
99
+ </plugin >
100
+ <plugin >
101
+ <groupId >org.apache.maven.plugins</groupId >
102
+ <artifactId >maven-compiler-plugin</artifactId >
103
+ <version >2.0.2</version >
104
+ <configuration >
105
+ <source >${maven.compiler.source} </source >
106
+ <target >${maven.compiler.target} </target >
107
+ <encoding >${project.build.sourceEncoding} </encoding >
108
+ </configuration >
109
+ </plugin >
110
+ <plugin >
111
+ <groupId >org.apache.maven.plugins</groupId >
112
+ <artifactId >maven-resources-plugin</artifactId >
113
+ <version >2.6</version >
44
114
<configuration >
45
- <archive >
46
- < manifest >
47
- < addClasspath >true</ addClasspath >
48
- <!-- <mainClass></mainClass> -- >
49
- </ manifest >
50
- </ archive >
51
- < descriptorRefs >
52
- < descriptorRef >jar-with-dependencies</ descriptorRef >
53
- </ descriptorRefs >
115
+ <encoding > ${project.build.sourceEncoding} </ encoding >
116
+ </ configuration >
117
+ </ plugin >
118
+ < plugin >
119
+ < groupId >org.apache.maven.plugins</ groupId >
120
+ < artifactId >maven-javadoc-plugin</ artifactId >
121
+ < version >2.10.3</ version >
122
+ < configuration >
123
+ <encoding > ${project.build.sourceEncoding} </ encoding >
54
124
</configuration >
55
125
<executions >
56
126
<execution >
57
- <id >make-my-jar-with-dependencies</id >
58
127
<phase >package</phase >
59
128
<goals >
60
- <goal >single </goal >
129
+ <goal >jar </goal >
61
130
</goals >
62
131
</execution >
63
132
</executions >
64
133
</plugin >
65
134
<plugin >
66
- <artifactId >maven-compiler-plugin</artifactId >
67
- <version >3.0</version >
68
- <configuration >
69
- <source >1.8</source >
70
- <target >1.8</target >
71
- </configuration >
135
+ <groupId >org.apache.maven.plugins</groupId >
136
+ <artifactId >maven-source-plugin</artifactId >
137
+ <version >3.0.0</version >
138
+ <executions >
139
+ <execution >
140
+ <id >attach-sources</id >
141
+ <goals >
142
+ <goal >jar</goal >
143
+ </goals >
144
+ </execution >
145
+ </executions >
72
146
</plugin >
73
147
</plugins >
74
148
</build >
75
-
76
-
77
-
78
-
79
149
</project >
0 commit comments