From cf5a21a31e13aa72d3565259dd57b8e759161d7e Mon Sep 17 00:00:00 2001 From: Romain Buisson Date: Fri, 21 Jun 2024 12:12:59 +0200 Subject: [PATCH] OZ-429: Fine tune the Superset configs packaging (#353) --- base/configs/superset/assets/chart.json | 0 base/configs/superset/pom.xml | 1 + base/pom.xml | 58 ++++++++++++++++++++++++- 3 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 base/configs/superset/assets/chart.json diff --git a/base/configs/superset/assets/chart.json b/base/configs/superset/assets/chart.json new file mode 100644 index 00000000..e69de29b diff --git a/base/configs/superset/pom.xml b/base/configs/superset/pom.xml index f6a046c9..6f370bed 100644 --- a/base/configs/superset/pom.xml +++ b/base/configs/superset/pom.xml @@ -15,6 +15,7 @@ Ozone Cambodia Superset configs Superset configurations specific to Ozone Cambodia, to be used in Ozone Analytics pom + 1.7.0-SNAPSHOT Ozone HIS diff --git a/base/pom.xml b/base/pom.xml index 7cacf151..da1428c9 100644 --- a/base/pom.xml +++ b/base/pom.xml @@ -21,6 +21,8 @@ 8 8 + ozone-cambodia-superset-configs + dependencies @@ -30,11 +32,40 @@ - + + + + ${project.groupId} + ${supersetConfigsArtifactId} + ${project.version} + zip + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + Unpack Cambodia Superset configs sub-module + generate-resources + + unpack-dependencies + + + true + + ${project.build.directory}/${project.artifactId}-${project.version}/configs/superset + ${supersetConfigsArtifactId} + + + + + org.apache.maven.plugins maven-resources-plugin @@ -72,6 +103,31 @@ + + + + + Copy local resources + process-resources + + copy-resources + + + + ${project.build.directory}/${project.artifactId}-${project.version}/distro/configs + true + + + ${project.basedir}/configs + + .gitkeep + superset/ + + + + + +