Skip to content

[MNG-8360] Profile activation regression in beta5 #9494

@jira-importer

Description

@jira-importer

Matt Nelson opened MNG-8360 and commented

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)

Affects: 4.0.0-beta-5

Remote Links:

Backported to: 4.0.0-rc-1

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:majorMajor loss of function

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions