mirror of https://github.com/apache/maven.git
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:
parent
7c9a66026d
commit
9d6d6c514f
|
@ -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" );
|
||||
|
|
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue