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

Maintenance profile doesn't work on multi-module projects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • POMs 31
    • None
    • None
    • None

      The current magnolia-maintenance-mode profile doesn't work with multi-module projects, at least not anymore since we moved to Maven 3.
      The reason is, it's activated by the presence of a file, and since Maven 3, this file is expected to be in the root of the module rather than the root of the reactor.
      I was hoping to use the directory plugin to determine the "real" root of the reactor, but unfortunately, <file> can't be interpolated with properties set at runtime.

      Since all the profile ever did was set magnolia.public.maintenance property, I'm proposing removing the profile altogether, and updating our documentation instead:

        Acceptance criteria

              gjoseph Magnolia International
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: