From 07964ab8da86d8550259958aa795a2f91a84ab72 Mon Sep 17 00:00:00 2001 From: fantonangeli Date: Sun, 8 Sep 2024 11:47:53 +0200 Subject: [PATCH 1/2] productize sonataflow-management-console --- packages/pom.xml | 1 + .../pom.xml | 76 +++++++++++++++++++ pom.xml | 5 +- 3 files changed, 80 insertions(+), 2 deletions(-) create mode 100644 packages/sonataflow-management-console-webapp/pom.xml diff --git a/packages/pom.xml b/packages/pom.xml index 6be04f07eb9..4f381fd2d18 100644 --- a/packages/pom.xml +++ b/packages/pom.xml @@ -18,5 +18,6 @@ sonataflow-quarkus-devui + sonataflow-management-console-webapp diff --git a/packages/sonataflow-management-console-webapp/pom.xml b/packages/sonataflow-management-console-webapp/pom.xml new file mode 100644 index 00000000000..bd19972584e --- /dev/null +++ b/packages/sonataflow-management-console-webapp/pom.xml @@ -0,0 +1,76 @@ + + + + + org.apache.kie.sonataflow + kie-tools-packages + 999-SNAPSHOT + ../pom.xml + + + 4.0.0 + + org.apache.kie.sonataflow + sonataflow-management-console-webapp + + KIE Tools :: SonataFlow Management Console Webapp + + pom + + + 2024-01-12T00:00:00Z + org.kie.sonataflow.management.console.webapp + + + + + + com.github.eirslett + frontend-maven-plugin + false + + ../../ + + + + pnpm build:prod + + pnpm + + + ${skip.ui.build} + false + -F sonataflow-management-console-webapp... -F !@kie-tools/dmn-marshaller-backend-compatibility-tester -F !@kie-tools/dmn-testing-models build:prod + + false + false + + + + + + + + diff --git a/pom.xml b/pom.xml index 00cab8dc173..b8ac40b2095 100644 --- a/pom.xml +++ b/pom.xml @@ -185,13 +185,14 @@ - pnpm bootstrap sonataflow-quarkus-devui + pnpm bootstrap sonataflow-quarkus-devui sonataflow-management-console-webapp pnpm ${skip.ui.deps} - bootstrap -F @kie-tools/sonataflow-quarkus-devui... + bootstrap -F @kie-tools/sonataflow-quarkus-devui... -F @kie-tools/sonataflow-management-console-webapp... From b7e3e44353a6e5d66ec790f7788d234a47d310f5 Mon Sep 17 00:00:00 2001 From: fantonangeli Date: Mon, 9 Sep 2024 18:49:47 +0200 Subject: [PATCH 2/2] Create a zip from the dist folder --- .../pom.xml | 22 ++++++++++ .../src/assembly/image-build-zip.xml | 40 +++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 packages/sonataflow-management-console-webapp/src/assembly/image-build-zip.xml diff --git a/packages/sonataflow-management-console-webapp/pom.xml b/packages/sonataflow-management-console-webapp/pom.xml index bd19972584e..164abbbbe68 100644 --- a/packages/sonataflow-management-console-webapp/pom.xml +++ b/packages/sonataflow-management-console-webapp/pom.xml @@ -66,11 +66,33 @@ false false + true + + + org.apache.maven.plugins + maven-assembly-plugin + 3.3.0 + + + src/assembly/image-build-zip.xml + + + + + zip-dist-folder + package + + single + + + + diff --git a/packages/sonataflow-management-console-webapp/src/assembly/image-build-zip.xml b/packages/sonataflow-management-console-webapp/src/assembly/image-build-zip.xml new file mode 100644 index 00000000000..4c161030399 --- /dev/null +++ b/packages/sonataflow-management-console-webapp/src/assembly/image-build-zip.xml @@ -0,0 +1,40 @@ + + + image-build + + zip + + false + + + dist + / + + **/* + + + +