1*8a52c783SCole Faust# AWS SDK Native Image Test 2*8a52c783SCole Faust 3*8a52c783SCole Faust## Description 4*8a52c783SCole FaustThis module contains a sample application using AWS SDK for Java 2.x, and it 5*8a52c783SCole Faustis used to test GraalVM Native Image compilation. 6*8a52c783SCole Faust 7*8a52c783SCole Faust## Prerequisites 8*8a52c783SCole Faust 9*8a52c783SCole FaustTo run the tests, you need to have GraalVM and Native Image set up properly in your workspace. 10*8a52c783SCole FaustSee [Setting up GraalVM with native-image support](https://graalvm.github.io/native-build-tools/latest/graalvm-setup.html) 11*8a52c783SCole Faust 12*8a52c783SCole Faust## How to run 13*8a52c783SCole Faust 14*8a52c783SCole FaustYou can run the integration tests by using the following commands. 15*8a52c783SCole Faust 16*8a52c783SCole Faust``` 17*8a52c783SCole Faustmvn clean install -pl :sdk-native-image-test -P quick --am 18*8a52c783SCole Faust 19*8a52c783SCole Faustmvn clean install -pl :bom-internal,:bom 20*8a52c783SCole Faust 21*8a52c783SCole Faustcd test/sdk-native-image-test 22*8a52c783SCole Faust 23*8a52c783SCole Faust# build the image 24*8a52c783SCole Faustmvn clean package -P native-image 25*8a52c783SCole Faust 26*8a52c783SCole Faust# execute the image 27*8a52c783SCole Fausttarget/sdk-native-image-test 28*8a52c783SCole Faust``` 29*8a52c783SCole Faust 30*8a52c783SCole Faust 31