|
228 | 228 | <spark.test.home>${session.executionRootDirectory}</spark.test.home>
|
229 | 229 |
|
230 | 230 | <CodeCacheSize>1g</CodeCacheSize>
|
| 231 | + <!-- Needed for consistent times --> |
| 232 | + <maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss z</maven.build.timestamp.format> |
231 | 233 | </properties>
|
232 | 234 | <repositories>
|
233 | 235 | <repository>
|
|
2107 | 2109 | </execution>
|
2108 | 2110 | </executions>
|
2109 | 2111 | </plugin>
|
2110 |
| - <plugin> |
2111 |
| - <groupId>org.codehaus.mojo</groupId> |
2112 |
| - <artifactId>build-helper-maven-plugin</artifactId> |
2113 |
| - <version>3.0.0</version> |
2114 |
| - </plugin> |
| 2112 | + <plugin> |
| 2113 | + <groupId>org.codehaus.mojo</groupId> |
| 2114 | + <artifactId>build-helper-maven-plugin</artifactId> |
| 2115 | + <version>3.2.0</version> |
| 2116 | + <executions> |
| 2117 | + <execution> |
| 2118 | + <id>module-timestamp-property</id> |
| 2119 | + <phase>validate</phase> |
| 2120 | + <goals> |
| 2121 | + <goal>timestamp-property</goal> |
| 2122 | + </goals> |
| 2123 | + <configuration> |
| 2124 | + <name>module.build.timestamp</name> |
| 2125 | + <pattern>${maven.build.timestamp.format}</pattern> |
| 2126 | + <timeSource>current</timeSource> |
| 2127 | + <timeZone>America/Los_Angeles</timeZone> |
| 2128 | + </configuration> |
| 2129 | + </execution> |
| 2130 | + <execution> |
| 2131 | + <id>local-timestamp-property</id> |
| 2132 | + <phase>validate</phase> |
| 2133 | + <goals> |
| 2134 | + <goal>timestamp-property</goal> |
| 2135 | + </goals> |
| 2136 | + <configuration> |
| 2137 | + <name>local.build.timestamp</name> |
| 2138 | + <pattern>${maven.build.timestamp.format}</pattern> |
| 2139 | + <timeSource>build</timeSource> |
| 2140 | + <timeZone>America/Los_Angeles</timeZone> |
| 2141 | + </configuration> |
| 2142 | + </execution> |
| 2143 | + </executions> |
| 2144 | + </plugin> |
2115 | 2145 | <plugin>
|
2116 | 2146 | <groupId>net.alchim31.maven</groupId>
|
2117 | 2147 | <artifactId>scala-maven-plugin</artifactId>
|
|
0 commit comments