Use maven.properties in all code instead of build.properties.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162894 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2004-07-27 12:40:11 +00:00
parent 7c9a66026d
commit 9d6d6c514f
2 changed files with 3 additions and 3 deletions

View File

@ -35,11 +35,11 @@ public class Verifier
try
{
mavenProperties.load( new FileInputStream( new File( System.getProperty( "user.home" ), "build.properties" ) ) );
mavenProperties.load( new FileInputStream( new File( System.getProperty( "user.home" ), "maven.properties" ) ) );
}
catch ( IOException e )
{
throw new VerificationException( "Can't find the build.properties file! Verification can't proceed!" );
throw new VerificationException( "Can't find the maven.properties file! Verification can't proceed!" );
}
mavenRepoLocal = mavenProperties.getProperty( "maven.repo.local" );

View File

@ -45,7 +45,7 @@ public class Bootstrapper
public void execute( String[] args )
throws Exception
{
properties = loadProperties( new File( System.getProperty( "user.home" ), "build.properties" ) );
properties = loadProperties( new File( System.getProperty( "user.home" ), "maven.properties" ) );
downloader = new ArtifactDownloader( properties );