Skip to content

Commit 0332a7f

Browse files
authored
Merge pull request #3431 from ControlSystemStudio/fix_3416
fix reproducible builds based on suggestions from #3416
2 parents 49e516e + f9918be commit 0332a7f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

pom.xml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@
9292
<maven.compiler.target>17</maven.compiler.target>
9393
<activemq.client.version>5.18.4</activemq.client.version>
9494
<commons.compress.version>1.26.1</commons.compress.version>
95-
<!--suppress UnresolvedMavenProperty -->
96-
<project.build.outputTimestamp>${git.commit.time}</project.build.outputTimestamp>
9795
</properties>
9896
<build>
9997
<plugins>
@@ -186,10 +184,10 @@
186184
<generateGitPropertiesFile>true</generateGitPropertiesFile>
187185
<generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename>
188186
<format>json</format>
189-
<excludeProperties>
190-
<excludeProperty>^git.build.*$</excludeProperty>
191-
<excludeProperty>^git.local.branch.*$</excludeProperty>
192-
</excludeProperties>
187+
<includeOnlyProperties>
188+
<includeOnlyProperty>^git.commit.id$</includeOnlyProperty>
189+
<includeOnlyProperty>^git.commit.id.abbrev$</includeOnlyProperty>
190+
</includeOnlyProperties>
193191
</configuration>
194192
</plugin>
195193
</plugins>

0 commit comments

Comments
 (0)