private static String getDefaultValueForProperty(final ConfigurationMetadataProperty v) {
        if (v.getDefaultValue() == null) {
            return StringUtils.EMPTY;
        }
        return v.getDefaultValue().toString();
    }
Add properties to configuration.

@param file  the file
@param group the group
@throws Exception the exception
support/cas-server-support-shell-core/src/main/java/org/apereo/cas/shell/commands/properties/AddPropertiesToConfigurationCommand.java