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

# Get the plugins of a Maven build.

`GET /api/builds/{id}/maven-plugins`

## Request

- Base URL: `https://develocity.example.com`
- URL: `https://develocity.example.com/api/builds/{id}/maven-plugins`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/develocity/apis/develocity-api/docs/api/builds/:id/maven-plugins/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.

## Response `200`

The plugin list of a Maven build.

- MavenPlugins
  - `plugins` MavenPlugin[]: A list of applied plugins in a Maven build.
    - `groupId` string, required: The plugin group ID.
    - `artifactId` string, required: The plugin artifact ID.
    - `name` string, nullable: The name of the plugin. May be `null` in cases where this is not defined or captured.
    - `version` string, required: The plugin version.
    - `executedGoals` string[], required: The list of executed plugin goals. May be empty if none of the plugin goals are executed in this build.
    - `modules` string[], required: The list of short form coordinates of the modules where the plugin is applied, in the format `groupId:artifactId`.
    - `goalPrefix` string, nullable: The prefix defined by the plugin for its goals. Can be `null` if not specified by the plugin.
    - `requiredMavenVersion` string, nullable: The required Maven version for the plugin. Can be `null` if not specified by the plugin.

## 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)
