dependency 'org.reflections:reflections:0.9.9'
dependency 'org.simpleframework:simple:4.1.21'
dependency 'org.sonarsource.orchestrator:sonar-orchestrator:3.27.0.2172'
- dependency 'org.sonarsource.update-center:sonar-update-center-common:1.18.0.487'
+ dependency 'org.sonarsource.update-center:sonar-update-center-common:1.23.0.723'
dependency 'org.subethamail:subethasmtp:3.1.7'
dependency 'org.yaml:snakeyaml:1.17'
dependency 'xml-apis:xml-apis:1.4.01'
private static final String PROPERTY_DESCRIPTION = "description";
private static final String PROPERTY_RELEASE_DATE = "releaseDate";
private static final String PROPERTY_CHANGE_LOG_URL = "changeLogUrl";
- private static final String PROPERTY_DOWNLOAD_URL = "downloadUrl";
+ private static final String PROPERTY_COMMUNITY_DOWNLOAD_URL = "downloadUrl";
+ private static final String PROPERTY_DEVELOPER_DOWNLOAD_URL = "downloadDeveloperUrl";
+ private static final String PROPERTY_ENTERPRISE_DOWNLOAD_URL = "downloadEnterpriseUrl";
+ private static final String PROPERTY_DATACENTER_DOWNLOAD_URL = "downloadDatacenterUrl";
private static final String OBJECT_PLUGINS = "plugins";
private static final String ARRAY_REQUIRE_UPDATE = "requireUpdate";
private static final String ARRAY_INCOMPATIBLE = "incompatible";
jsonWriter.prop(PROPERTY_DESCRIPTION, release.getDescription());
jsonWriter.propDate(PROPERTY_RELEASE_DATE, release.getDate());
jsonWriter.prop(PROPERTY_CHANGE_LOG_URL, release.getChangelogUrl());
- jsonWriter.prop(PROPERTY_DOWNLOAD_URL, release.getDownloadUrl());
+ jsonWriter.prop(PROPERTY_COMMUNITY_DOWNLOAD_URL, release.getDownloadUrl(Release.Edition.COMMUNITY));
+ jsonWriter.prop(PROPERTY_DEVELOPER_DOWNLOAD_URL, release.getDownloadUrl(Release.Edition.DEVELOPER));
+ jsonWriter.prop(PROPERTY_ENTERPRISE_DOWNLOAD_URL, release.getDownloadUrl(Release.Edition.ENTERPRISE));
+ jsonWriter.prop(PROPERTY_DATACENTER_DOWNLOAD_URL, release.getDownloadUrl(Release.Edition.DATACENTER));
}
@Override