Uploaded image for project: 'Build'
  1. Build
  2. BUILD-165

Specify all versions of Maven plugins in super pom

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: POMs 30
    • Component/s: None
    • Labels:
      None

      Description

      Maven's default behavior is to pickup latest found version of plugins, if no specific version is requested by the pom. Since Maven 3, Maven outputs warnings when plugins are used without a specific version; it's considered good practice to specify all versions of all plugins, since that leads to better/more reproducible builds.

      Since our builds were currently not relying on specific versions of these plugin, this issue is to be considered a "meta" one that covers several plugin updates (we generally have on jira ticket for each plugin for the sake of the changelog)

      We should fix those:

      • clean: 2.6
      • install: 2.5.2 (provides installAtEnd, skip, ...)
      • resources : 2.7
      • jar : 2.5
      • compiler : 3.2
      • dependency : 2.9 (BUILD-153)
      • enforcer : 1.3.1 (BUILD-169)

      This will also imply removing some version tags: for reports, if the plugin is already in the plugins section, the version is not necessary (since BUILD-135)

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                gjoseph Magnolia International
                Reporter:
                gjoseph Magnolia International
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Checklists

                    Task DoR