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

vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j-samples.git

commit b69a21787e9f346cc8bc6a1930acc6e8ec5ecc31
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Thu Sep 14 13:05:36 2023 +0200

    Disable `spring-boot:repackage` in CI
    
    It doesn't produce reproducible artifacts. This issue was
    reported earlier and (claimed to be) fixed in 2.7.10:
    https://github.com/spring-projects/spring-boot/issues/34424
    Yet the fix doesn't help in our case.
---
 log4j-spring-cloud-config-sample-application/pom.xml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/log4j-spring-cloud-config-sample-application/pom.xml 
b/log4j-spring-cloud-config-sample-application/pom.xml
index 87dc2e8..c1bc331 100644
--- a/log4j-spring-cloud-config-sample-application/pom.xml
+++ b/log4j-spring-cloud-config-sample-application/pom.xml
@@ -184,4 +184,23 @@
     </plugins>
   </build>
 
+  <profiles>
+
+    <!-- Disable `spring-boot:repackage` in CI, since it doesn't produce 
reproducible artifacts.
+         This issue was reported earlier and (claimed to be) fixed in 2.7.10: 
https://github.com/spring-projects/spring-boot/issues/34424
+         Yet the fix doesn't help in our case. -->
+    <profile>
+      <id>spring-boot-repackage-toggle</id>
+      <activation>
+        <property>
+          <name>CI</name>
+        </property>
+      </activation>
+      <properties>
+        <spring-boot.repackage.skip>true</spring-boot.repackage.skip>
+      </properties>
+    </profile>
+
+  </profiles>
+
 </project>

Reply via email to