File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ Add this dependency to your project's POM:
33
33
<dependency >
34
34
<groupId >com.datadoghq</groupId >
35
35
<artifactId >datadog-api-client</artifactId >
36
- <version >2.0 .0</version >
36
+ <version >2.10 .0</version >
37
37
<scope >compile</scope >
38
38
</dependency >
39
39
```
@@ -205,6 +205,25 @@ public class ProxyExample {
205
205
}
206
206
```
207
207
208
+ ### Using alternative artifacts
209
+
210
+ Outside of the regular JAR file we also release 2 artifacts that can be useful for development, namely:
211
+ - ` jar-with-dependencies ` , which contains all the dependencies of the client in a single JAR
212
+ - ` shaded-jar ` , which includes and renames the core dependencies of the client, allowing you to use different versions of those
213
+ libraries in your project.
214
+
215
+ To use them in Maven, just add the ` classifier ` keyword in the dependency definition. For example:
216
+
217
+ ``` xml
218
+ <dependency >
219
+ <groupId >com.datadoghq</groupId >
220
+ <artifactId >datadog-api-client</artifactId >
221
+ <version >2.10.0</version >
222
+ <classifier >shaded-jar</classifier >
223
+ <scope >compile</scope >
224
+ </dependency >
225
+ ```
226
+
208
227
## Documentation for API Endpoints and Models
209
228
210
229
Javadoc is available on [ javadoc.io] ( https://www.javadoc.io/doc/com.datadoghq/datadog-api-client/latest/ ) .
You can’t perform that action at this time.
0 commit comments