mirror of https://github.com/apache/maven.git
update for profiles
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@180241 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
63ee875b13
commit
101bd7d781
|
@ -55,10 +55,7 @@ public abstract class ArtifactTestCase
|
|||
if ( settingsFile.exists() )
|
||||
{
|
||||
Settings settings = new SettingsXpp3Reader().read( new FileReader( settingsFile ) );
|
||||
|
||||
// TODO: when settings has the code necessary, get the active profile.
|
||||
Profile profile = (Profile) settings.getProfiles().get( 0 );
|
||||
localRepo = profile.getLocalRepository();
|
||||
localRepo = settings.getLocalRepository();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue