This modules contains OpenRewrite recipes to automate migration from the AWS SDK for Java v1 to the AWS SDK for Java v2.
For steps on performing the migration, see our Developer Guide.
To build this module locally for fast development, run the following command.
mvn clean install -pl :bom-internal,:bom,:v2-migration -P quick --am
There are two types of tests available: unit tests and end-to-end functional tests.
- Unit tests
Unit tests reside in the test folder in this module. They use RewriteTest interface
- End-to-end functional tests
End-to-end functional tests are in v2-migration-tests module. It contains sample applications using the AWS SDK for Java v1 and compares the transformed code with the expected v2 code and ensures it compiles.