From cf3e270ad0a3b9784e1094e410ff16657c9044b6 Mon Sep 17 00:00:00 2001 From: Todd Baert Date: Thu, 4 Jun 2026 15:21:31 -0400 Subject: [PATCH] chore: flatten pom, add licences to jar * use flatten-maven-plugin and maven-resources-plugin * removes test/publish deps and build profiles from published pom * packages license into jar Signed-off-by: Todd Baert --- .gitignore | 1 + pom.xml | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/.gitignore b/.gitignore index dfc5642e5..bd26102a2 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ build .idea specification.json target +.flattened-pom.xml .DS_Store # vscode stuff - we may want to use a more specific pattern later if we'd like to suggest editor configurations diff --git a/pom.xml b/pom.xml index d03e8faef..de505a903 100644 --- a/pom.xml +++ b/pom.xml @@ -53,18 +53,22 @@ + org.projectlombok lombok 1.18.46 provided + true + com.github.spotbugs spotbugs 4.9.8 provided + true @@ -340,6 +344,59 @@ + + + + org.codehaus.mojo + flatten-maven-plugin + 1.7.0 + + ossrh + + + + flatten + process-resources + + flatten + + + + flatten.clean + clean + + clean + + + + + + + + org.apache.maven.plugins + maven-resources-plugin + 3.5.0 + + + copy-license + process-resources + + copy-resources + + + ${project.build.outputDirectory}/META-INF + + + ${project.basedir} + + LICENSE + + + + + + +