xref: /aosp_15_r20/external/aws-sdk-java-v2/core/sdk-core/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>core</artifactId>
24        <version>2.24.3</version>
25    </parent>
26    <artifactId>sdk-core</artifactId>
27    <name>AWS Java SDK :: SDK Core</name>
28    <description>The AWS SDK for Java - SDK Core runtime module holds the classes that are used by the individual service
29        clients to interact with
30        Amazon Web Services. Users need to depend on aws-java-sdk artifact for accessing individual client classes.
31    </description>
32    <url>https://aws.amazon.com/sdkforjava</url>
33    <dependencies>
34        <dependency>
35            <groupId>software.amazon.awssdk</groupId>
36            <artifactId>annotations</artifactId>
37            <version>${awsjavasdk.version}</version>
38        </dependency>
39        <dependency>
40            <groupId>software.amazon.awssdk</groupId>
41            <artifactId>http-client-spi</artifactId>
42            <version>${awsjavasdk.version}</version>
43        </dependency>
44        <dependency>
45            <groupId>software.amazon.awssdk</groupId>
46            <artifactId>metrics-spi</artifactId>
47            <version>${awsjavasdk.version}</version>
48        </dependency>
49        <dependency>
50            <groupId>software.amazon.awssdk</groupId>
51            <artifactId>endpoints-spi</artifactId>
52            <version>${awsjavasdk.version}</version>
53        </dependency>
54        <dependency>
55            <groupId>software.amazon.awssdk</groupId>
56            <artifactId>http-auth-spi</artifactId>
57            <version>${awsjavasdk.version}</version>
58        </dependency>
59        <!-- TODO: remove http-auth-aws once we deprecated RESOLVED_CHECKSUM_SPECS -->
60        <dependency>
61            <groupId>software.amazon.awssdk</groupId>
62            <artifactId>http-auth-aws</artifactId>
63            <version>${awsjavasdk.version}</version>
64        </dependency>
65        <dependency>
66            <groupId>software.amazon.awssdk</groupId>
67            <artifactId>checksums-spi</artifactId>
68            <version>${awsjavasdk.version}</version>
69        </dependency>
70        <dependency>
71            <groupId>software.amazon.awssdk</groupId>
72            <artifactId>checksums</artifactId>
73            <version>${awsjavasdk.version}</version>
74        </dependency>
75        <dependency>
76            <groupId>software.amazon.awssdk</groupId>
77            <artifactId>identity-spi</artifactId>
78            <version>${awsjavasdk.version}</version>
79        </dependency>
80        <dependency>
81            <groupId>software.amazon.awssdk</groupId>
82            <artifactId>utils</artifactId>
83            <version>${awsjavasdk.version}</version>
84        </dependency>
85        <dependency>
86            <groupId>software.amazon.awssdk</groupId>
87            <artifactId>profiles</artifactId>
88            <version>${awsjavasdk.version}</version>
89        </dependency>
90        <dependency>
91            <groupId>org.slf4j</groupId>
92            <artifactId>slf4j-api</artifactId>
93        </dependency>
94        <dependency>
95            <groupId>org.reactivestreams</groupId>
96            <artifactId>reactive-streams</artifactId>
97        </dependency>
98
99        <dependency>
100            <groupId>software.amazon.awssdk</groupId>
101            <artifactId>apache-client</artifactId>
102            <version>${awsjavasdk.version}</version>
103            <scope>test</scope>
104        </dependency>
105        <dependency>
106            <groupId>org.junit.jupiter</groupId>
107            <artifactId>junit-jupiter</artifactId>
108            <scope>test</scope>
109        </dependency>
110        <dependency>
111            <groupId>org.junit.vintage</groupId>
112            <artifactId>junit-vintage-engine</artifactId>
113            <scope>test</scope>
114        </dependency>
115        <dependency>
116            <groupId>com.github.tomakehurst</groupId>
117            <artifactId>wiremock-jre8</artifactId>
118            <scope>test</scope>
119        </dependency>
120        <dependency>
121            <groupId>com.google.guava</groupId>
122            <artifactId>guava</artifactId>
123            <scope>test</scope>
124        </dependency>
125        <dependency>
126            <groupId>org.apache.commons</groupId>
127            <artifactId>commons-lang3</artifactId>
128            <scope>test</scope>
129        </dependency>
130        <dependency>
131            <groupId>org.apache.logging.log4j</groupId>
132            <artifactId>log4j-api</artifactId>
133            <scope>test</scope>
134        </dependency>
135        <dependency>
136            <groupId>org.apache.logging.log4j</groupId>
137            <artifactId>log4j-core</artifactId>
138            <scope>test</scope>
139        </dependency>
140        <dependency>
141            <groupId>org.apache.logging.log4j</groupId>
142            <artifactId>log4j-slf4j-impl</artifactId>
143            <scope>test</scope>
144        </dependency>
145        <dependency>
146            <groupId>org.hamcrest</groupId>
147            <artifactId>hamcrest-all</artifactId>
148            <scope>test</scope>
149        </dependency>
150        <dependency>
151            <groupId>commons-io</groupId>
152            <artifactId>commons-io</artifactId>
153            <scope>test</scope>
154        </dependency>
155        <dependency>
156            <groupId>org.mockito</groupId>
157            <artifactId>mockito-core</artifactId>
158            <scope>test</scope>
159        </dependency>
160        <dependency>
161            <groupId>nl.jqno.equalsverifier</groupId>
162            <artifactId>equalsverifier</artifactId>
163            <scope>test</scope>
164        </dependency>
165        <dependency>
166            <groupId>net.bytebuddy</groupId>
167            <artifactId>byte-buddy</artifactId>
168            <scope>test</scope>
169        </dependency>
170        <dependency>
171            <groupId>org.unitils</groupId>
172            <artifactId>unitils-core</artifactId>
173            <scope>test</scope>
174        </dependency>
175        <dependency>
176            <groupId>org.assertj</groupId>
177            <artifactId>assertj-core</artifactId>
178            <scope>test</scope>
179        </dependency>
180        <dependency>
181            <groupId>software.amazon.awssdk</groupId>
182            <artifactId>test-utils</artifactId>
183            <version>${awsjavasdk.version}</version>
184            <scope>test</scope>
185        </dependency>
186        <dependency>
187            <groupId>org.reactivestreams</groupId>
188            <artifactId>reactive-streams-tck</artifactId>
189            <scope>test</scope>
190        </dependency>
191        <dependency>
192            <groupId>com.google.jimfs</groupId>
193            <artifactId>jimfs</artifactId>
194            <scope>test</scope>
195        </dependency>
196        <dependency>
197            <groupId>org.apache.httpcomponents</groupId>
198            <artifactId>httpclient</artifactId>
199            <scope>test</scope>
200        </dependency>
201        <dependency>
202            <groupId>org.apache.httpcomponents</groupId>
203            <artifactId>httpcore</artifactId>
204            <scope>test</scope>
205        </dependency>
206        <dependency>
207            <groupId>org.hamcrest</groupId>
208            <artifactId>hamcrest-core</artifactId>
209            <scope>test</scope>
210        </dependency>
211        <dependency>
212            <groupId>software.amazon.awssdk</groupId>
213            <artifactId>netty-nio-client</artifactId>
214            <version>${awsjavasdk.version}</version>
215            <scope>test</scope>
216        </dependency>
217        <dependency>
218            <groupId>io.reactivex.rxjava2</groupId>
219            <artifactId>rxjava</artifactId>
220            <scope>test</scope>
221        </dependency>
222    </dependencies>
223    <build>
224        <plugins>
225            <!-- The Reactive Streams TCK tests are based on TestNG. See http://maven.apache.org/surefire/maven-surefire-plugin/examples/testng.html#Running_TestNG_and_JUnit_Tests -->
226            <plugin>
227                <groupId>org.apache.maven.plugins</groupId>
228                <artifactId>maven-surefire-plugin</artifactId>
229                <version>${maven.surefire.version}</version>
230                <configuration>
231                    <properties>
232                        <property>
233                            <name>junit</name>
234                            <value>false</value>
235                        </property>
236                    </properties>
237                    <threadCount>1</threadCount>
238                </configuration>
239                <dependencies>
240                    <dependency>
241                        <groupId>org.apache.maven.surefire</groupId>
242                        <artifactId>surefire-junit-platform</artifactId>
243                        <version>${maven.surefire.version}</version>
244                    </dependency>
245                    <dependency>
246                        <groupId>org.apache.maven.surefire</groupId>
247                        <artifactId>surefire-testng</artifactId>
248                        <version>${maven.surefire.version}</version>
249                    </dependency>
250                </dependencies>
251            </plugin>
252            <plugin>
253                <groupId>org.codehaus.mojo</groupId>
254                <artifactId>build-helper-maven-plugin</artifactId>
255            </plugin>
256            <plugin>
257                <groupId>com.nativelibs4java</groupId>
258                <artifactId>maven-velocity-plugin</artifactId>
259                <version>0.9</version>
260                <executions>
261                    <execution>
262                        <phase>generate-sources</phase>
263                        <goals>
264                            <goal>generate</goal>
265                        </goals>
266                    </execution>
267                </executions>
268                <configuration>
269                    <velocitySources>${basedir}/src/main/resources/software/amazon/awssdk/core/util</velocitySources>
270                    <resourcesOutputDirectory>${project.build.directory}/generated-sources/sdk/software/amazon/awssdk/core/util</resourcesOutputDirectory>
271                    <properties>
272                        <sdkVersion>${awsjavasdk.version}</sdkVersion>
273                    </properties>
274                </configuration>
275            </plugin>
276            <plugin>
277                <groupId>org.apache.maven.plugins</groupId>
278                <artifactId>maven-jar-plugin</artifactId>
279                <configuration>
280                    <archive>
281                        <manifestEntries>
282                            <Automatic-Module-Name>software.amazon.awssdk.core</Automatic-Module-Name>
283                        </manifestEntries>
284                    </archive>
285                </configuration>
286            </plugin>
287        </plugins>
288
289        <pluginManagement>
290            <plugins>
291                <plugin>
292                    <groupId>org.apache.maven.plugins</groupId>
293                    <artifactId>maven-surefire-plugin</artifactId>
294                    <!-- Have to explicitly set surefire provider because reactivestreamsTCK is using TestNG-->
295                    <dependencies>
296                        <dependency>
297                            <groupId>org.apache.maven.surefire</groupId>
298                            <artifactId>surefire-junit-platform</artifactId>
299                            <version>${maven.surefire.version}</version>
300                        </dependency>
301                    </dependencies>
302                </plugin>
303            </plugins>
304        </pluginManagement>
305    </build>
306</project>
307