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:
Brett Leslie Porter 2005-06-06 06:36:57 +00:00
parent 63ee875b13
commit 101bd7d781
1 changed files with 1 additions and 4 deletions

View File

@ -55,10 +55,7 @@ public abstract class ArtifactTestCase
if ( settingsFile.exists() ) if ( settingsFile.exists() )
{ {
Settings settings = new SettingsXpp3Reader().read( new FileReader( settingsFile ) ); Settings settings = new SettingsXpp3Reader().read( new FileReader( settingsFile ) );
localRepo = settings.getLocalRepository();
// TODO: when settings has the code necessary, get the active profile.
Profile profile = (Profile) settings.getProfiles().get( 0 );
localRepo = profile.getLocalRepository();
} }
else else
{ {