Le samedi 5 octobre 2019, 23:15:58 CEST Emmanuel Bourg a écrit : > Le 05/10/2019 à 19:52, Hervé BOUTEMY a écrit : > > based on the feedback I got, I updated the proposal: > > https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=74682318 > > > > The archives entries timestamp is now configured with > > project.build.outputTimestamp property, in ISO-8601 format <project> > > > > <properties> > > > > <project.build.outputTimestamp>2019-10-02T08:04:00Z</project.build.out > > putTimestamp>> > > </properties> > > > > </project> > > You may want to specify explicitly that the timestamp must be formatted > with the UTC timezone (as in your example). the current documentation on the plugin parameter is "Timestamp for reproducible archive entries." https://github.com/apache/maven-source-plugin/commit/1279fe02564d805e21d75cbfc8408178190fe12a Don't hesitate to propose a better explanation: once ok, I'll add the result to the proposal, to be easily copy/pasted to every packaging plugin.
Notice that you can also express a timezone (as digits), as seen in the unit tests. > > Would it be possible to prevent this property from being inherited? AFAIK no. And I find that default inheritance from parent to child is a nice feature. What I added, in specific case where inheritance could cause an issue, is that you can disable the Reproducible Builds configuration by setting a 1 character value, whatever the character is. This is the only trick I found to have inheritance not ignore child pom's value: tested also in the unit tests > > Emmanuel Bourg > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org