|
72 | 72 | <scope>provided</scope> |
73 | 73 | </dependency> |
74 | 74 |
|
| 75 | + <!-- Will be shipped as Flink lib --> |
| 76 | + <dependency> |
| 77 | + <groupId>org.apache.iceberg</groupId> |
| 78 | + <artifactId>iceberg-aws-bundle</artifactId> |
| 79 | + <version>${iceberg.version}</version> |
| 80 | + <scope>provided</scope> |
| 81 | + </dependency> |
| 82 | + |
75 | 83 | <!-- Required for Iceberg to work --> |
76 | 84 | <dependency> |
77 | 85 | <groupId>org.apache.hadoop</groupId> |
|
90 | 98 | </exclusions> |
91 | 99 | </dependency> |
92 | 100 |
|
93 | | - <!-- AWS SDK v2 required for Iceberg S3FileIO --> |
94 | | - <dependency> |
95 | | - <groupId>software.amazon.awssdk</groupId> |
96 | | - <artifactId>s3</artifactId> |
97 | | - <version>${aws.sdk.version}</version> |
98 | | - <scope>provided</scope> |
99 | | - </dependency> |
100 | | - |
101 | | - <dependency> |
102 | | - <groupId>software.amazon.awssdk</groupId> |
103 | | - <artifactId>sts</artifactId> |
104 | | - <version>${aws.sdk.version}</version> |
105 | | - <scope>provided</scope> |
106 | | - </dependency> |
107 | | - |
108 | | - <dependency> |
109 | | - <groupId>software.amazon.awssdk</groupId> |
110 | | - <artifactId>url-connection-client</artifactId> |
111 | | - <version>${aws.sdk.version}</version> |
112 | | - <scope>provided</scope> |
113 | | - </dependency> |
114 | | - |
115 | 101 | <!-- Add logging framework, to produce console output when running in the IDE. --> |
116 | 102 | <!-- These dependencies are excluded from the application JAR by default. --> |
117 | 103 | <dependency> |
|
462 | 448 | </executions> |
463 | 449 | </plugin> |
464 | 450 |
|
465 | | - <!-- Copying UDF/SystemFunction JARs --> |
| 451 | + <!-- Copying S3, Iceberg, UDF JARs --> |
466 | 452 | <plugin> |
467 | 453 | <groupId>org.apache.maven.plugins</groupId> |
468 | 454 | <artifactId>maven-dependency-plugin</artifactId> |
|
493 | 479 | </configuration> |
494 | 480 | </execution> |
495 | 481 | <execution> |
496 | | - <id>copy-hdfs-client-for-iceberg</id> |
| 482 | + <id>copy-iceberg-aws-bundle</id> |
497 | 483 | <goals> |
498 | 484 | <goal>copy-dependencies</goal> |
499 | 485 | </goals> |
500 | 486 | <phase>process-resources</phase> |
501 | 487 | <configuration> |
502 | | - <includeGroupIds>org.apache.hadoop</includeGroupIds> |
503 | | - <includeArtifactIds>hadoop-hdfs-client</includeArtifactIds> |
| 488 | + <includeGroupIds>org.apache.iceberg</includeGroupIds> |
| 489 | + <includeArtifactIds>iceberg-aws-bundle</includeArtifactIds> |
504 | 490 | <outputDirectory>${project.build.directory}</outputDirectory> |
505 | 491 | </configuration> |
506 | 492 | </execution> |
507 | 493 | <execution> |
508 | | - <id>copy-aws-sdk-for-iceberg</id> |
| 494 | + <id>copy-hdfs-client-for-iceberg</id> |
509 | 495 | <goals> |
510 | 496 | <goal>copy-dependencies</goal> |
511 | 497 | </goals> |
512 | 498 | <phase>process-resources</phase> |
513 | 499 | <configuration> |
514 | | - <includeGroupIds>software.amazon.awssdk</includeGroupIds> |
515 | | - <outputDirectory>${project.build.directory}/aws-sdk</outputDirectory> |
| 500 | + <includeGroupIds>org.apache.hadoop</includeGroupIds> |
| 501 | + <includeArtifactIds>hadoop-hdfs-client</includeArtifactIds> |
| 502 | + <outputDirectory>${project.build.directory}</outputDirectory> |
516 | 503 | </configuration> |
517 | 504 | </execution> |
518 | 505 | <execution> |
|
0 commit comments