private void addRemoteRepositories(DeployTask deployTask) { deployTask.addRemoteRepository(remoteRepository); deployTask.addRemoteSnapshotRepository(remoteSnapshotRepository); }