|
69 | 69 | <prometheus.client.version>0.16.0</prometheus.client.version> |
70 | 70 | <reflections.version>0.10.2</reflections.version> |
71 | 71 |
|
| 72 | + <!-- The `optional` tag in `dependencyManagement` is not inherited; see |
| 73 | + https://issues.apache.org/jira/browse/MNG-5227 and |
| 74 | + https://issues.apache.org/jira/browse/MNG-5632. Therefore, we specify |
| 75 | + optional dependencies here to manage them in a single location. --> |
| 76 | + <prometheus.client.optional>true</prometheus.client.optional> |
| 77 | + <com.amazonaws.aws-java-sdk-sts.optional>true</com.amazonaws.aws-java-sdk-sts.optional> |
| 78 | + <com.google.auth.google-auth-library-oauth2-http.optional>true</com.google.auth.google-auth-library-oauth2-http.optional> |
| 79 | + <org.springframework.boot.spring-boot-actuator.optional>true</org.springframework.boot.spring-boot-actuator.optional> |
| 80 | + |
72 | 81 | <e2e.skip>true</e2e.skip> |
73 | 82 |
|
74 | 83 | <gpg.keyname>48540ECBBF00A28EACCF04E720FD12AFB0C9EBA9</gpg.keyname> |
|
185 | 194 | <groupId>org.springframework.boot</groupId> |
186 | 195 | <artifactId>spring-boot-actuator</artifactId> |
187 | 196 | <version>${spring.boot.version}</version> |
188 | | - <optional>true</optional> |
189 | 197 | </dependency> |
190 | 198 | <dependency> |
191 | 199 | <groupId>io.prometheus</groupId> |
192 | 200 | <artifactId>simpleclient</artifactId> |
193 | 201 | <version>${prometheus.client.version}</version> |
194 | | - <optional>true</optional> |
195 | 202 | </dependency> |
196 | 203 | <dependency> |
197 | 204 | <groupId>io.prometheus</groupId> |
198 | 205 | <artifactId>simpleclient_httpserver</artifactId> |
199 | 206 | <version>${prometheus.client.version}</version> |
200 | | - <optional>true</optional> |
201 | 207 | </dependency> |
202 | 208 | <dependency> |
203 | 209 | <groupId>com.google.code.gson</groupId> |
|
0 commit comments