v2-migration
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>v2-migration</artifactId> <version>2.29.18-PREVIEW</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. ~ ~ Licensed under the Apache License, Version 2.0 (the "License"). ~ You may not use this file except in compliance with the License. ~ A copy of the License is located at ~ ~ http://aws.amazon.com/apache2.0 ~ ~ or in the "license" file accompanying this file. This file is distributed ~ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either ~ express or implied. See the License for the specific language governing ~ permissions and limitations under the License. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>software.amazon.awssdk</groupId> <artifactId>aws-sdk-java-pom</artifactId> <version>2.29.18</version> <relativePath>../pom.xml</relativePath> </parent> <artifactId>v2-migration</artifactId> <version>${awsjavasdk.version}-PREVIEW</version> <name>AWS Java SDK :: V2 Migration</name> <description> Contains OpenRewrite recipes to help users migrate from the AWS SDK for Java v1 to the AWS SDK for Java v2 </description> <properties> <awsjavasdk.version>${project.parent.version}</awsjavasdk.version> <openrewrite.version>2.17.0</openrewrite.version> <junit.version>5.10.3</junit.version> <awssdkjavav1.version>1.12.472</awssdkjavav1.version> </properties> <dependencyManagement> <dependencies> <!-- We should not use bom-internal here because it'll cause version conflict --> <dependency> <groupId>org.openrewrite.recipe</groupId> <artifactId>rewrite-recipe-bom</artifactId> <version>${openrewrite.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.junit</groupId> <artifactId>junit-bom</artifactId> <version>${junit.version}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-bom</artifactId> <version>${awssdkjavav1.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.openrewrite</groupId> <artifactId>rewrite-java</artifactId> </dependency> <dependency> <groupId>org.openrewrite</groupId> <artifactId>rewrite-java-8</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.openrewrite.recipe</groupId> <artifactId>rewrite-java-dependencies</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>utils</artifactId> <version>${awsjavasdk.version}</version> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>sdk-core</artifactId> <version>${awsjavasdk.version}</version> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>apache-client</artifactId> <version>${awsjavasdk.version}</version> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>netty-nio-client</artifactId> <version>${awsjavasdk.version}</version> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>auth</artifactId> <version>${awsjavasdk.version}</version> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>sts</artifactId> <version>${awsjavasdk.version}</version> </dependency> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-sqs</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>com.fasterxml.jackson</groupId> <artifactId>jackson-core</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-sns</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>com.fasterxml.jackson</groupId> <artifactId>jackson-core</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-s3</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>com.fasterxml.jackson</groupId> <artifactId>jackson-core</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-dynamodb</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>com.fasterxml.jackson</groupId> <artifactId>jackson-core</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-lambda</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>com.fasterxml.jackson</groupId> <artifactId>jackson-core</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.openrewrite</groupId> <artifactId>rewrite-maven</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.openrewrite</groupId> <artifactId>rewrite-test</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.platform</groupId> <artifactId>junit-platform-commons</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>${assertj.version}</version> <scope>test</scope> </dependency> <!-- Used in UpgradeSdkDependenciesTest --> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>sqs</artifactId> <scope>test</scope> <version>${awsjavasdk.version}</version> <exclusions> <exclusion> <groupId>com.fasterxml.jackson</groupId> <artifactId>jackson-core</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>sns</artifactId> <scope>test</scope> <version>${awsjavasdk.version}</version> <exclusions> <exclusion> <groupId>com.fasterxml.jackson</groupId> <artifactId>jackson-core</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>test-utils</artifactId> <version>${awsjavasdk.version}</version> <scope>test</scope> <exclusions> <exclusion> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> </exclusion> <exclusion> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <configuration> <failOnWarning>false</failOnWarning> <ignoreNonCompile>false</ignoreNonCompile> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestEntries> <!-- TODO: is this really needed since we don't expect users to use our recipe classes directly ? --> <Automatic-Module-Name>software.amazon.awssdk.v2migration</Automatic-Module-Name> </manifestEntries> </archive> </configuration> </plugin> </plugins> </build> </project>