Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-907

Last Published not being calculated by site plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Information Provided
    • 4.0.0-M3
    • None
    • site:run
    • None

    Description

      If you run: mvn site against the main branch of this project: https://github.com/nahsra/antisamy

      Instead of generating:  Last Published: 2022-07-25| Version: 1.7.0.1-dev. (on all the generated pages)

      It generates:  $i18n.getString( "site-renderer", $locale, "template.lastpublished" ): $dateValue| $i18n.getString( "site-renderer", $locale, "template.version" ): 1.7.0.1-dev

      I even tried using: version 4.0.0-M3.  The 3.12.0 release works fine for my project.

      Is something configured wrong in my use of the v4 version of this plugin? I didn't change any of my configuration when upgrading from 3.12.0 to 4.0.0.X. Or is this a bug?

      I'm likely to commit a change to the pom soon to set it back to 3.12.0. If that is the case, you'll have to change the import to 4.0.0-M3 to replicate this bug.

      I'm using Java 8, which I know is really old, if that matters. I just tested with Java 11 and 15, and that didn't change the behavior.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              davewichers Dave Wichers
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: