From 3f957893e6fd68856f853d625e0d8d213e4927df Mon Sep 17 00:00:00 2001 From: Duo Zhang Date: Thu, 1 Dec 2022 10:22:00 +0800 Subject: [PATCH] build: use maven flatten plugin to generate resolved pom (#1277) --- .gitignore | 1 + java-client/pom.xml | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/.gitignore b/.gitignore index 26cf95f1a5..e22d911e1d 100644 --- a/.gitignore +++ b/.gitignore @@ -142,6 +142,7 @@ java-client/pegasus-* java-client/dependency-reduced-pom.xml java-client/src/main/java/org/apache/pegasus/apps/* java-client/src/main/java/org/apache/pegasus/replication/* +java-client/.flattened-pom.xml # Created by .ignore support plugin (hsz.mobi) ### SBT template diff --git a/java-client/pom.xml b/java-client/pom.xml index cdfb2d764e..9ec3ffa5c9 100644 --- a/java-client/pom.xml +++ b/java-client/pom.xml @@ -436,6 +436,29 @@ + + org.codehaus.mojo + flatten-maven-plugin + 1.3.0 + + + + flatten + + flatten + + process-resources + + + + flatten.clean + + clean + + clean + + + ${project.basedir}/src/main/java ${project.basedir}/src/test/java