Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-571

When collecting active profiles, the active profiles from parent poms are not considered

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.4
    • perform, prepare
    • None
    • Patch

    Description

      MavenProject.getActiveProfiles() does not return all profiles that are currently run, but instead only those that are run AND defined on the current project.

      This leads to preparation-builds of modules without the specified active profiles derived from their parents.

      Attachments

        1. profile-ignored-with-module.zip
          8 kB
          Georges-Etienne Legendre
        2. MRELEASE-571-collect-profiles.patch
          8 kB
          Lars Corneliussen
        3. 89d9799a56d46d7435d08c94ca538845d7145c9b[1].patch
          8 kB
          Lars Corneliussen

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              lcorneliussen Lars Corneliussen
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: