Commit 798a953 1 parent eff6576 commit 798a953 Copy full SHA for 798a953
File tree 2 files changed +10
-40
lines changed
2 files changed +10
-40
lines changed Original file line number Diff line number Diff line change 14
14
15
15
# Building
16
16
17
- With maven, with profiles for many different hadoop versions .
17
+ With maven, with profiles for AWS java v1 and v2 SDK .
18
18
19
19
To build a production release
20
20
1 . Use java8
21
- 2 . And compile against a shipping hadoop version, with ` -Pextra ` for the extra stuff
22
- 3 . Do not attempt to build the AWS v1 SDK components ` -Pextra ` against a version of Hadoop
23
- built with the AWS V2 SDK. It will fail
24
- 4 . If you cut a v2 sdk release, declare it in the release notes.
21
+ 2 . compile against a shipping hadoop version (see the profiles)
22
+ 3 . Use with ` -Pextra ` for the AWS v1 SDK integration
23
+ 4 . Build with ` -Psdk2 ` for the aws sdk v2.
25
24
26
25
V1 SDK build
27
26
``` bash
Original file line number Diff line number Diff line change 233
233
<artifactId >aws-java-sdk-bundle</artifactId >
234
234
<version >1.12.720</version >
235
235
<scope >provided</scope >
236
+ <exclusions >
237
+ <exclusion >
238
+ <groupId >*</groupId >
239
+ <artifactId >*</artifactId >
240
+ </exclusion >
241
+ </exclusions >
236
242
</dependency >
237
243
<dependency >
238
244
<groupId >software.amazon.awssdk</groupId >
270
276
271
277
<profiles >
272
278
273
- <profile >
274
- <id >branch-3.2</id >
275
- <activation >
276
- <property >
277
- <name >branch-3.2</name >
278
- </property >
279
- </activation >
280
- <properties >
281
- <hadoop .version>3.2.4-SNAPSHOT</hadoop .version>
282
- </properties >
283
- </profile >
284
-
285
- <profile >
286
- <id >branch-3.1</id >
287
- <activation >
288
- <property >
289
- <name >branch-3.1</name >
290
- </property >
291
- </activation >
292
- <properties >
293
- <hadoop .version>3.1.3-SNAPSHOT</hadoop .version>
294
- </properties >
295
- </profile >
296
279
297
280
<profile >
298
281
<id >branch-3.3</id >
306
289
</properties >
307
290
</profile >
308
291
309
- <profile >
310
- <id >hadoop-3.2</id >
311
- <activation >
312
- <property >
313
- <name >hadoop-3.2</name >
314
- </property >
315
- </activation >
316
- <properties >
317
- <hadoop .version>3.2.4</hadoop .version>
318
- </properties >
319
- </profile >
320
-
321
292
<profile >
322
293
<id >hadoop-3.3</id >
323
294
<activation >
You can’t perform that action at this time.
0 commit comments