From 3b2cf83872e1b23955d9de1dd1f1d44781d46af3 Mon Sep 17 00:00:00 2001 From: Eirini Galati Date: Sun, 1 Nov 2026 00:17:47 +0100 Subject: [PATCH] fix: remove duplicate maven-dependency-plugin declaration pom.xml declared org.apache.maven.plugins:maven-dependency-plugin twice. Older Maven treated that as a warning; current Maven rejects it: 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin maven-dependency-plugin @ line 295 Every Maven job on master currently fails at POM parsing because of it. The two declarations pinned the same version (3.10.0). The first carries the copy-agent execution that stages the jmockit agent for tests; the second was bare, with no executions or configuration, so removing it changes nothing. Verified the agent is still copied to target/agents and the suite passes. --- pom.xml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pom.xml b/pom.xml index e87bbf1..caf2d10 100644 --- a/pom.xml +++ b/pom.xml @@ -292,11 +292,6 @@ - - org.apache.maven.plugins - maven-dependency-plugin - 3.10.0 - org.apache.maven.plugins maven-failsafe-plugin