This is an automated email from the ASF dual-hosted git repository.
rantunes pushed a commit to branch 10.0.x
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-runtimes.git
The following commit(s) were added to refs/heads/10.0.x by this push:
new 8fcb80f572 [incubator-kie-issues#1504] Conditionally build all or only
reproducible modules based on only.reproducible flag - only for release build
(#3687) (#3690)
8fcb80f572 is described below
commit 8fcb80f572febe968d7692dda41ba72be039f124
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Wed Oct 2 15:52:51 2024 -0300
[incubator-kie-issues#1504] Conditionally build all or only reproducible
modules based on only.reproducible flag - only for release build (#3687) (#3690)
Co-authored-by: Gabriele Cardosi <[email protected]>
Co-authored-by: Gabriele-Cardosi <[email protected]>
---
.ci/jenkins/Jenkinsfile.deploy | 4 ++-
jbpm/pom.xml | 66 ++++++++++++++++++++++++++++++------------
springboot/pom.xml | 42 ++++++++++++++++++++++-----
3 files changed, 84 insertions(+), 28 deletions(-)
diff --git a/.ci/jenkins/Jenkinsfile.deploy b/.ci/jenkins/Jenkinsfile.deploy
index d9fec0aa6e..71a56a24b4 100644
--- a/.ci/jenkins/Jenkinsfile.deploy
+++ b/.ci/jenkins/Jenkinsfile.deploy
@@ -154,7 +154,9 @@ pipeline {
}
if (isRelease()) {
releaseUtils.gpgImportKeyFromStringWithoutPassword(getReleaseGpgSignKeyCredsId())
- mvnCmd.withProfiles(['apache-release'])
+ mvnCmd
+ .withProfiles(['apache-release'])
+ .withProperty('only.reproducible')
}
configFileProvider([configFile(fileId:
env.MAVEN_SETTINGS_CONFIG_FILE_ID, variable: 'MAVEN_SETTINGS_FILE')]) {
mvnCmd.withSettingsXmlFile(MAVEN_SETTINGS_FILE)
diff --git a/jbpm/pom.xml b/jbpm/pom.xml
index ab7807d23a..bcb45277e1 100755
--- a/jbpm/pom.xml
+++ b/jbpm/pom.xml
@@ -20,34 +20,62 @@
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
- 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">
+ 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">
- <modelVersion>4.0.0</modelVersion>
+ <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.kie.kogito</groupId>
- <artifactId>kogito-build-parent</artifactId>
- <version>10.0.999-SNAPSHOT</version>
-
<relativePath>../kogito-build/kogito-build-parent/pom.xml</relativePath>
+ <parent>
+ <groupId>org.kie.kogito</groupId>
+ <artifactId>kogito-build-parent</artifactId>
+ <version>10.0.999-SNAPSHOT</version>
+ <relativePath>../kogito-build/kogito-build-parent/pom.xml</relativePath>
- </parent>
+ </parent>
- <artifactId>jbpm</artifactId>
- <packaging>pom</packaging>
- <name>Kogito :: jBPM</name>
- <description>jBPM: a Business Process Management</description>
- <url>http://www.jbpm.org</url>
+ <artifactId>jbpm</artifactId>
+ <packaging>pom</packaging>
+ <name>Kogito :: jBPM</name>
+ <description>jBPM: a Business Process Management</description>
+ <url>http://www.jbpm.org</url>
- <modules>
+ <profiles>
+ <profile>
+ <id>allSubmodules</id>
+ <activation>
+ <property>
+ <name>!only.reproducible</name>
+ </property>
+ </activation>
+ <modules>
<module>jbpm-flow</module>
<module>jbpm-flow-builder</module>
<module>jbpm-bpmn2</module>
<module>jbpm-flow-migration</module>
<module>process-serialization-protobuf</module>
<module>process-workitems</module>
- <module>jbpm-tools</module>
- <module>jbpm-tests</module>
- </modules>
+ <module>jbpm-tools</module>
+ <module>jbpm-tests</module>
+ </modules>
+ </profile>
-</project>
+ <profile>
+ <id>onlyReproducible</id>
+ <activation>
+ <property>
+ <name>only.reproducible</name>
+ </property>
+ </activation>
+ <modules>
+ <module>jbpm-flow</module>
+ <module>jbpm-flow-builder</module>
+ <module>jbpm-bpmn2</module>
+ <module>jbpm-flow-migration</module>
+ <module>process-serialization-protobuf</module>
+ <module>process-workitems</module>
+ <module>jbpm-tools</module>
+ </modules>
+ </profile>
+ </profiles>
+
+</project>
\ No newline at end of file
diff --git a/springboot/pom.xml b/springboot/pom.xml
index 7820c5dc8b..b3a7df20a6 100644
--- a/springboot/pom.xml
+++ b/springboot/pom.xml
@@ -34,13 +34,39 @@
<name>Kogito :: Spring Boot</name>
<packaging>pom</packaging>
- <modules>
- <module>bom</module>
- <module>addons</module>
- <module>starters</module>
- <module>archetype</module>
- <module>test</module>
- <module>integration-tests</module>
- </modules>
+ <profiles>
+ <profile>
+ <id>allSubmodules</id>
+ <activation>
+ <property>
+ <name>!only.reproducible</name>
+ </property>
+ </activation>
+ <modules>
+ <module>bom</module>
+ <module>addons</module>
+ <module>starters</module>
+ <module>archetype</module>
+ <module>test</module>
+ <module>integration-tests</module>
+ </modules>
+ </profile>
+
+ <profile>
+ <id>onlyReproducible</id>
+ <activation>
+ <property>
+ <name>only.reproducible</name>
+ </property>
+ </activation>
+ <modules>
+ <module>bom</module>
+ <module>addons</module>
+ <module>starters</module>
+ <module>archetype</module>
+ <module>test</module>
+ </modules>
+ </profile>
+ </profiles>
</project>
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]