* @param hotDeployment flag whether hot deployment scans should be enabled
* @return the scanning profile meta data
*/
protected ProfileMetaData createScanningProfile(String name, URI root, Collection<String> dependencies, boolean hotDeployment)
{
AbstractProfileMetaData profile;
if(hotDeployment) {
profile = ProfileMetaDataFactory.createHotDeploymentScanningProfile(name, root, getScanPeriod());
} else {
profile = ProfileMetaDataFactory.createImmutableScanningProfile(name, root);
}