|
23 | 23 | <bagit-support.version>1.1.0</bagit-support.version> |
24 | 24 | <jaxb-api.version>4.0.5</jaxb-api.version> |
25 | 25 | <jaxb-runtime.version>4.0.9</jaxb-runtime.version> |
| 26 | + <!-- AWS SDK v2 version: MUST match the version used by dspace-api ${dspace.version} |
| 27 | + (dspace-api declares software.amazon.awssdk:s3), otherwise the |
| 28 | + maven-enforcer-plugin DependencyConvergence rule will fail. --> |
| 29 | + <aws.sdk.version>2.43.2</aws.sdk.version> |
26 | 30 | <!-- Replication Task Suite requires Java 17 because DSpace 9 requires it --> |
27 | 31 | <java.version>17</java.version> |
28 | 32 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
414 | 418 | <scope>compile</scope> |
415 | 419 | </dependency> |
416 | 420 |
|
| 421 | + <!-- AWS SDK v2 artifacts needed by S3ObjectStore which are NOT declared by dspace-api |
| 422 | + (dspace-api only brings in "s3"). Scope is 'provided' because these JARs are expected |
| 423 | + to be present in the DSpace installation's lib/ at runtime. --> |
| 424 | + <dependency> |
| 425 | + <groupId>software.amazon.awssdk</groupId> |
| 426 | + <artifactId>sts</artifactId> |
| 427 | + <version>${aws.sdk.version}</version> |
| 428 | + <scope>provided</scope> |
| 429 | + <exclusions> |
| 430 | + <exclusion> |
| 431 | + <groupId>software.amazon.awssdk</groupId> |
| 432 | + <artifactId>netty-nio-client</artifactId> |
| 433 | + </exclusion> |
| 434 | + <exclusion> |
| 435 | + <groupId>software.amazon.awssdk</groupId> |
| 436 | + <artifactId>apache-client</artifactId> |
| 437 | + </exclusion> |
| 438 | + </exclusions> |
| 439 | + </dependency> |
| 440 | + <dependency> |
| 441 | + <groupId>software.amazon.awssdk</groupId> |
| 442 | + <artifactId>s3-transfer-manager</artifactId> |
| 443 | + <version>${aws.sdk.version}</version> |
| 444 | + <scope>provided</scope> |
| 445 | + <exclusions> |
| 446 | + <exclusion> |
| 447 | + <groupId>software.amazon.awssdk</groupId> |
| 448 | + <artifactId>netty-nio-client</artifactId> |
| 449 | + </exclusion> |
| 450 | + <exclusion> |
| 451 | + <groupId>software.amazon.awssdk</groupId> |
| 452 | + <artifactId>apache-client</artifactId> |
| 453 | + </exclusion> |
| 454 | + </exclusions> |
| 455 | + </dependency> |
| 456 | + |
417 | 457 | <!-- DuraCloud dependencies (used for replication to/from DuraCloud). |
418 | 458 | We only need to specify a dependency on the 'storeclient', as it already |
419 | 459 | declares dependencies on DuraCloud 'common' and 'storeprovider' APIs. --> |
|
0 commit comments