---
title: "Get information about the dependency resolution of a Maven build."
method: GET
path: "/api/builds/{id}/maven-dependency-resolution"
tags: ["Builds", "Develocity"]
---

# Get information about the dependency resolution of a Maven build.

`GET /api/builds/{id}/maven-dependency-resolution`

## Request

- Base URL: `https://develocity.example.com`
- URL: `https://develocity.example.com/api/builds/{id}/maven-dependency-resolution`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/develocity/apis/develocity-api/docs/api/builds/:id/maven-dependency-resolution/get.ts> (a function with typed inputs; its response is checked against the schema)

This model is Maven specific and cannot be requested for another build tool.  This model is only available starting with the Develocity Maven Extension version 1.9.

## Response `200`

Information about the dependency resolution of a Maven build.

- MavenDependencyResolution: Information about dependency resolution.
  - `serialDependencyResolutionTime` integer, required: The total cumulative time, in milliseconds, spent resolving dependencies. The process of resolving a dependency involves fetching metadata from remote repositories, determining the appropriate version to use, and ultimately fetching the dependency artifact.
  - `networkRequestCount` integer, required: This represents the total count of network requests made during configuration resolution.
  - `serialNetworkRequestTime` integer, required: The duration in milliseconds representing the sum of times for potentially parallel network requests. It does not reflect wall clock time but offers a rough estimation of network activity.
  - `wallClockNetworkRequestTime` integer, required: The estimate in milliseconds representing the wall clock time spent on network requests during the current build. It is calculated by comparing the critical path of project executions with and without network requests, converted to wall clock time.
  - `fileDownloadSize` integer, required: The total number of bytes downloaded for dependencies. It accounts only for the bytes of the files (e.g. POMs, JARs) downloaded and not the total network transfer.
  - `fileDownloadCount` integer, required: The total number of successfully downloaded files.
  - `methods` object: A breakdown of the network activity by HTTP method, when available.
  - `repositories` object: A breakdown of the network activity by repository URL. This is empty when no repositories were captured.
  - `repositoryMethods` object: A breakdown of the network activity by HTTP method and repository, when available.

## Other responses

- `400`: The request cannot be fulfilled due to a problem.
- `404`: The referenced resource either does not exist or the permissions to know about it are missing.
- `500`: The server encountered an unexpected error.
- `503`: The server is not ready to handle the request.

---

[API](https://skmtc.dev/develocity/apis/develocity-api.md) - [All operations](https://skmtc.dev/develocity/apis/develocity-api/llms.txt) - [OpenAPI document](https://skmtc.dev/develocity/apis/develocity-api/revisions/b49835fbf065?raw)
