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:
parent
d6d60f063f
commit
78e6cdbec9
5
BUILD.md
5
BUILD.md
@ -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
|
||||
|
5
pom.xml
5
pom.xml
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user