in maven-artifact-transfer-api/src/main/java/org/apache/maven/shared/transfer/artifact/install/internal/DefaultArtifactInstaller.java [80:94]
private void validateParameters( ProjectBuildingRequest request, Collection<Artifact> mavenArtifacts )
{
if ( request == null )
{
throw new IllegalArgumentException( "The parameter request is not allowed to be null." );
}
if ( mavenArtifacts == null )
{
throw new IllegalArgumentException( "The parameter mavenArtifacts is not allowed to be null." );
}
if ( mavenArtifacts.isEmpty() )
{
throw new IllegalArgumentException( "The collection mavenArtifacts is not allowed to be empty." );
}
}