in maven-artifact-transfer-api/src/main/java/org/apache/maven/shared/transfer/artifact/install/internal/DefaultArtifactInstaller.java [64:78]
public void install( ProjectBuildingRequest request,
File localRepository,
Collection<Artifact> mavenArtifacts ) throws ArtifactInstallerException
{
validateParameters( request, mavenArtifacts );
if ( localRepository == null )
{
throw new IllegalArgumentException( "The parameter localRepository is not allowed to be null." );
}
if ( !localRepository.isDirectory() )
{
throw new IllegalArgumentException( "The parameter localRepository must be a directory." );
}
selectDelegate( delegates ).install( request, localRepository, mavenArtifacts );
}