mirror of https://github.com/apache/maven.git
Profiles should be activated if any of the activators return true.
Issue id: MNG-3106 git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@656827 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e4602cb85a
commit
07a035b146
|
@ -293,14 +293,11 @@ public class DefaultProfileManager
|
|||
|
||||
if ( activator.canDetermineActivation( profile, context ) )
|
||||
{
|
||||
boolean result = activator.isActive( profile, context );
|
||||
|
||||
if ( result )
|
||||
if ( activator.isActive( profile, context ) )
|
||||
{
|
||||
container.getLogger().debug( "Profile: " + profile.getId() + " is active. (source: " + profile.getSource() + ")" );
|
||||
return true;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue