From 59a289f6de2aaaf33fb3e199f07af97eefe61964 Mon Sep 17 00:00:00 2001 From: teleivo Date: Thu, 19 Sep 2024 18:08:18 +0200 Subject: [PATCH] ci: revert to using the frontend plugin to bundle apps (#18624) * Revert "ci: activate the local profile when CI=false and absent (#18617)" This reverts commit 04d61e19996899b2b6b550319da46b4fd3f98dde. * Revert "ci: use existing node installation on CI (#18612)" This reverts commit 6bfad3164aaa22abc455581661de98f5d545e300. --- dhis-2/dhis-web-apps/pom.xml | 141 +++++++++++------------------------ dhis-2/pom.xml | 21 ++---- 2 files changed, 53 insertions(+), 109 deletions(-) diff --git a/dhis-2/dhis-web-apps/pom.xml b/dhis-2/dhis-web-apps/pom.xml index b0a0635dc7e2..72ed8b79453e 100644 --- a/dhis-2/dhis-web-apps/pom.xml +++ b/dhis-2/dhis-web-apps/pom.xml @@ -26,107 +26,56 @@ dhis-web-apps - - - - - local - - - !env.CI - - - - - - - com.github.eirslett - frontend-maven-plugin - 1.15.0 + + + com.github.eirslett + frontend-maven-plugin + 1.15.0 + + target + + ${project.build.directory} + ${project.artifactId} + ./apps-to-bundle.json + master + + + + + + install node and npm + + install-node-and-npm + + generate-resources - target - - ${project.build.directory} - ${project.artifactId} - ./apps-to-bundle.json - master - + v16.13.2 - - - install node and npm - - install-node-and-npm - - generate-resources - - v20.17.0 - - + - - npm install - - npm - - generate-resources - + + npm install + + npm + + generate-resources + - - bundle-apps - - npm - - generate-resources - - run bundle-apps - - - - - - - - - - ci - - - env.CI - true - - - - - - org.codehaus.mojo - exec-maven-plugin + + clone apps + + npm + + generate-resources - npm - - run - bundle-apps - - - ${project.build.directory} - ${project.artifactId} - ./apps-to-bundle.json - master - + run bundle-apps - - - bundle-apps - - exec - - package - - - - - - - + + + + + + + diff --git a/dhis-2/pom.xml b/dhis-2/pom.xml index e0bb19d058d1..24cb56184dd2 100644 --- a/dhis-2/pom.xml +++ b/dhis-2/pom.xml @@ -9,7 +9,8 @@ DHIS2 is a free and open-source software platform for collecting, managing, analyzing, and sharing data. It supports online and offline data capture via web and mobile devices, and includes built-in features for data validation and visualization. - The generic DHIS2 data model supports both routine aggregate/statistical data collection and individual/event data, and can be applied to use cases in any sector, allowing decentralized access to data throughout an organizational hierarchy. + The generic DHIS2 data model supports both routine aggregate/statistical data collection and individual/event data, a + nd can be applied to use cases in any sector, allowing decentralized access to data throughout an organizational hierarchy. DHIS2 is fully customizable through the user interface without the need for coding skills, and can be extended with custom applications, scripts, and integrations. Each DHIS2 instance and the data stored within it are locally owned and managed. @@ -59,7 +60,7 @@ - ${project.basedir}/src/main/java @@ -73,7 +74,7 @@ https://sonarcloud.io -Xmx2024m - false @@ -235,7 +236,6 @@ 3.4.0 3.13.0 - 3.4.1 3.3.1 3.5.0 3.10.0 @@ -1667,8 +1667,8 @@ ${mockito.version} test - org.mockito @@ -1727,9 +1727,9 @@ org.hamcrest hamcrest-core -