make build Reproducible (mostly) (#1128)

* make build Reproducible

* make all subprojects use the same git.build.time

Co-authored-by: gongdewei <kylixs@qq.com>
This commit is contained in:
Hervé Boutemy
2020-07-17 16:42:08 +08:00
committed by GitHub
co-authored by gongdewei
parent 7c21ae5f51
commit 73e8fcc820
2 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -31,7 +31,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version>
<version>3.2.3</version>
<executions>
<execution>
<phase>package</phase>
+11 -4
View File
@@ -87,7 +87,7 @@
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<version>2.2.1</version>
<version>4.0.1</version>
<executions>
<execution>
<goals>
@@ -101,6 +101,7 @@
<generateGitPropertiesFile>true</generateGitPropertiesFile>
<generateGitPropertiesFilename>${project.build.outputDirectory}/arthas-git.properties</generateGitPropertiesFilename>
<excludeProperties>git.build.host</excludeProperties>
<injectAllReactorProjects>true</injectAllReactorProjects>
</configuration>
</plugin>
</plugins>
@@ -114,6 +115,7 @@
<maven.compiler.source>1.6</maven.compiler.source>
<spring-boot.version>2.3.1.RELEASE</spring-boot.version>
<maven-invoker-plugin.version>3.0.0</maven-invoker-plugin.version>
<project.build.outputTimestamp>2020-04-20T16:04:00Z</project.build.outputTimestamp>
</properties>
<dependencyManagement>
@@ -260,7 +262,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.0-M1</version>
</plugin>
</plugins>
</pluginManagement>
@@ -269,7 +276,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.5</version>
<version>3.2.0</version>
<configuration>
<archive>
<manifest>
@@ -291,7 +298,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-sources</id>