[ 
https://issues.apache.org/jira/browse/SLING-8951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17011820#comment-17011820
 ] 

Robert Munteanu commented on SLING-8951:
----------------------------------------

I think it would be useful to document it somewhere on the Sling Site, so we 
can point people asking about reproducible links to it. We should say:

- why we do this (link to external site is ok)
- preconditions (parent >= 36)
- how it is expected to work ( POM property you mentioned ); ideally this would 
work on the CLI as well

I just tried it with {{org.apache.sling.api}} and the below patch, but I get 
different results every time I run {{mvn clean install}}. Do you have a project 
that you tested this on?

{noformat}diff --git a/pom.xml b/pom.xml
index 8881b65..6824113 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@
     <parent>
         <groupId>org.apache.sling</groupId>
         <artifactId>sling-bundle-parent</artifactId>
-        <version>35</version>
+        <version>36</version>
         <relativePath />
     </parent>
 
@@ -52,6 +52,7 @@
     <properties>
         <site.jira.version.id>12314252</site.jira.version.id>
         <sling.java.version>8</sling.java.version>
+        
<project.build.outputTimestamp>2019-10-02T08:04:00Z</project.build.outputTimestamp>
     </properties>
 
     <dependencies>
{noformat}

> Enable reproducible builds by default
> -------------------------------------
>
>                 Key: SLING-8951
>                 URL: https://issues.apache.org/jira/browse/SLING-8951
>             Project: Sling
>          Issue Type: Improvement
>          Components: General
>    Affects Versions: Parent 35
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: Parent 36, Bundle Parent 36
>
>
> Recently all relevant Maven plugins have been updated to support reproducible 
> builds (https://maven.apache.org/guides/mini/guide-reproducible-builds.html). 
> The new ASF parent 22 will manage those versions 
> (https://github.com/apache/maven-apache-parent/blob/master/pom.xml).
> Also there is a flag for bnd for this 
> (https://github.com/bndtools/bnd/issues/3521).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to