Skip to content

Commit

Permalink
Fix activation interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Oct 4, 2024
1 parent 04b3645 commit a99273b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1635,7 +1635,6 @@ static String getVersion(Model model) {

private DefaultProfileActivationContext getProfileActivationContext(ModelBuilderRequest request, Model model) {
DefaultProfileActivationContext context = new DefaultProfileActivationContext();

context.setActiveProfileIds(request.getActiveProfileIds());
context.setInactiveProfileIds(request.getInactiveProfileIds());
context.setSystemProperties(request.getSystemProperties());
Expand All @@ -1645,8 +1644,8 @@ private DefaultProfileActivationContext getProfileActivationContext(ModelBuilder
userProperties.put(ProfileActivationContext.PROPERTY_NAME_PACKAGING, model.getPackaging());
}
context.setUserProperties(userProperties);
context.setProjectProperties(model.getProperties());
context.setProjectDirectory(model.getProjectDirectory());

return context;
}

Expand Down

0 comments on commit a99273b

Please sign in to comment.