[
https://issues.apache.org/jira/browse/MNG-6754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MNG-6754.
-------------------------------
Fix Version/s: (was: 3.7.0-candidate)
3.7.0
Resolution: Fixed
Fixed with
[72688805c4f95f8ab4ca9ab2ac2cd114667790c9|https://gitbox.apache.org/repos/asf?p=maven.git;a=commit;h=72688805c4f95f8ab4ca9ab2ac2cd114667790c9]
and
[51e5a9a2ccb7118d3ca9789d363bbcc4d34e8f39|https://gitbox.apache.org/repos/asf?p=maven-integration-testing.git;a=commit;h=51e5a9a2ccb7118d3ca9789d363bbcc4d34e8f39],
[d502460347f1867e9ea452a3bb28dce9f889df66|https://gitbox.apache.org/repos/asf?p=maven-integration-testing.git;a=commit;h=d502460347f1867e9ea452a3bb28dce9f889df66].
> Set the same timestamp in multi module builds
> ---------------------------------------------
>
> Key: MNG-6754
> URL: https://issues.apache.org/jira/browse/MNG-6754
> Project: Maven
> Issue Type: Improvement
> Components: Artifacts and Repositories, Deployment
> Affects Versions: 3.6.3
> Reporter: Michael Angstadt
> Assignee: Michael Osipov
> Priority: Minor
> Fix For: 3.7.0
>
>
> When multi module snapshots are built using Maven, the version timestamp may
> be different for each module. This makes it difficult to quickly reference a
> historical snapshot of a multi module project, which is something we might do
> when determining when a bug was introduced.
> [This Stack Overflow question|https://stackoverflow.com/q/45629816/2048802]
> provides a good example of the problem. [The accepted
> answer|https://stackoverflow.com/a/45715820/2048802] seems like a reasonable
> solution, but does not appear to work. [Looking at the
> code|https://github.com/apache/maven/blob/d9a0eee7fe2e2b1d77e59cf5bc772e758d29e47d/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java#L85],
> there does not appear to be a way to override the timestamp.
> Please add a way to use a consistent timestamp for all modules in a build.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)