|
26 | 26 | <artifactId>http-client-benchmarks</artifactId>
|
27 | 27 | <packaging>jar</packaging>
|
28 | 28 |
|
29 |
| - <name>AWS Java SDK :: Test :: SDK Benchmarks</name> |
30 |
| - <description>Contains JMH benchmark code for the SDK</description> |
| 29 | + <name>AWS Java SDK :: Test :: HTTP CLIENT Benchmarks</name> |
| 30 | + <description>Contains JMH benchmark code for the SDK HTTP CLIENTS</description> |
31 | 31 |
|
32 | 32 | <properties>
|
33 | 33 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
34 |
| - <jmh.version>1.21</jmh.version> |
35 |
| - <maven.compiler.source>21</maven.compiler.source> |
36 |
| - <maven.compiler.target>21</maven.compiler.target> |
37 |
| - <maven.compiler.release>21</maven.compiler.release> |
38 |
| - <!-- |
39 |
| - JMH version to use with this project. |
40 |
| - --> |
41 | 34 | <jmh.version>1.37</jmh.version>
|
42 |
| - |
43 |
| - <!-- |
44 |
| - Java source/target to use for compilation. |
45 |
| - --> |
46 | 35 | <javac.target>21</javac.target>
|
47 |
| - |
48 |
| - <!-- |
49 |
| - Name of the benchmark Uber-JAR to generate. |
50 |
| - --> |
51 |
| - <uberjar.name>benchmarks</uberjar.name> |
52 |
| - |
53 |
| - <sdk-v1.version>1.11.404</sdk-v1.version> |
| 36 | + <uberjar.name>http-client-benchmarks</uberjar.name> |
54 | 37 | <exec-maven-plugin.version>1.6.0</exec-maven-plugin.version>
|
55 | 38 | </properties>
|
56 | 39 |
|
| 40 | + |
57 | 41 | <dependencies>
|
58 | 42 | <dependency>
|
59 | 43 | <groupId>org.openjdk.jmh</groupId>
|
|
79 | 63 | <version>${awsjavasdk.version}</version>
|
80 | 64 | </dependency>
|
81 | 65 |
|
82 |
| - <dependency> |
83 |
| - <groupId>com.amazonaws</groupId> |
84 |
| - <artifactId>aws-java-sdk-core</artifactId> |
85 |
| - <version>${sdk-v1.version}</version> |
86 |
| - </dependency> |
87 |
| - |
88 |
| - |
89 |
| - <dependency> |
90 |
| - <groupId>software.amazon.awssdk</groupId> |
91 |
| - <artifactId>sdk-core</artifactId> |
92 |
| - <version>${awsjavasdk.version}</version> |
93 |
| - </dependency> |
94 |
| - |
95 |
| - |
96 | 66 | <dependency>
|
97 | 67 | <groupId>software.amazon.awssdk</groupId>
|
98 | 68 | <artifactId>apache-client</artifactId>
|
|
119 | 89 | <artifactId>log4j-slf4j-impl</artifactId>
|
120 | 90 | <scope>compile</scope>
|
121 | 91 | </dependency>
|
122 |
| - <dependency> |
123 |
| - <groupId>org.eclipse.jetty</groupId> |
124 |
| - <artifactId>jetty-servlet</artifactId> |
125 |
| - </dependency> |
126 |
| - <dependency> |
127 |
| - <groupId>org.eclipse.jetty</groupId> |
128 |
| - <artifactId>jetty-server</artifactId> |
129 |
| - </dependency> |
130 |
| - <dependency> |
131 |
| - <groupId>org.eclipse.jetty.http2</groupId> |
132 |
| - <artifactId>http2-server</artifactId> |
133 |
| - </dependency> |
134 |
| - <dependency> |
135 |
| - <groupId>org.eclipse.jetty</groupId> |
136 |
| - <artifactId>jetty-alpn-java-server</artifactId> |
137 |
| - </dependency> |
138 |
| - <dependency> |
139 |
| - <groupId>org.eclipse.jetty.http2</groupId> |
140 |
| - <artifactId>http2-hpack</artifactId> |
141 |
| - </dependency> |
142 |
| - |
143 |
| - |
144 |
| - <dependency> |
145 |
| - <groupId>commons-cli</groupId> |
146 |
| - <artifactId>commons-cli</artifactId> |
147 |
| - <scope>compile</scope> |
148 |
| - </dependency> |
149 |
| - <dependency> |
150 |
| - <groupId>software.amazon.awssdk</groupId> |
151 |
| - <artifactId>cloudwatch</artifactId> |
152 |
| - <version>${awsjavasdk.version}</version> |
153 |
| - <scope>compile</scope> |
154 |
| - </dependency> |
155 |
| - <dependency> |
156 |
| - <groupId>software.amazon.awssdk</groupId> |
157 |
| - <artifactId>cloudwatch-metric-publisher</artifactId> |
158 |
| - <version>${awsjavasdk.version}</version> |
159 |
| - <scope>compile</scope> |
160 |
| - </dependency> |
161 | 92 | </dependencies>
|
162 | 93 |
|
163 | 94 | <dependencyManagement>
|
|
169 | 100 | <type>pom</type>
|
170 | 101 | <scope>import</scope>
|
171 | 102 | </dependency>
|
172 |
| - <dependency> |
173 |
| - <groupId>org.eclipse.jetty</groupId> |
174 |
| - <artifactId>jetty-bom</artifactId> |
175 |
| - <version>${jetty.version}</version> |
176 |
| - <type>pom</type> |
177 |
| - <scope>import</scope> |
178 |
| - </dependency> |
179 | 103 | </dependencies>
|
180 | 104 | </dependencyManagement>
|
181 | 105 |
|
|
198 | 122 | <release>${javac.target}</release>
|
199 | 123 | <target>${javac.target}</target>
|
200 | 124 | </configuration>
|
201 |
| - <executions> |
202 |
| - <execution> |
203 |
| - <id>compile</id> |
204 |
| - <phase>none</phase> |
205 |
| - </execution> |
206 |
| - </executions> |
207 | 125 | <inherited>false</inherited>
|
208 | 126 | </plugin>
|
209 | 127 | <plugin>
|
|
274 | 192 | <Main-Class>org.openjdk.jmh.Main</Main-Class>
|
275 | 193 | </manifestEntries>
|
276 | 194 | </transformer>
|
277 |
| - <!-- This is important to run h2 server --> |
278 |
| - <!-- https://github.com/jetty-project/embedded-jetty-live-war/blob/master/theserver/pom.xml --> |
279 | 195 | <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
|
280 | 196 | </transformers>
|
281 | 197 | <filters>
|
|
0 commit comments