set_pom_xml
Set or modify the content of a Maven project's pom.xml file to configure dependencies, plugins, and project settings for Java applications.
Instructions
Definir ou modifier le contenu du pom.xml
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Contenu complet du pom.xml |
Implementation Reference
- src/index.ts:387-398 (handler)The actual handler implementation for the 'set_pom_xml' tool.
async function setPomXml(args: any) { currentProject.files["pom.xml"] = args.content; return { content: [ { type: "text", text: "pom.xml mis a jour avec succes!", }, ], }; } - src/index.ts:157-168 (registration)The registration definition for the 'set_pom_xml' tool in the MCP tools list.
name: "set_pom_xml", description: "Definir ou modifier le contenu du pom.xml", inputSchema: { type: "object", properties: { content: { type: "string", description: "Contenu complet du pom.xml", }, }, required: ["content"], },