You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2005/05/06 17:47:29 UTC
svn commit: r168624 -
/maven/components/trunk/maven-mboot2/src/main/java/MBoot.java
Author: brett
Date: Fri May 6 08:47:28 2005
New Revision: 168624
URL: http://svn.apache.org/viewcvs?rev=168624&view=rev
Log:
fix error handling when there is no active profile
Modified:
maven/components/trunk/maven-mboot2/src/main/java/MBoot.java
Modified: maven/components/trunk/maven-mboot2/src/main/java/MBoot.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-mboot2/src/main/java/MBoot.java?rev=168624&r1=168623&r2=168624&view=diff
==============================================================================
--- maven/components/trunk/maven-mboot2/src/main/java/MBoot.java (original)
+++ maven/components/trunk/maven-mboot2/src/main/java/MBoot.java Fri May 6 08:47:28 2005
@@ -152,7 +152,7 @@
Profile activeProfile = userModelReader.getActiveProfile();
- if ( mavenRepoLocal == null )
+ if ( mavenRepoLocal == null && activeProfile != null )
{
mavenRepoLocal = new File( activeProfile.getLocalRepo() ).getAbsolutePath();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org