You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2022/07/01 08:17:33 UTC
[isis] branch master updated: ISIS-2445: adds now build profile
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push:
new 5e2cfe4ec3 ISIS-2445: adds now build profile
5e2cfe4ec3 is described below
commit 5e2cfe4ec3edd4ac978008278bf7c88547f651b4
Author: andi-huber <ah...@apache.org>
AuthorDate: Fri Jul 1 10:17:25 2022 +0200
ISIS-2445: adds now build profile
- module-all-except-kroviz ... build all modules except 'kroviz' (eg.
when kroviz build fails)
---
.../workflows/ci-build-artifacts-no-push-maven.yml | 5 +++--
pom.xml | 25 ++++++++++++++++++++++
2 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci-build-artifacts-no-push-maven.yml b/.github/workflows/ci-build-artifacts-no-push-maven.yml
index d00f4a0556..90b74f2ef3 100644
--- a/.github/workflows/ci-build-artifacts-no-push-maven.yml
+++ b/.github/workflows/ci-build-artifacts-no-push-maven.yml
@@ -70,13 +70,14 @@ jobs:
shell: bash
run: bash $CI_SCRIPTS_PATH/build-artifacts.sh
env:
- # -Dmodule-all ... build all modules
+ # -Dmodule-all ... build all modules (default if all is well)
# -Dmodule-all-except-incubator ... build all modules except 'incubator' (eg. when vaadin build fails)
+ # -Dmodule-all-except-kroviz ... build all modules except 'kroviz' (eg. when kroviz build fails)
# -Denforcer.failFast=true ... fail fast on convergence issues (enforcer plugin)
# -Dmaven.source.skip=true ... no need for the CI build to pull sources
# -T 1C ... 1 build thread per core
MVN_ADDITIONAL_OPTS: >-
- -Dmodule-all
+ -Dmodule-all-except-kroviz
-Dproject.build.outputTimestamp=1
-Dmaven.source.skip=true
-Denforcer.failFast=true
diff --git a/pom.xml b/pom.xml
index 0aa68d307d..027ff9a263 100644
--- a/pom.xml
+++ b/pom.xml
@@ -110,6 +110,8 @@
</modules>
</profile>
+ <!-- ALL MODULES - TROUBLE SHOOTING -->
+
<profile>
<id>module-all-except-incubator</id>
<activation>
@@ -124,6 +126,29 @@
<module>tooling</module>
</modules>
</profile>
+
+ <profile>
+ <id>module-all-except-kroviz</id>
+ <activation>
+ <property>
+ <name>module-all-except-kroviz</name>
+ </property>
+ </activation>
+ <modules>
+ <module>antora</module>
+ <module>examples/demo</module>
+
+ <!-- incubator, without kroviz -->
+ <module>incubator/viewers/graphql</module>
+ <module>incubator/viewers/javafx</module>
+ <module>incubator/viewers/vaadin</module>
+ <module>valuetypes/prism/vaadin</module>
+ <module>valuetypes/asciidoc/ui/vaadin</module>
+
+ <module>regressiontests</module>
+ <module>tooling</module>
+ </modules>
+ </profile>
<!-- NON-ESSENTIAL MODULES -->