in src/main/java/org/apache/maven/resolver/internal/ant/tasks/Deploy.java [38:55]
protected void validate()
{
super.validate();
if ( repository == null )
{
throw new BuildException( "You must specify the <remoteRepo id=\"...\" url=\"...\"> element"
+ " to denote the target repository for the deployment" );
}
else
{
repository.validate( this );
}
if ( snapshotRepository != null )
{
snapshotRepository.validate( this );
}
}