From 3095e4e85c6caaa00621c9b815718a8c2f72d800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Contreras=20Guill=C3=A9n?= Date: Wed, 11 Feb 2026 13:46:22 +0100 Subject: [PATCH] Add flatten-maven-plugin to maven-central profile for Sonatype POM validation Maven Central validates the uploaded POM file directly. The flatten-maven-plugin with ossrh mode creates a flattened POM with resolved dependency versions and complete metadata, satisfying Sonatype Central Portal validation requirements. --- pom.xml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/pom.xml b/pom.xml index 75aaa65..c5e7442 100644 --- a/pom.xml +++ b/pom.xml @@ -348,6 +348,30 @@ required + + org.codehaus.mojo + flatten-maven-plugin + 1.6.0 + + ossrh + + + + flatten + process-resources + + flatten + + + + flatten.clean + clean + + clean + + + +