|
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"> |
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
2 | 3 | <modelVersion>4.0.0</modelVersion> |
3 | 4 |
|
4 | 5 | <groupId>com.stackify</groupId> |
5 | 6 | <artifactId>stackify-api-java</artifactId> |
6 | | - <version>3.1.3-SNAPSHOT</version> |
| 7 | + <version>4.0.0-SNAPSHOT</version> |
7 | 8 |
|
8 | 9 | <name>Stackify API for Java</name> |
9 | 10 | <description>Stackify API for Java</description> |
10 | 11 | <url>https://github.com/stackify/stackify-api-java</url> |
11 | 12 |
|
12 | | - <parent> |
13 | | - <groupId>org.sonatype.oss</groupId> |
14 | | - <artifactId>oss-parent</artifactId> |
15 | | - <version>9</version> |
16 | | - </parent> |
17 | | - |
18 | 13 | <licenses> |
19 | 14 | <license> |
20 | 15 | <name>The Apache Software License, Version 2.0</name> |
|
45 | 40 | </developers> |
46 | 41 |
|
47 | 42 | <properties> |
48 | | - <java.version>1.6</java.version> |
| 43 | + <java.version>1.8</java.version> |
| 44 | + <slf4j-api.version>1.7.28</slf4j-api.version> |
| 45 | + <jackson.version>2.7.9</jackson.version> |
| 46 | + <jackson-databind.version>2.7.9.6</jackson-databind.version> |
| 47 | + <httpclient.version>4.5.9</httpclient.version> |
| 48 | + <junixsocket.version>2.2.0</junixsocket.version> |
| 49 | + <failsafe.version>2.3.0</failsafe.version> |
| 50 | + <protobuf.version>3.9.1</protobuf.version> |
| 51 | + <lombok.version>1.18.8</lombok.version> |
| 52 | + <junit.version>4.11</junit.version> |
| 53 | + <mockito.version>1.9.5</mockito.version> |
| 54 | + <powermock.version>1.5.6</powermock.version> |
49 | 55 | </properties> |
50 | 56 |
|
51 | 57 | <dependencies> |
|
55 | 61 | <dependency> |
56 | 62 | <groupId>org.slf4j</groupId> |
57 | 63 | <artifactId>slf4j-api</artifactId> |
58 | | - <version>1.7.5</version> |
| 64 | + <version>${slf4j-api.version}</version> |
59 | 65 | </dependency> |
60 | 66 |
|
61 | 67 | <dependency> |
62 | 68 | <groupId>com.fasterxml.jackson.core</groupId> |
63 | 69 | <artifactId>jackson-core</artifactId> |
64 | | - <version>2.8.11</version> |
| 70 | + <version>${jackson.version}</version> |
65 | 71 | </dependency> |
66 | 72 |
|
67 | 73 | <dependency> |
68 | 74 | <groupId>com.fasterxml.jackson.core</groupId> |
69 | 75 | <artifactId>jackson-annotations</artifactId> |
70 | | - <version>2.8.11</version> |
| 76 | + <version>${jackson.version}</version> |
71 | 77 | </dependency> |
72 | 78 |
|
73 | 79 | <dependency> |
74 | 80 | <groupId>com.fasterxml.jackson.core</groupId> |
75 | 81 | <artifactId>jackson-databind</artifactId> |
76 | | - <version>2.8.11.3</version> |
| 82 | + <version>${jackson-databind.version}</version> |
| 83 | + </dependency> |
| 84 | + |
| 85 | + <dependency> |
| 86 | + <groupId>org.apache.httpcomponents</groupId> |
| 87 | + <artifactId>httpclient</artifactId> |
| 88 | + <version>${httpclient.version}</version> |
| 89 | + </dependency> |
| 90 | + |
| 91 | + <dependency> |
| 92 | + <groupId>com.kohlschutter.junixsocket</groupId> |
| 93 | + <artifactId>junixsocket-common</artifactId> |
| 94 | + <version>${junixsocket.version}</version> |
| 95 | + </dependency> |
| 96 | + |
| 97 | + <dependency> |
| 98 | + <groupId>com.kohlschutter.junixsocket</groupId> |
| 99 | + <artifactId>junixsocket-native-common</artifactId> |
| 100 | + <version>${junixsocket.version}</version> |
| 101 | + </dependency> |
| 102 | + |
| 103 | + <dependency> |
| 104 | + <groupId>net.jodah</groupId> |
| 105 | + <artifactId>failsafe</artifactId> |
| 106 | + <version>${failsafe.version}</version> |
| 107 | + </dependency> |
| 108 | + |
| 109 | + <dependency> |
| 110 | + <groupId>com.google.protobuf</groupId> |
| 111 | + <artifactId>protobuf-java</artifactId> |
| 112 | + <version>${protobuf.version}</version> |
77 | 113 | </dependency> |
78 | 114 |
|
79 | 115 | <!-- Provided dependencies --> |
80 | 116 |
|
81 | 117 | <dependency> |
82 | 118 | <groupId>org.projectlombok</groupId> |
83 | 119 | <artifactId>lombok</artifactId> |
84 | | - <version>1.16.10</version> |
| 120 | + <version>${lombok.version}</version> |
85 | 121 | <scope>provided</scope> |
86 | 122 | </dependency> |
87 | 123 |
|
|
92 | 128 | <dependency> |
93 | 129 | <groupId>org.slf4j</groupId> |
94 | 130 | <artifactId>slf4j-log4j12</artifactId> |
95 | | - <version>1.7.5</version> |
| 131 | + <version>${slf4j-api.version}</version> |
96 | 132 | <scope>test</scope> |
97 | 133 | </dependency> |
98 | 134 |
|
99 | 135 | <dependency> |
100 | 136 | <groupId>junit</groupId> |
101 | 137 | <artifactId>junit</artifactId> |
102 | | - <version>4.11</version> |
| 138 | + <version>${junit.version}</version> |
103 | 139 | <scope>test</scope> |
104 | 140 | </dependency> |
105 | 141 |
|
106 | 142 | <dependency> |
107 | 143 | <groupId>org.mockito</groupId> |
108 | 144 | <artifactId>mockito-core</artifactId> |
109 | | - <version>1.9.5</version> |
| 145 | + <version>${mockito.version}</version> |
110 | 146 | <scope>test</scope> |
111 | 147 | </dependency> |
112 | 148 |
|
113 | 149 | <dependency> |
114 | 150 | <groupId>org.powermock</groupId> |
115 | 151 | <artifactId>powermock-core</artifactId> |
116 | | - <version>1.5.6</version> |
| 152 | + <version>${powermock.version}</version> |
117 | 153 | <scope>test</scope> |
118 | 154 | </dependency> |
119 | 155 |
|
120 | 156 | <dependency> |
121 | 157 | <groupId>org.powermock</groupId> |
122 | 158 | <artifactId>powermock-module-junit4</artifactId> |
123 | | - <version>1.5.6</version> |
| 159 | + <version>${powermock.version}</version> |
124 | 160 | <scope>test</scope> |
125 | 161 | </dependency> |
126 | 162 |
|
127 | 163 | <dependency> |
128 | 164 | <groupId>org.powermock</groupId> |
129 | 165 | <artifactId>powermock-api-mockito</artifactId> |
130 | | - <version>1.5.6</version> |
| 166 | + <version>${powermock.version}</version> |
131 | 167 | <scope>test</scope> |
132 | 168 | </dependency> |
133 | 169 |
|
|
142 | 178 | </resource> |
143 | 179 | </resources> |
144 | 180 |
|
145 | | - <extensions> |
146 | | - <extension> |
147 | | - <groupId>org.apache.maven.wagon</groupId> |
148 | | - <artifactId>wagon-webdav-jackrabbit</artifactId> |
149 | | - <version>2.2</version> |
150 | | - </extension> |
151 | | - </extensions> |
152 | | - |
153 | 181 | <plugins> |
154 | 182 |
|
155 | 183 | <plugin> |
|
173 | 201 | </configuration> |
174 | 202 | </plugin> |
175 | 203 |
|
176 | | - <plugin> |
177 | | - <groupId>org.apache.maven.plugins</groupId> |
178 | | - <artifactId>maven-javadoc-plugin</artifactId> |
179 | | - <version>2.9.1</version> |
180 | | - <executions> |
181 | | - <execution> |
182 | | - <id>attach-javadocs</id> |
183 | | - <goals> |
184 | | - <goal>jar</goal> |
185 | | - </goals> |
186 | | - <configuration> |
187 | | - <failOnError>false</failOnError> |
188 | | - <additionalparam>-Xdoclint:none</additionalparam> |
189 | | - </configuration> |
190 | | - </execution> |
191 | | - </executions> |
192 | | - </plugin> |
193 | | - |
194 | 204 | <plugin> |
195 | 205 | <groupId>org.apache.maven.plugins</groupId> |
196 | 206 | <artifactId>maven-source-plugin</artifactId> |
|
207 | 217 | <plugin> |
208 | 218 | <groupId>org.apache.felix</groupId> |
209 | 219 | <artifactId>maven-bundle-plugin</artifactId> |
210 | | - <version>2.3.7</version> |
| 220 | + <version>4.2.0</version> |
211 | 221 | <executions> |
212 | 222 | <execution> |
213 | 223 | <id>bundle-manifest</id> |
|
219 | 229 | </executions> |
220 | 230 | </plugin> |
221 | 231 |
|
222 | | - <plugin> |
223 | | - <groupId>org.codehaus.mojo</groupId> |
224 | | - <artifactId>cobertura-maven-plugin</artifactId> |
225 | | - <version>2.6</version> |
226 | | - <configuration> |
227 | | - <formats> |
228 | | - <format>xml</format> |
229 | | - </formats> |
230 | | - </configuration> |
231 | | - </plugin> |
232 | | - |
233 | | - <plugin> |
234 | | - <groupId>org.eluder.coveralls</groupId> |
235 | | - <artifactId>coveralls-maven-plugin</artifactId> |
236 | | - <version>2.2.0</version> |
237 | | - </plugin> |
238 | | - |
239 | | - </plugins> |
240 | | - |
241 | | - </build> |
242 | | - |
243 | | - <reporting> |
244 | | - |
245 | | - <plugins> |
246 | | - |
247 | 232 | <plugin> |
248 | 233 | <groupId>org.apache.maven.plugins</groupId> |
249 | | - <artifactId>maven-javadoc-plugin</artifactId> |
250 | | - <version>2.9.1</version> |
251 | | - <configuration> |
252 | | - <failOnError>false</failOnError> |
253 | | - <additionalparam>-Xdoclint:none</additionalparam> |
254 | | - </configuration> |
| 234 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 235 | + <version>1.0</version> |
| 236 | + <executions> |
| 237 | + <execution> |
| 238 | + <id>enforce-bytecode-version</id> |
| 239 | + <goals> |
| 240 | + <goal>enforce</goal> |
| 241 | + </goals> |
| 242 | + <configuration> |
| 243 | + <rules> |
| 244 | + <enforceBytecodeVersion> |
| 245 | + <maxJdkVersion>${java.version}</maxJdkVersion> |
| 246 | + </enforceBytecodeVersion> |
| 247 | + </rules> |
| 248 | + <fail>true</fail> |
| 249 | + </configuration> |
| 250 | + </execution> |
| 251 | + </executions> |
| 252 | + <dependencies> |
| 253 | + <dependency> |
| 254 | + <groupId>org.codehaus.mojo</groupId> |
| 255 | + <artifactId>extra-enforcer-rules</artifactId> |
| 256 | + <version>1.2</version> |
| 257 | + </dependency> |
| 258 | + </dependencies> |
255 | 259 | </plugin> |
256 | 260 |
|
257 | 261 | </plugins> |
258 | 262 |
|
259 | | - </reporting> |
| 263 | + </build> |
260 | 264 |
|
261 | 265 | <profiles> |
262 | 266 | <profile> |
|
0 commit comments