mirror of
https://github.com/apache/maven.git
synced 2025-02-06 18:18:48 +00:00
o Fixed handling of plugin groups
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749493 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d670f82e62
commit
352fd0a543
@ -158,7 +158,7 @@ private void executionProperties( MavenExecutionRequest request,
|
||||
Properties userProperties = request.getUserProperties();
|
||||
if ( userProperties != null )
|
||||
{
|
||||
for ( Iterator it = userProperties.keySet().iterator(); it.hasNext(); )
|
||||
for ( Iterator<?> it = userProperties.keySet().iterator(); it.hasNext(); )
|
||||
{
|
||||
String key = (String) it.next();
|
||||
if ( !requestProperties.containsKey( key ) )
|
||||
@ -191,6 +191,8 @@ private void processSettings( MavenExecutionRequest request, Configuration confi
|
||||
|
||||
Settings settings = request.getSettings();
|
||||
|
||||
request.setPluginGroups( settings.getPluginGroups() );
|
||||
|
||||
List settingsProfiles = settings.getProfiles();
|
||||
|
||||
List<String> settingsActiveProfileIds = settings.getActiveProfiles();
|
||||
@ -548,11 +550,11 @@ private void eventing( MavenExecutionRequest request,
|
||||
}
|
||||
|
||||
// Now, add in any event monitors from the Configuration instance.
|
||||
List configEventMonitors = configuration.getEventMonitors();
|
||||
List<EventMonitor> configEventMonitors = configuration.getEventMonitors();
|
||||
|
||||
if ( ( configEventMonitors != null ) && !configEventMonitors.isEmpty() )
|
||||
{
|
||||
for ( Iterator it = configEventMonitors.iterator(); it.hasNext(); )
|
||||
for ( Iterator<EventMonitor> it = configEventMonitors.iterator(); it.hasNext(); )
|
||||
{
|
||||
EventMonitor monitor = (EventMonitor) it.next();
|
||||
request.addEventMonitor( monitor );
|
||||
|
Loading…
x
Reference in New Issue
Block a user