From f2ca75386be154629c1ad1028a33be94ab7b5b69 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Thu, 3 Oct 2024 09:07:37 -0400 Subject: [PATCH] [incubator-kie-issues#1504] Conditionally build all or only reproducible modules based on only.reproducible flag - only for release build (#3687) Co-authored-by: Gabriele-Cardosi # Conflicts: # .ci/jenkins/Jenkinsfile.deploy --- jbpm/pom.xml | 62 ++++++++++++++++++++++++++++++++++------------ springboot/pom.xml | 42 +++++++++++++++++++++++++------ 2 files changed, 80 insertions(+), 24 deletions(-) diff --git a/jbpm/pom.xml b/jbpm/pom.xml index 9f31c94d8a8..b5638d6be7b 100755 --- a/jbpm/pom.xml +++ b/jbpm/pom.xml @@ -20,26 +20,34 @@ --> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - 4.0.0 + 4.0.0 - - org.kie.kogito - kogito-build-parent - 999-SNAPSHOT - ../kogito-build/kogito-build-parent/pom.xml + + org.kie.kogito + kogito-build-parent + 999-SNAPSHOT + ../kogito-build/kogito-build-parent/pom.xml - + - jbpm - pom - Kogito :: jBPM - jBPM: a Business Process Management - http://www.jbpm.org + jbpm + pom + Kogito :: jBPM + jBPM: a Business Process Management + http://www.jbpm.org - + + + allSubmodules + + + !only.reproducible + + + jbpm-flow jbpm-flow-builder jbpm-bpmn2 @@ -50,6 +58,28 @@ jbpm-tools jbpm-tests jbpm-deps-groups - + + + + + onlyReproducible + + + only.reproducible + + + + jbpm-flow + jbpm-flow-builder + jbpm-bpmn2 + jbpm-flow-migration + process-serialization-protobuf + process-workitems + jbpm-usertask + jbpm-tools + jbpm-deps-groups + + + diff --git a/springboot/pom.xml b/springboot/pom.xml index 84d9abd27dc..0e7a0f42316 100644 --- a/springboot/pom.xml +++ b/springboot/pom.xml @@ -34,13 +34,39 @@ Kogito :: Spring Boot pom - - bom - addons - starters - archetype - test - integration-tests - + + + allSubmodules + + + !only.reproducible + + + + bom + addons + starters + archetype + test + integration-tests + + + + + onlyReproducible + + + only.reproducible + + + + bom + addons + starters + archetype + test + + + \ No newline at end of file