Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6881

Inconsistent property semantics against their names in Maven Model Builder

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.6.3
    • None
    • None

    Description

      The model builder 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            michael-o Michael Osipov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: