From 271ee902c45e15ed857ecc6725f23836dc0941de Mon Sep 17 00:00:00 2001 From: Maxim Butmanov Date: Fri, 2 Oct 2026 10:29:39 +0300 Subject: [PATCH 1/5] build(maven): configure flattened published POM --- pom.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/pom.xml b/pom.xml index cb38b59..271e766 100644 --- a/pom.xml +++ b/pom.xml @@ -84,6 +84,11 @@ central-publishing-maven-plugin 0.11.0 + + org.codehaus.mojo + flatten-maven-plugin + 1.8.0 + @@ -142,6 +147,29 @@ central-publishing-maven-plugin true + + org.codehaus.mojo + flatten-maven-plugin + + oss + ${flatten.skip} + + + + flatten + process-resources + + flatten + + + + flatten.clean + + clean + + + + From c20f9f8ac40022c14de9a13017f47f57b8d745dd Mon Sep 17 00:00:00 2001 From: Maxim Butmanov Date: Fri, 2 Oct 2026 10:29:50 +0300 Subject: [PATCH 2/5] build(maven): skip flattening demo module --- demo-app/pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/demo-app/pom.xml b/demo-app/pom.xml index 53e0c85..2b42346 100644 --- a/demo-app/pom.xml +++ b/demo-app/pom.xml @@ -18,6 +18,7 @@ 21 4.1.0 true + true From 16a5a46deb8d92126d25e533e958b17c7ae4f625 Mon Sep 17 00:00:00 2001 From: Maxim Butmanov Date: Fri, 2 Oct 2026 10:51:42 +0300 Subject: [PATCH 3/5] build(maven): scope flattening to published module --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index 271e766..424d7e8 100644 --- a/pom.xml +++ b/pom.xml @@ -49,6 +49,7 @@ UTF-8 UTF-8 + true From 30ff86f0bd4cd635738f3cabcbe8d433aa869f46 Mon Sep 17 00:00:00 2001 From: Maxim Butmanov Date: Fri, 2 Oct 2026 10:51:50 +0300 Subject: [PATCH 4/5] build(maven): move publication metadata to library module --- micro-env/pom.xml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/micro-env/pom.xml b/micro-env/pom.xml index 43b4edb..e79d86f 100644 --- a/micro-env/pom.xml +++ b/micro-env/pom.xml @@ -14,8 +14,35 @@ micro-env + micro-env + Lightweight environment configuration library for Spring Boot applications + https://github.com/maxim618/micro-env + + + + Apache-2.0 + https://www.apache.org/licenses/LICENSE-2.0.txt + repo + + + + + + Maxim Butmanov + https://github.com/maxim618 + + + + + scm:git:https://github.com/maxim618/micro-env.git + scm:git:https://github.com/maxim618/micro-env.git + https://github.com/maxim618/micro-env + HEAD + + 4.1.0 + false From 9af02b431e989fe9d8642f97d8349dbf60c929be Mon Sep 17 00:00:00 2001 From: MaximButmanov Date: Sat, 3 Oct 2026 07:26:11 +0300 Subject: [PATCH 5/5] build(maven): isolate published artifact metadata --- pom.xml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pom.xml b/pom.xml index 424d7e8..85615be 100644 --- a/pom.xml +++ b/pom.xml @@ -12,10 +12,6 @@ 0.1.0-SNAPSHOT pom - micro-env - Lightweight environment configuration library for Spring Boot applications - https://github.com/maxim618/micro-env - Apache-2.0 @@ -31,13 +27,6 @@ - - scm:git:https://github.com/maxim618/micro-env.git - scm:git:https://github.com/maxim618/micro-env.git - https://github.com/maxim618/micro-env - HEAD - - micro-env demo-app