1
0
mirror of https://github.com/ACINQ/eclair.git synced 2024-11-19 01:43:22 +01:00

Support deterministic build of eclair-core artifact on ubuntu (#1295)

* Upgrade maven-jar-plugin and maven-source-plugin to version 3.2.0 to achieve deterministic builds
This commit is contained in:
araspitzu 2020-01-30 15:27:02 +01:00 committed by GitHub
parent d6d60f063f
commit 78e6cdbec9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -8,6 +8,11 @@
## Build
Eclair supports deterministic builds for the eclair-core submodule, this is the 'core' of the eclair application
and its artifact can be deterministically built achieving byte-to-byte equality for each build. To build the exact
same artifacts that we release, you must use the build environment (OS, JDK, maven...) that we specify in our
release notes.
To build the project and run the tests, simply run:
```shell

View File

@ -60,6 +60,7 @@
</developers>
<properties>
<project.build.outputTimestamp>2020-01-01T00:00:00Z</project.build.outputTimestamp>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
@ -84,7 +85,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<version>3.2.0</version>
</plugin>
<plugin>
<groupId>com.github.chrisdchristo</groupId>
@ -162,7 +163,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<version>3.2.0</version>
<executions>
<execution>
<id>attach-sources</id>