Maven 2.x Ant Tasks

NPE when using remoteRepository with refid which has not been defined