File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414
1515# Building
1616
17- With maven, with profiles for many different hadoop versions .
17+ With maven, with profiles for AWS java v1 and v2 SDK .
1818
1919To build a production release
20201 . 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.
2524
2625V1 SDK build
2726``` bash
Original file line number Diff line number Diff line change 233233 <artifactId >aws-java-sdk-bundle</artifactId >
234234 <version >1.12.720</version >
235235 <scope >provided</scope >
236+ <exclusions >
237+ <exclusion >
238+ <groupId >*</groupId >
239+ <artifactId >*</artifactId >
240+ </exclusion >
241+ </exclusions >
236242 </dependency >
237243 <dependency >
238244 <groupId >software.amazon.awssdk</groupId >
270276
271277 <profiles >
272278
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 >
296279
297280 <profile >
298281 <id >branch-3.3</id >
306289 </properties >
307290 </profile >
308291
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-
321292 <profile >
322293 <id >hadoop-3.3</id >
323294 <activation >
You can’t perform that action at this time.
0 commit comments