protected void runOnce()
throws Exception
{
super.runOnce();
ScheduledServicePropertyResource repo = new ScheduledServicePropertyResource();
repo.setKey("repositoryId");
repo.setValue("release");
TaskScheduleUtil.runTask("RebuildMavenMetadata-release", RebuildMavenMetadataTaskDescriptor.ID, repo);
repo = new ScheduledServicePropertyResource();
repo.setKey("repositoryId");
repo.setValue("release2");
TaskScheduleUtil.runTask("RebuildMavenMetadata-release2", RebuildMavenMetadataTaskDescriptor.ID, repo);
repo = new ScheduledServicePropertyResource();
repo.setKey("repositoryId");
repo.setValue("snapshot");
TaskScheduleUtil.runTask("RebuildMavenMetadata-snapshot", RebuildMavenMetadataTaskDescriptor.ID, repo);
}