You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2020/04/20 06:28:19 UTC
[royale-asjs] 01/04: try to get reproducible builds to work in
projects that define their own additionalCompilerOptions
This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch release/0.9.7
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit bad4eba0daa8b2be649fd7c487dfa944d23623bf
Author: Alex Harui <ah...@apache.org>
AuthorDate: Sun Apr 19 23:25:44 2020 -0700
try to get reproducible builds to work in projects that define their own additionalCompilerOptions
---
pom.xml | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index 2244262..e54a522 100644
--- a/pom.xml
+++ b/pom.xml
@@ -386,6 +386,10 @@
<profile>
<id>_reproducible-build</id>
+ <properties>
+ <repo.compiler.options>
+ -metadata.date=${project.build.outputTimestamp};-metadata.dateFormat=yyyy-MM-dd'T'HH:mm:ss'Z'</repo.compiler.options>
+ </properties>
<activation>
<property>
<name>project.build.outputTimestamp</name>
@@ -399,9 +403,7 @@
<version>${royale.compiler.version}</version>
<extensions>true</extensions>
<configuration>
- <additionalCompilerOptions>
- -metadata.date=${project.build.outputTimestamp};-metadata.dateFormat=yyyy-MM-dd'T'HH:mm:ss'Z'
- </additionalCompilerOptions>
+ <additionalCompilerOptions>{$repo.compiler.options}</additionalCompilerOptions>
</configuration>
</plugin>
</plugins>
@@ -535,7 +537,6 @@
<configuration>
<preparationGoals>clean com.theoryinpractise:reproducible-maven-plugin:apply install</preparationGoals>
<completionGoals>com.theoryinpractise:reproducible-maven-plugin:clear</completionGoals>
- <goals>deploy</goals>
</configuration>
</plugin>