|
5 | 5 | <groupId>cloud.localstack</groupId> |
6 | 6 | <artifactId>localstack-utils</artifactId> |
7 | 7 | <packaging>jar</packaging> |
8 | | - <version>0.2.2</version> |
| 8 | + <version>0.2.5</version> |
9 | 9 | <name>localstack-utils</name> |
10 | 10 |
|
11 | 11 | <description>Java utilities for the LocalStack platform.</description> |
|
33 | 33 | <maven.compiler.target>1.8</maven.compiler.target> |
34 | 34 | <aws.sdk.version>1.11.642</aws.sdk.version> |
35 | 35 | <aws.sdkv2.version>2.13.39</aws.sdkv2.version> |
| 36 | + <commons.lang3.version>3.5</commons.lang3.version> |
| 37 | + <lambda.core.version>1.2.0</lambda.core.version> |
36 | 38 | </properties> |
37 | 39 |
|
38 | 40 | <dependencies> |
|
53 | 55 | <dependency> |
54 | 56 | <groupId>org.apache.commons</groupId> |
55 | 57 | <artifactId>commons-lang3</artifactId> |
56 | | - <version>3.5</version> |
57 | | - <scope>provided</scope> |
| 58 | + <version>${commons.lang3.version}</version> |
58 | 59 | </dependency> |
59 | 60 | <dependency> |
60 | 61 | <groupId>net.java.dev.jna</groupId> |
|
104 | 105 | <dependency> |
105 | 106 | <groupId>com.amazonaws</groupId> |
106 | 107 | <artifactId>aws-lambda-java-core</artifactId> |
107 | | - <version>1.2.0</version> |
| 108 | + <version>${lambda.core.version}</version> |
108 | 109 | <scope>provided</scope> |
109 | 110 | </dependency> |
110 | 111 | <dependency> |
|
203 | 204 | <profile> |
204 | 205 | <id>fatjar</id> |
205 | 206 | <dependencies> |
| 207 | + <!-- TODO: verify whether we still need a separate fatjar profile, or whether |
| 208 | + the specified libs could also be added to the test JAR directly. --> |
206 | 209 | <dependency> |
207 | 210 | <groupId>com.amazonaws</groupId> |
208 | 211 | <artifactId>aws-java-sdk</artifactId> |
209 | | - <version>1.11.505</version> |
| 212 | + <version>${aws.sdk.version}</version> |
| 213 | + </dependency> |
| 214 | + <dependency> |
| 215 | + <groupId>com.amazonaws</groupId> |
| 216 | + <artifactId>aws-java-sdk-core</artifactId> |
| 217 | + <version>${aws.sdk.version}</version> |
| 218 | + </dependency> |
| 219 | + <dependency> |
| 220 | + <groupId>com.amazonaws</groupId> |
| 221 | + <artifactId>aws-java-sdk-dynamodb</artifactId> |
| 222 | + <version>${aws.sdk.version}</version> |
| 223 | + </dependency> |
| 224 | + <dependency> |
| 225 | + <groupId>com.amazonaws</groupId> |
| 226 | + <artifactId>aws-lambda-java-core</artifactId> |
| 227 | + <version>${lambda.core.version}</version> |
| 228 | + </dependency> |
| 229 | + <dependency> |
| 230 | + <groupId>com.amazonaws</groupId> |
| 231 | + <artifactId>aws-lambda-java-events</artifactId> |
| 232 | + <version>2.2.7</version> |
| 233 | + </dependency> |
| 234 | + <dependency> |
| 235 | + <groupId>org.apache.commons</groupId> |
| 236 | + <artifactId>commons-lang3</artifactId> |
| 237 | + <version>${commons.lang3.version}</version> |
| 238 | + </dependency> |
| 239 | + <dependency> |
| 240 | + <groupId>joda-time</groupId> |
| 241 | + <artifactId>joda-time</artifactId> |
| 242 | + <version>2.6</version> |
210 | 243 | </dependency> |
211 | 244 | </dependencies> |
212 | 245 | </profile> |
213 | 246 | <profile> |
214 | 247 | <id>awssdkv1</id> |
215 | 248 | <dependencies> |
216 | | - |
217 | 249 | </dependencies> |
218 | 250 | </profile> |
219 | 251 | <profile> |
|
273 | 305 | <artifactSet> |
274 | 306 | <includes> |
275 | 307 | <include>com.amazonaws:aws-java-sdk-core</include> |
| 308 | + <include>com.amazonaws:aws-java-sdk-dynamodb</include> |
276 | 309 | <include>com.amazonaws:aws-java-sdk-kinesis</include> |
277 | 310 | <include>com.amazonaws:aws-java-sdk-lambda</include> |
278 | 311 | <include>com.amazonaws:aws-java-sdk-sqs</include> |
|
294 | 327 | <relocations> |
295 | 328 | <!--Default relocations of--> |
296 | 329 | <!--http://central.maven.org/maven2/com/amazonaws/aws-java-sdk-bundle/1.11.301/aws-java-sdk-bundle-1.11.301.pom--> |
297 | | - <relocation> |
| 330 | + <!-- TODO remove this section..? --> |
| 331 | + <!-- <relocation> |
298 | 332 | <pattern>org.joda</pattern> |
299 | 333 | <shadedPattern>com.amazonaws.thirdparty.joda</shadedPattern> |
300 | 334 | </relocation> |
|
313 | 347 | <relocation> |
314 | 348 | <pattern>software.amazon.ion</pattern> |
315 | 349 | <shadedPattern>com.amazonaws.thirdparty.ion</shadedPattern> |
316 | | - </relocation> |
| 350 | + </relocation> --> |
317 | 351 | </relocations> |
318 | 352 | </configuration> |
319 | 353 | </plugin> |
|
0 commit comments