|
17 | 17 |
|
18 | 18 | This file has been modified by Happeo Oy.
|
19 | 19 | -->
|
20 |
| -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" |
21 |
| - child.project.url.inherit.append.path="false"> |
| 20 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" child.project.url.inherit.append.path="false"> |
22 | 21 | <modelVersion>4.0.0</modelVersion>
|
23 | 22 |
|
24 | 23 | <groupId>com.google.code.gson</groupId>
|
|
43 | 42 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
44 | 43 | <maven.compiler.release>8</maven.compiler.release>
|
45 | 44 | <maven.compiler.testRelease>17</maven.compiler.testRelease>
|
| 45 | + |
| 46 | + <!-- Make the build reproducible, see https://maven.apache.org/guides/mini/guide-reproducible-builds.html --> |
| 47 | + <!-- Automatically updated by Maven Release Plugin --> |
| 48 | + <project.build.outputTimestamp>2023-01-01T00:00:00Z</project.build.outputTimestamp> |
46 | 49 | </properties>
|
47 | 50 |
|
48 | 51 | <!-- These attributes specify that the URLs should be inherited by the modules as is, to avoid constructing
|
|
171 | 174 | <!-- For Markdown files removing trailing whitespace causes issues for hard line breaks,
|
172 | 175 | which use two trailing spaces. However, the trailing spaces are difficult to notice anyway;
|
173 | 176 | prefer a trailing `\` instead of two spaces. -->
|
174 |
| - <trimTrailingWhitespace/> |
175 |
| - <endWithNewline/> |
| 177 | + <trimTrailingWhitespace /> |
| 178 | + <endWithNewline /> |
176 | 179 | <indent>
|
177 | 180 | <spaces>true</spaces>
|
178 | 181 | <!-- This seems to mostly (or only?) affect the suggested fix in case code contains tabs -->
|
|
194 | 197 | <reorderImports>true</reorderImports>
|
195 | 198 | <formatJavadoc>true</formatJavadoc>
|
196 | 199 | </googleJavaFormat>
|
197 |
| - <formatAnnotations/> <!-- Puts type annotations immediately before types. --> |
| 200 | + <formatAnnotations /> <!-- Puts type annotations immediately before types. --> |
198 | 201 | </java>
|
199 | 202 | </configuration>
|
200 | 203 | </plugin>
|
| 204 | + |
| 205 | + <!-- Attaches a `.buildinfo` file which contains information for reproducing the build, |
| 206 | + such as OS, JDK version, ... |
| 207 | + Since this is a multi-module Maven project, only one aggregated file will be created for |
| 208 | + the last module, see the note on https://maven.apache.org/plugins/maven-artifact-plugin/usage.html#recording-buildinfo-file --> |
| 209 | + <!-- The other goals of this plugin are run by the GitHub workflow to verify that |
| 210 | + the build is reproducible (see `artifact:...` usage in the workflow) --> |
| 211 | + <plugin> |
| 212 | + <groupId>org.apache.maven.plugins</groupId> |
| 213 | + <artifactId>maven-artifact-plugin</artifactId> |
| 214 | + <version>3.5.0</version> |
| 215 | + <executions> |
| 216 | + <execution> |
| 217 | + <goals> |
| 218 | + <goal>buildinfo</goal> |
| 219 | + </goals> |
| 220 | + </execution> |
| 221 | + </executions> |
| 222 | + </plugin> |
201 | 223 | </plugins>
|
202 | 224 |
|
203 | 225 | <pluginManagement>
|
|
0 commit comments