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

Profile activation regression in beta5

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0-beta-5
    • 4.0.0-rc-1
    • None
    • None

    Description

      Profile activation for submodules is no longer working with 4.0.0-beta-5, it was working with 4.0.0-beta-4.

      Reproducer
      https://github.com/mattnelson/maven-examples/tree/profile_activation

      beta4

      [INFO] --- help:3.5.1:active-profiles (default-cli) @ profiles ---
      [INFO]
      Active Profiles for Project 'com.github.mattnelson:profiles:pom:1.0.0-SNAPSHOT':
      
      The following profiles are active:
      
       - settings-xml-activeProfiles (source: external)
       - profile_active_from_mvn_config (source: /Users/Shared/DevBuild/code/maven-examples/pom.xml)
      
      Active Profiles for Project 'com.github.mattnelson:module1:pom:1.0.0-SNAPSHOT':
      
      The following profiles are active:
      
       - settings-xml-activeProfiles (source: external)
       - profile_active_from_mvn_config (source: /Users/Shared/DevBuild/code/maven-examples/pom.xml)
      

      beta5

      [INFO] --- help:3.5.1:active-profiles (default-cli) @ profiles ---
      [INFO]
      Active Profiles for Project 'com.github.mattnelson:profiles:pom:1.0.0-SNAPSHOT':
      
      The following profiles are active:
      
       - settings-xml-activeProfiles (source: external)
       - profile_active_from_mvn_config (source: com.github.mattnelson:profiles:pom:1.0.0-SNAPSHOT)
       - profile_active_from_condition (source: com.github.mattnelson:profiles:pom:1.0.0-SNAPSHOT)
      
      Active Profiles for Project 'com.github.mattnelson:module1:pom:1.0.0-SNAPSHOT':
      
      The following profiles are active:
      
       - settings-xml-activeProfiles (source: external)
      

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            MattNelson Matt Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: