Skip to content

Commit 4a5bf36

Browse files
authored
[http-fault-injector] Update deps of Java samples (#13169)
1 parent 8d5da4b commit 4a5bf36

File tree

3 files changed

+10
-70
lines changed

3 files changed

+10
-70
lines changed
Lines changed: 7 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,85 +1,25 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
3-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
55
<modelVersion>4.0.0</modelVersion>
66

7-
<groupId>httpfaultinjectorclient</groupId>
7+
<groupId>org.example</groupId>
88
<artifactId>httpfaultinjectorclient</artifactId>
99
<version>1.0-SNAPSHOT</version>
1010

11-
<name>httpfaultinjectorclient</name>
12-
<!-- FIXME change it to the project's website -->
13-
<url>http://www.example.com</url>
14-
1511
<properties>
12+
<maven.compiler.source>8</maven.compiler.source>
13+
<maven.compiler.target>8</maven.compiler.target>
1614
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17-
<maven.compiler.source>1.8</maven.compiler.source>
18-
<maven.compiler.target>1.8</maven.compiler.target>
1915
</properties>
2016

21-
<dependencyManagement>
22-
<dependencies>
23-
<dependency>
24-
<groupId>io.projectreactor</groupId>
25-
<artifactId>reactor-bom</artifactId>
26-
<version>Dysprosium-SR10</version>
27-
<type>pom</type>
28-
<scope>import</scope>
29-
</dependency>
30-
</dependencies>
31-
</dependencyManagement>
32-
3317
<dependencies>
3418
<dependency>
3519
<groupId>io.projectreactor.netty</groupId>
3620
<artifactId>reactor-netty</artifactId>
21+
<version>[1.2.13,1.3.0)</version>
3722
</dependency>
3823
</dependencies>
3924

40-
<build>
41-
<pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
42-
<plugins>
43-
<!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
44-
<plugin>
45-
<artifactId>maven-clean-plugin</artifactId>
46-
<version>3.1.0</version>
47-
</plugin>
48-
<!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
49-
<plugin>
50-
<artifactId>maven-resources-plugin</artifactId>
51-
<version>3.0.2</version>
52-
</plugin>
53-
<plugin>
54-
<artifactId>maven-compiler-plugin</artifactId>
55-
<version>3.8.0</version>
56-
</plugin>
57-
<plugin>
58-
<artifactId>maven-surefire-plugin</artifactId>
59-
<version>2.22.1</version>
60-
</plugin>
61-
<plugin>
62-
<artifactId>maven-jar-plugin</artifactId>
63-
<version>3.0.2</version>
64-
</plugin>
65-
<plugin>
66-
<artifactId>maven-install-plugin</artifactId>
67-
<version>2.5.2</version>
68-
</plugin>
69-
<plugin>
70-
<artifactId>maven-deploy-plugin</artifactId>
71-
<version>2.8.2</version>
72-
</plugin>
73-
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
74-
<plugin>
75-
<artifactId>maven-site-plugin</artifactId>
76-
<version>3.7.1</version>
77-
</plugin>
78-
<plugin>
79-
<artifactId>maven-project-info-reports-plugin</artifactId>
80-
<version>3.0.0</version>
81-
</plugin>
82-
</plugins>
83-
</pluginManagement>
84-
</build>
8525
</project>

tools/http-fault-injector/sample-clients/java/storage-blobs/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
<dependency>
1919
<groupId>com.azure</groupId>
2020
<artifactId>azure-storage-blob</artifactId>
21-
<version>12.18.0</version>
21+
<version>[12.32.0,13.0.0)</version>
2222
</dependency>
2323
</dependencies>
2424

25-
</project>
25+
</project>

tools/http-fault-injector/sample-clients/java/storage-blobs/src/main/java/FaultInjectorHttpClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public final class FaultInjectorHttpClient implements HttpClient {
2828
*/
2929
public FaultInjectorHttpClient(HttpClient httpClient) {
3030
this(httpClient, Utils.DEFAULT_HTTP_FAULT_INJECTOR_SCHEME,
31-
Util.DEFAULT_HTTP_FAULT_INJECTOR_HOST, Utils.DEFAULT_HTTP_FAULT_INJECTOR_HTTP_PORT);
31+
Utils.DEFAULT_HTTP_FAULT_INJECTOR_HOST, Utils.DEFAULT_HTTP_FAULT_INJECTOR_HTTP_PORT);
3232
}
3333

3434
/**

0 commit comments

Comments
 (0)