xref: /aosp_15_r20/external/aws-sdk-java-v2/test/service-test-utils/pom.xml (revision 8a52c7834d808308836a99fc2a6e0ed8db339086)
1<?xml version="1.0"?>
2<!--
3  ~ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License").
6  ~ You may not use this file except in compliance with the License.
7  ~ A copy of the License is located at
8  ~
9  ~  http://aws.amazon.com/apache2.0
10  ~
11  ~ or in the "license" file accompanying this file. This file is distributed
12  ~ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13  ~ express or implied. See the License for the specific language governing
14  ~ permissions and limitations under the License.
15  -->
16
17<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
18         xmlns="http://maven.apache.org/POM/4.0.0"
19         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
20    <modelVersion>4.0.0</modelVersion>
21    <parent>
22        <groupId>software.amazon.awssdk</groupId>
23        <artifactId>aws-sdk-java-pom</artifactId>
24        <version>2.24.3</version>
25        <relativePath>../../pom.xml</relativePath>
26    </parent>
27    <artifactId>service-test-utils</artifactId>
28    <name>AWS Java SDK :: Test :: Service Test Utils</name>
29    <description>The AWS SDK for Java - Service Test Utils module holds utilities used by service tests that may have dependencies on the core runtime.
30    </description>
31    <url>https://aws.amazon.com/sdkforjava</url>
32
33    <dependencyManagement>
34        <dependencies>
35            <dependency>
36                <groupId>software.amazon.awssdk</groupId>
37                <artifactId>bom-internal</artifactId>
38                <version>${project.version}</version>
39                <type>pom</type>
40                <scope>import</scope>
41            </dependency>
42        </dependencies>
43    </dependencyManagement>
44
45    <dependencies>
46        <dependency>
47            <groupId>software.amazon.awssdk</groupId>
48            <artifactId>sdk-core</artifactId>
49            <version>${awsjavasdk.version}</version>
50        </dependency>
51        <dependency>
52            <groupId>software.amazon.awssdk</groupId>
53            <artifactId>utils</artifactId>
54            <version>${awsjavasdk.version}</version>
55        </dependency>
56        <dependency>
57            <groupId>software.amazon.awssdk</groupId>
58            <artifactId>test-utils</artifactId>
59            <version>${awsjavasdk.version}</version>
60        </dependency>
61        <dependency>
62            <groupId>software.amazon.awssdk</groupId>
63            <artifactId>auth</artifactId>
64            <version>${awsjavasdk.version}</version>
65        </dependency>
66        <dependency>
67            <groupId>software.amazon.awssdk</groupId>
68            <artifactId>identity-spi</artifactId>
69            <version>${awsjavasdk.version}</version>
70        </dependency>
71        <dependency>
72            <groupId>software.amazon.awssdk</groupId>
73            <artifactId>http-client-spi</artifactId>
74            <version>${awsjavasdk.version}</version>
75        </dependency>
76        <dependency>
77            <groupId>org.junit.jupiter</groupId>
78            <artifactId>junit-jupiter</artifactId>
79            <scope>compile</scope>
80        </dependency>
81        <dependency>
82            <groupId>org.junit.vintage</groupId>
83            <artifactId>junit-vintage-engine</artifactId>
84            <scope>compile</scope>
85        </dependency>
86        <dependency>
87            <groupId>junit</groupId>
88            <artifactId>junit</artifactId>
89            <scope>compile</scope>
90        </dependency>
91        <dependency>
92            <groupId>io.projectreactor.tools</groupId>
93            <artifactId>blockhound</artifactId>
94            <version>${blockhound.version}</version>
95            <scope>compile</scope>
96        </dependency>
97        <dependency>
98            <groupId>io.projectreactor.tools</groupId>
99            <artifactId>blockhound-junit-platform</artifactId>
100            <version>${blockhound.version}</version>
101            <scope>compile</scope>
102        </dependency>
103        <dependency>
104            <groupId>org.hamcrest</groupId>
105            <artifactId>hamcrest-core</artifactId>
106            <scope>compile</scope>
107        </dependency>
108    </dependencies>
109
110    <build>
111        <plugins>
112            <plugin>
113                <groupId>org.apache.maven.plugins</groupId>
114                <artifactId>maven-dependency-plugin</artifactId>
115                <configuration>
116                    <ignoredUnusedDeclaredDependencies>
117                        <!-- nice to have this pulled in so that service tests have these in scope -->
118                        <ignoredUnusedDeclaredDependency>software.amazon.awssdk:test-utils:*</ignoredUnusedDeclaredDependency>
119                        <ignoredUnusedDeclaredDependency>org.junit.jupiter:*</ignoredUnusedDeclaredDependency>
120                        <ignoredUnusedDeclaredDependency>org.junit.vintage:*</ignoredUnusedDeclaredDependency>
121                        <ignoredUnusedDeclaredDependency>io.projectreactor.tools:blockhound-junit-platform:*</ignoredUnusedDeclaredDependency>
122                    </ignoredUnusedDeclaredDependencies>
123                </configuration>
124            </plugin>
125            <plugin>
126                <groupId>org.apache.maven.plugins</groupId>
127                <artifactId>maven-jar-plugin</artifactId>
128                <configuration>
129                    <archive>
130                        <manifestEntries>
131                            <Automatic-Module-Name>software.amazon.awssdk.testutils.service</Automatic-Module-Name>
132                        </manifestEntries>
133                    </archive>
134                </configuration>
135            </plugin>
136        </plugins>
137    </build>
138</project>
139