Skip to content

Commit

Permalink
Reverted POM changes
Browse files Browse the repository at this point in the history
Moved version information utils and removed build-timestamp (will break
reproducable builds)
  • Loading branch information
hypfvieh committed Aug 25, 2024
1 parent 6681bbd commit 366f70e
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 21 deletions.
1 change: 1 addition & 0 deletions dbus-java-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
</parent>

<properties>
<parentDir>${project.parent.basedir}</parentDir>
<project.build.outputTimestamp>2024-08-01T04:58:15Z</project.build.outputTimestamp>
<dateFormatTimeZone>UTC</dateFormatTimeZone>
</properties>
Expand Down
3 changes: 2 additions & 1 deletion dbus-java-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@
</parent>

<properties>
<parentDir>${project.parent.basedir}</parentDir>
<project.build.outputTimestamp>2024-08-01T04:58:15Z</project.build.outputTimestamp>
<dateFormatTimeZone>UTC</dateFormatTimeZone>
</properties>

<build>
<plugins>
<!-- exclude this module from release/snapshots, it is only for showing sample code -->
<!-- exclude this module from release/snapshots, it is only for showing sample code -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
Expand Down
9 changes: 5 additions & 4 deletions dbus-java-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,18 @@
</parent>

<properties>
<parentDir>${project.parent.basedir}</parentDir>
<project.build.outputTimestamp>2024-08-01T04:58:15Z</project.build.outputTimestamp>
<dateFormatTimeZone>UTC</dateFormatTimeZone>
</properties>

<build>
<plugins>
<plugin>
<!--
For debugging with maven:
mvn clean test-compile surefire:test@native-tests -Dtest=TestAll -Dmaven.surefire.debug
-->
<!--
For debugging with maven:
mvn clean test-compile surefire:test@native-tests -Dtest=TestAll -Dmaven.surefire.debug
-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
Expand Down
1 change: 1 addition & 0 deletions dbus-java-transport-jnr-unixsocket/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
</parent>

<properties>
<parentDir>${project.parent.basedir}</parentDir>
<project.build.outputTimestamp>2024-08-01T04:58:15Z</project.build.outputTimestamp>
<dateFormatTimeZone>UTC</dateFormatTimeZone>
</properties>
Expand Down
1 change: 1 addition & 0 deletions dbus-java-transport-junixsocket/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
</parent>

<properties>
<parentDir>${project.parent.basedir}</parentDir>
<project.build.outputTimestamp>2024-08-01T04:58:15Z</project.build.outputTimestamp>
<dateFormatTimeZone>UTC</dateFormatTimeZone>
</properties>
Expand Down
1 change: 1 addition & 0 deletions dbus-java-transport-tcp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
</parent>

<properties>
<parentDir>${project.parent.basedir}</parentDir>
<project.build.outputTimestamp>2024-08-01T04:58:15Z</project.build.outputTimestamp>
<dateFormatTimeZone>UTC</dateFormatTimeZone>
</properties>
Expand Down
11 changes: 11 additions & 0 deletions dbus-java-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,22 @@
</parent>

<properties>
<parentDir>${project.parent.basedir}</parentDir>
<project.build.outputTimestamp>2024-08-01T04:58:15Z</project.build.outputTimestamp>
<dateFormatTimeZone>UTC</dateFormatTimeZone>
</properties>

<build>
<resources>
<resource>
<directory>src/main/resources/</directory>
<filtering>true</filtering>
<includes>
<include>**/dbus-java.version</include>
</includes>
</resource>
</resources>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
version=${project.version}
revision=${git.commit.id.abbrev}
built=${buildTimestamp}
user=${git.build.user.name}
jdk=${java.vm.version}
18 changes: 3 additions & 15 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@
<parentDir>${maven.multiModuleProjectDirectory}</parentDir>
<project.build.outputTimestamp>2024-08-01T04:58:15Z</project.build.outputTimestamp>
<dateFormatTimeZone>UTC</dateFormatTimeZone>
<buildTimestamp>${maven.build.timestamp}</buildTimestamp>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss.SSS</maven.build.timestamp.format>
</properties>

<modules>
Expand All @@ -78,16 +76,6 @@
</modules>

<build>
<resources>
<resource>
<directory>${parentDir}/src/main/resources/</directory>
<filtering>true</filtering>
<includes>
<include>**/dbus-java.version</include>
</includes>
</resource>
</resources>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -208,9 +196,9 @@
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<Build-Time>${git.commit.time}</Build-Time>
<Git-Revision>${git.commit.id.abbrev}</Git-Revision>
<Git-Author>${git.commit.user.name} &lt;${git.commit.user.email}&gt;</Git-Author>
<Build-Time>${git.commit.time}</Build-Time>
<Git-Revision>${git.commit.id.abbrev}</Git-Revision>
<Git-Author>${git.commit.user.name} &lt;${git.commit.user.email}&gt;</Git-Author>
</manifestEntries>
</archive>
</configuration>
Expand Down

0 comments on commit 366f70e

Please sign in to comment.