in src/main/java/org/apache/maven/resolver/internal/ant/types/RemoteRepository.java [74:91]
public void validate( Task task )
{
if ( isReference() )
{
getRef().validate( task );
}
else
{
if ( url == null || url.length() <= 0 )
{
throw new BuildException( "You must specify the 'url' for a remote repository" );
}
if ( id == null || id.length() <= 0 )
{
throw new BuildException( "You must specify the 'id' for a remote repository" );
}
}
}