Author: brett
Date: Sun Jun 5 23:36:57 2005
New Revision: 180241
URL: http://svn.apache.org/viewcvs?rev=180241&view=rev
Log:
update for profiles
Modified:
maven/components/trunk/maven-artifact-test/src/main/java/org/apache/maven/artifact/test/ArtifactTestCase.java
Modified:
maven/components/trunk/maven-artifact-test/src/main/java/org/apache/maven/artifact/test/ArtifactTestCase.java
URL:
http://svn.apache.org/viewcvs/maven/components/trunk/maven-artifact-test/src/main/java/org/apache/maven/artifact/test/ArtifactTestCase.java?rev=180241&r1=180240&r2=180241&view=diff
==============================================================================
---
maven/components/trunk/maven-artifact-test/src/main/java/org/apache/maven/artifact/test/ArtifactTestCase.java
(original)
+++
maven/components/trunk/maven-artifact-test/src/main/java/org/apache/maven/artifact/test/ArtifactTestCase.java
Sun Jun 5 23:36:57 2005
@@ -55,10 +55,7 @@
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
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]