src/maven-build/xml.js
/**
     * JSON object to XML
     * @param data js object
     * @returns {Promise<String>} resolve xml
     */
JSON object to XML
@param data js object
@returns {Promise} resolve xml
JSON object to XML @param data js object @returns { Promise } resolve xml
toXML (data) {
        return Promise.resolve(convert.js2xml(data, {
            compact: true
        }))
    }
toXML ( data ) { return Promise . resolve ( convert . js2xml ( data , { compact : true } ) ) }
JSON object to XML
 @param data js object
 @returns {Promise<String>} resolve xml
JSON object to XML @param data js object @returns { Promise<String > } resolve xml