mirror of https://github.com/apache/maven.git
[MNG-3988] [regression] Profiles.xml is not processed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@734142 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f1ba2636b4
commit
62e2d40504
|
@ -331,7 +331,9 @@ public class DefaultMavenProjectBuilder
|
|||
|
||||
List<Profile> projectProfiles = new ArrayList<Profile>();
|
||||
|
||||
projectProfiles.addAll( profileAdvisor.applyActivatedProfiles( project.getModel(), project.getFile(), isReactorProject, profileActivationContext ) );
|
||||
projectProfiles.addAll( profileAdvisor.applyActivatedProfiles( project.getModel(),
|
||||
isReactorProject ? projectDescriptor : null,
|
||||
isReactorProject, profileActivationContext ) );
|
||||
|
||||
projectProfiles.addAll( profileAdvisor.applyActivatedExternalProfiles( project.getModel(), project.getFile(), externalProfileManager ) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue