This is an automated email from the ASF dual-hosted git repository.

mariofusco pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 8d4772986 [incubator-kie-issues#820] Make Drools and Kogito build 
reproducible (#1854)
8d4772986 is described below

commit 8d4772986164d729e2c0d3a61b2e3882b9abf879
Author: Gabriele Cardosi <[email protected]>
AuthorDate: Thu Jan 18 17:32:32 2024 +0100

    [incubator-kie-issues#820] Make Drools and Kogito build reproducible (#1854)
    
    * [incubator-kie-issues#820] Configure reproducible build
    
    * incubator-kie-issues#826: Upgrade maven plugin versions inside 
`kogito-examples`
    
    * Removed unnecesary `version.jar.plugin`
    
    ---------
    
    Co-authored-by: BAMOE CI <[email protected]>
    Co-authored-by: Pere Fernández <[email protected]>
---
 pom.xml                                               | 11 +++++++++++
 .../serverless-workflow-examples-parent/pom.xml       | 19 +++++++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/pom.xml b/pom.xml
index 610b20a42..a43950a10 100755
--- a/pom.xml
+++ b/pom.xml
@@ -71,6 +71,9 @@
     <version.org.webjars>4.5.3</version.org.webjars>
 
     <version.jib.plugin>3.3.1</version.jib.plugin>
+    <!-- Reproducible builds -->
+    
<project.build.outputTimestamp>2024-01-16T00:00:00Z</project.build.outputTimestamp>
+    <version.maven.artifact.plugin>3.4.1</version.maven.artifact.plugin>
   </properties>
 
   <!-- distributionManagement section -->
@@ -411,6 +414,14 @@
           <artifactId>openshift-maven-plugin</artifactId>
           <version>${version.org.eclipse.jkube}</version>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-artifact-plugin</artifactId>
+          <version>${version.maven.artifact.plugin}</version>
+          <configuration>
+            <outputTimestamp>${project.build.outputTimestamp}</outputTimestamp>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>
diff --git 
a/serverless-workflow-examples/serverless-workflow-examples-parent/pom.xml 
b/serverless-workflow-examples/serverless-workflow-examples-parent/pom.xml
index bddf638c1..b3135db6c 100644
--- a/serverless-workflow-examples/serverless-workflow-examples-parent/pom.xml
+++ b/serverless-workflow-examples/serverless-workflow-examples-parent/pom.xml
@@ -32,7 +32,26 @@
 
   <properties>
     
<java.module.name>org.kie.kogito.examples.serverless.workflow</java.module.name>
+    <!-- Reproducible builds -->
+    
<project.build.outputTimestamp>2024-01-16T00:00:00Z</project.build.outputTimestamp>
+    <version.maven.artifact.plugin>3.4.1</version.maven.artifact.plugin>
   </properties>
 
 
+  <build>
+    <pluginManagement>
+      <plugins>
+        <!-- Reproducible builds -->
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-artifact-plugin</artifactId>
+          <version>${version.maven.artifact.plugin}</version>
+          <configuration>
+            <outputTimestamp>${project.build.outputTimestamp}</outputTimestamp>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
 </project>
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to