|
65 | 65 | <artifactId>commons-beanutils</artifactId> |
66 | 66 | <version>${commons.beanutils.version}</version> |
67 | 67 | </dependency> |
| 68 | + |
| 69 | + <dependency> |
| 70 | + <groupId>software.amazon.awssdk</groupId> |
| 71 | + <artifactId>bom</artifactId> |
| 72 | + <version>${fs.s3.aws.version}</version> |
| 73 | + <type>pom</type> |
| 74 | + <scope>import</scope> |
| 75 | + </dependency> |
68 | 76 | </dependencies> |
69 | 77 | </dependencyManagement> |
70 | 78 |
|
|
206 | 214 | <groupId>org.slf4j</groupId> |
207 | 215 | <artifactId>slf4j-reload4j</artifactId> |
208 | 216 | </exclusion> |
| 217 | + <!-- Exclude jeysey-json because of incompatible license --> |
| 218 | + <exclusion> |
| 219 | + <groupId>com.github.pjfanning</groupId> |
| 220 | + <artifactId>jersey-json</artifactId> |
| 221 | + </exclusion> |
209 | 222 | </exclusions> |
210 | 223 | </dependency> |
211 | 224 |
|
212 | 225 | <!-- AWS dependencies (bundled) --> |
213 | 226 | <dependency> |
214 | | - <groupId>com.amazonaws</groupId> |
215 | | - <artifactId>aws-java-sdk-core</artifactId> |
216 | | - <version>${fs.s3.aws.version}</version> |
| 227 | + <groupId>software.amazon.awssdk</groupId> |
| 228 | + <artifactId>s3</artifactId> |
217 | 229 | </dependency> |
218 | 230 | <dependency> |
219 | | - <groupId>com.amazonaws</groupId> |
220 | | - <artifactId>aws-java-sdk-s3</artifactId> |
221 | | - <version>${fs.s3.aws.version}</version> |
| 231 | + <groupId>software.amazon.awssdk</groupId> |
| 232 | + <artifactId>s3-transfer-manager</artifactId> |
222 | 233 | </dependency> |
223 | 234 | <dependency> |
224 | | - <groupId>com.amazonaws</groupId> |
225 | | - <artifactId>aws-java-sdk-kms</artifactId> |
226 | | - <version>${fs.s3.aws.version}</version> |
| 235 | + <groupId>software.amazon.awssdk</groupId> |
| 236 | + <artifactId>kms</artifactId> |
227 | 237 | </dependency> |
228 | 238 | <dependency> |
229 | | - <groupId>com.amazonaws</groupId> |
230 | | - <artifactId>aws-java-sdk-dynamodb</artifactId> |
231 | | - <version>${fs.s3.aws.version}</version> |
| 239 | + <groupId>software.amazon.awssdk</groupId> |
| 240 | + <artifactId>dynamodb</artifactId> |
232 | 241 | </dependency> |
233 | 242 | <dependency> |
234 | | - <groupId>com.amazonaws</groupId> |
235 | | - <artifactId>aws-java-sdk-sts</artifactId> |
236 | | - <version>${fs.s3.aws.version}</version> |
| 243 | + <groupId>software.amazon.awssdk</groupId> |
| 244 | + <artifactId>sts</artifactId> |
237 | 245 | </dependency> |
238 | 246 |
|
239 | 247 | <!-- Hadoop's s3 support classes (bundled) --> |
|
243 | 251 | <version>${fs.hadoopshaded.version}</version> |
244 | 252 | <exclusions> |
245 | 253 | <exclusion> |
246 | | - <groupId>com.amazonaws</groupId> |
247 | | - <artifactId>aws-java-sdk-bundle</artifactId> |
| 254 | + <groupId>software.amazon.awssdk</groupId> |
| 255 | + <artifactId>bundle</artifactId> |
248 | 256 | </exclusion> |
249 | 257 | <exclusion> |
250 | 258 | <groupId>ch.qos.reload4j</groupId> |
|
369 | 377 | <exclude>META-INF/LICENSE.txt</exclude> |
370 | 378 | </excludes> |
371 | 379 | </filter> |
| 380 | + <!-- |
| 381 | + analyticsaccelerator-s3 puts these files under the root of the JAR, |
| 382 | + which causes license scanning tools to complain. |
| 383 | + This is a transitive dependency of hadoop-aws. It uses Apache License 2.0, |
| 384 | + and we don't bundle its transitive dependencies. |
| 385 | + --> |
372 | 386 | <filter> |
373 | | - <artifact>com.amazonaws:aws-java-sdk-s3</artifact> |
374 | | - <!-- Make sure we are using the overridden XmlResponsesSaxParser. |
375 | | - Filter must be removed as soon as XmlResponsesSaxParser of this module is |
376 | | - dropped, for example when discontinuing support for Java 8. --> |
| 387 | + <artifact>software.amazon.s3.analyticsaccelerator:analyticsaccelerator-s3</artifact> |
377 | 388 | <excludes> |
378 | | - <exclude>com/amazonaws/services/s3/model/transform/XmlResponsesSaxParser**</exclude> |
| 389 | + <exclude>LICENSE</exclude> |
| 390 | + <exclude>NOTICE</exclude> |
| 391 | + <exclude>THIRD-PARTY-NOTICES</exclude> |
379 | 392 | </excludes> |
380 | 393 | </filter> |
381 | 394 | </filters> |
|
0 commit comments