1<?xml version="1.0" encoding="UTF-8"?> 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 xmlns="http://maven.apache.org/POM/4.0.0" 18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 20 <parent> 21 <artifactId>http-clients</artifactId> 22 <groupId>software.amazon.awssdk</groupId> 23 <version>2.24.3</version> 24 </parent> 25 <modelVersion>4.0.0</modelVersion> 26 27 <artifactId>netty-nio-client</artifactId> 28 <name>AWS Java SDK :: HTTP Clients :: Netty Non-Blocking I/O</name> 29 30 31 <dependencies> 32 33 <!--SDK 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>utils</artifactId> 47 <version>${awsjavasdk.version}</version> 48 </dependency> 49 <dependency> 50 <groupId>software.amazon.awssdk</groupId> 51 <artifactId>metrics-spi</artifactId> 52 <version>${awsjavasdk.version}</version> 53 </dependency> 54 55 <!--Netty dependencies--> 56 <dependency> 57 <groupId>io.netty</groupId> 58 <artifactId>netty-codec-http</artifactId> 59 </dependency> 60 <dependency> 61 <groupId>io.netty</groupId> 62 <artifactId>netty-codec-http2</artifactId> 63 </dependency> 64 <dependency> 65 <groupId>io.netty</groupId> 66 <artifactId>netty-codec</artifactId> 67 </dependency> 68 <dependency> 69 <groupId>io.netty</groupId> 70 <artifactId>netty-transport</artifactId> 71 </dependency> 72 <dependency> 73 <groupId>io.netty</groupId> 74 <artifactId>netty-common</artifactId> 75 </dependency> 76 <dependency> 77 <groupId>io.netty</groupId> 78 <artifactId>netty-buffer</artifactId> 79 </dependency> 80 <dependency> 81 <groupId>io.netty</groupId> 82 <artifactId>netty-handler</artifactId> 83 </dependency> 84 <dependency> 85 <groupId>io.netty</groupId> 86 <artifactId>netty-transport-classes-epoll</artifactId> 87 </dependency> 88 <dependency> 89 <groupId>io.netty</groupId> 90 <artifactId>netty-resolver</artifactId> 91 </dependency> 92 <dependency> 93 <groupId>io.netty</groupId> 94 <artifactId>netty-resolver-dns</artifactId> 95 <optional>true</optional> 96 </dependency> 97 98 <!--Reactive Dependencies--> 99 <dependency> 100 <groupId>org.reactivestreams</groupId> 101 <artifactId>reactive-streams</artifactId> 102 </dependency> 103 <dependency> 104 <groupId>org.slf4j</groupId> 105 <artifactId>slf4j-api</artifactId> 106 </dependency> 107 108 <!--Test Dependencies--> 109 <dependency> 110 <groupId>software.amazon.awssdk</groupId> 111 <artifactId>http-client-tests</artifactId> 112 <version>${awsjavasdk.version}</version> 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>org.apache.commons</groupId> 122 <artifactId>commons-lang3</artifactId> 123 <scope>test</scope> 124 </dependency> 125 <dependency> 126 <groupId>org.junit.jupiter</groupId> 127 <artifactId>junit-jupiter</artifactId> 128 <scope>test</scope> 129 </dependency> 130 <dependency> 131 <groupId>org.junit.vintage</groupId> 132 <artifactId>junit-vintage-engine</artifactId> 133 <scope>test</scope> 134 </dependency> 135 <dependency> 136 <groupId>org.testng</groupId> 137 <artifactId>testng</artifactId> 138 <scope>test</scope> 139 </dependency> 140 <dependency> 141 <groupId>org.mockito</groupId> 142 <artifactId>mockito-core</artifactId> 143 <scope>test</scope> 144 </dependency> 145 <dependency> 146 <groupId>org.assertj</groupId> 147 <artifactId>assertj-core</artifactId> 148 <scope>test</scope> 149 </dependency> 150 <dependency> 151 <groupId>org.reactivestreams</groupId> 152 <artifactId>reactive-streams-tck</artifactId> 153 <scope>test</scope> 154 </dependency> 155 <dependency> 156 <groupId>org.apache.logging.log4j</groupId> 157 <artifactId>log4j-api</artifactId> 158 <scope>test</scope> 159 </dependency> 160 <dependency> 161 <groupId>org.apache.logging.log4j</groupId> 162 <artifactId>log4j-core</artifactId> 163 <scope>test</scope> 164 </dependency> 165 <dependency> 166 <groupId>org.apache.logging.log4j</groupId> 167 <artifactId>log4j-slf4j-impl</artifactId> 168 <scope>test</scope> 169 </dependency> 170 <dependency> 171 <groupId>io.netty</groupId> 172 <artifactId>netty-tcnative-boringssl-static</artifactId> 173 <scope>test</scope> 174 </dependency> 175 <dependency> 176 <groupId>io.reactivex.rxjava2</groupId> 177 <artifactId>rxjava</artifactId> 178 <scope>test</scope> 179 </dependency> 180 </dependencies> 181 182 <build> 183 <plugins> 184 <!-- 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 --> 185 <plugin> 186 <groupId>org.apache.maven.plugins</groupId> 187 <artifactId>maven-surefire-plugin</artifactId> 188 <version>${maven.surefire.version}</version> 189 <configuration> 190 <properties> 191 <property> 192 <name>junit</name> 193 <value>false</value> 194 </property> 195 </properties> 196 <threadCount>1</threadCount> 197 </configuration> 198 <dependencies> 199 <dependency> 200 <groupId>org.apache.maven.surefire</groupId> 201 <artifactId>surefire-junit-platform</artifactId> 202 <version>${maven.surefire.version}</version> 203 </dependency> 204 <dependency> 205 <groupId>org.apache.maven.surefire</groupId> 206 <artifactId>surefire-testng</artifactId> 207 <version>${maven.surefire.version}</version> 208 </dependency> 209 </dependencies> 210 </plugin> 211 <plugin> 212 <groupId>org.apache.maven.plugins</groupId> 213 <artifactId>maven-jar-plugin</artifactId> 214 <configuration> 215 <archive> 216 <manifestEntries> 217 <Automatic-Module-Name>software.amazon.awssdk.http.nio.netty</Automatic-Module-Name> 218 </manifestEntries> 219 </archive> 220 </configuration> 221 </plugin> 222 </plugins> 223 </build> 224</project> 225