[ https://issues.apache.org/jira/browse/MNG-6881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17254660#comment-17254660 ]
Michael Osipov commented on MNG-6881: ------------------------------------- [~rfscholte], WDYT? > Inconsistent property semantics against their names in Maven Model Builder > -------------------------------------------------------------------------- > > Key: MNG-6881 > URL: https://issues.apache.org/jira/browse/MNG-6881 > Project: Maven > Issue Type: Wish > Components: Inheritance and Interpolation > Affects Versions: 3.6.3 > Reporter: Michael Osipov > Priority: Major > > The [model > builder|https://maven.apache.org/ref/3.6.3/maven-model-builder/#Model_Interpolation] > provides following properties: > * {{maven.build.timestamp}}, ({{build.timestamp}}), > * {{maven.version}} and {{maven.build.version}}. > From consistency's perspective, I'd either expect {{maven.build.timestamp}} > and {{maven.build.version}} to contain the timestamp at which Maven was built > and and the version of this Maven build. > *But*, it contains the timestamp of the currently built project while the > other property still refers to Maven itself. > This is inconsistent. I'd expect everything build related to be in > {{project.build.*}} and with > {{project.build.timestamp}}/{{project.build.outputTimestamp}}. > * {{maven.build.timestamp}} along with the format property need to be > deprecated and removed; resolved in > {{project.build.timestamp}}/{{project.build.timestamp.format}} > * {{maven.build.version}} needs to be deprecated and replaced with something > like {{maven.banner}}/{{maven.versionBanner}}. -- This message was sent by Atlassian Jira (v8.3.4#803005)