Skip to content

Commit

Permalink
make build reproducible
Browse files Browse the repository at this point in the history
  • Loading branch information
hboutemy committed Apr 28, 2022
1 parent 27d9263 commit 6be4aca
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target/
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
name=${project.name}
version=${project.version}
timestamp=${timestamp}
uuid=${project.build.uuid}
2 changes: 0 additions & 2 deletions alpine-infra/src/test/resources/alpine.version
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
name=${project.name}
version=${project.version}
timestamp=${timestamp}
uuid=${project.build.uuid}
2 changes: 0 additions & 2 deletions alpine-model/src/test/resources/alpine.version
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
name=${project.name}
version=${project.version}
timestamp=${timestamp}
uuid=${project.build.uuid}
2 changes: 0 additions & 2 deletions alpine-server/src/main/resources/alpine.version
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
name=Alpine
version=${project.version}
timestamp=${timestamp}
uuid=${project.build.uuid}
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<timestamp>${maven.build.timestamp}</timestamp>
<project.build.outputTimestamp>10</project.build.outputTimestamp>

<!-- Maven Plugin Versions -->
<maven.compiler.plugin.version>3.10.1</maven.compiler.plugin.version>
Expand All @@ -115,6 +116,7 @@
<maven.uuidgenerator.plugin.version>1.0.1</maven.uuidgenerator.plugin.version>
<maven.jacoco.plugin.version>0.8.8</maven.jacoco.plugin.version>
<maven.antrun.plugin.version>3.1.0</maven.antrun.plugin.version>
<maven.release.plugin.version>3.0.0-M5</maven.release.plugin.version>

<!-- Software Security: Fortify SCA -->
<maven.fortify.plugin.version>18.20</maven.fortify.plugin.version>
Expand Down Expand Up @@ -502,6 +504,14 @@
<artifactId>datanucleus-maven-plugin</artifactId>
<version>${maven.datanucleus.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${maven.release.plugin.version}</version>
<configuration>
<useReleaseProfile>true</useReleaseProfile>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand Down

0 comments on commit 6be4aca

Please sign in to comment.