mirror of
https://github.com/apache/maven.git
synced 2025-02-08 02:59:22 +00:00
[MNG-1509] fix profile activation from settings.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379314 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ad38e46b4b
commit
fa34c36025
@ -174,6 +174,8 @@ public static org.apache.maven.model.Profile convertFromSettingsProfile( Profile
|
||||
os.setFamily( settingsOs.getFamily() );
|
||||
os.setName( settingsOs.getName() );
|
||||
os.setVersion( settingsOs.getVersion() );
|
||||
|
||||
activation.setOs( os );
|
||||
}
|
||||
|
||||
org.apache.maven.settings.ActivationFile settingsFile = settingsActivation.getFile();
|
||||
@ -187,6 +189,8 @@ public static org.apache.maven.model.Profile convertFromSettingsProfile( Profile
|
||||
|
||||
activation.setFile( file );
|
||||
}
|
||||
|
||||
profile.setActivation( activation );
|
||||
}
|
||||
|
||||
profile.setProperties( settingsProfile.getProperties() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user