Xiangdong Huang created IOTDB-413:
-------------------------------------

             Summary: Upgrade Apache parent pom to version 22
                 Key: IOTDB-413
                 URL: https://issues.apache.org/jira/browse/IOTDB-413
             Project: Apache IoTDB
          Issue Type: Task
            Reporter: Xiangdong Huang


[~cdutz]  mentioned to upgrade  the apache parent version to 22.

More info from Chris:

 

the information should be available here:
[https://maven.apache.org/guides/mini/guide-reproducible-builds.html]

However I would suggest to add another configuration to the build:
    <!-- Make the release-plugin use the new reproducible build plugin 
extension -->
    <profile>
      <id>apache-release</id>
      <build>
        <plugins>
          <plugin>
            <groupId>com.theoryinpractise</groupId>
            <artifactId>reproducible-maven-plugin</artifactId>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-release-plugin</artifactId>
            <configuration>
              <preparationGoals>clean 
com.theoryinpractise:reproducible-maven-plugin:apply install</preparationGoals>
              
<completionGoals>com.theoryinpractise:reproducible-maven-plugin:clear</completionGoals>
              <goals>deploy</goals>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>

With this configuration the project.build.outputTimestamp property is added to 
the main pom as part of the release process and removed after that.

So in general the build would not produce a reproducible build for SNAPSHOT 
versions, but reproducible builds for RELEASE versions and it wouldn't add 
additional steps for the release manager.



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

Reply via email to