From 30885c8c6189ef160274c678ed0c0c1047ed9f6d Mon Sep 17 00:00:00 2001 From: James Nord Date: Thu, 9 Mar 2023 12:50:13 +0000 Subject: [PATCH] do not flatten with OSS mode the OSS mode despite saying it keeps everything "repositories and pluginRepositories" does not and it throws away the dependencyManagement this creates our own descriptor that dies the same as the oss mode currently but additionally keeps the dependencyManagement section Whilst we could have used resolveCiFriendliesOnly which is probably a better solution so that the poms behave better regardless of if they are deployed from CI or local snapshots this keeps the changes to published poms minimal --- pom.xml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d34fc1360c..b96c014859 100644 --- a/pom.xml +++ b/pom.xml @@ -1313,7 +1313,25 @@ process-resources - oss + + + interpolate + + expand + expand + expand + expand + expand + expand + expand + expand + expand + expand + expand + expand + expand + expand + ${project.build.directory} ${project.artifactId}-${project.version}.pom