An Azure service that provides an event-driven serverless compute platform.
There is a guide on deploying Java applications using Spring Cloud and Azure Cosmos DB, according to the reference I found. The guide makes use of the open-source project Spring Cloud Azure, which integrates Spring with Azure services. With minimal code changes and configuration, this project simplifies the connection and consumption of Azure services. This guide requires the following tools and resources: an Azure subscription, Terraform, JDK8 or later, Git, Jq, Docker, and Maven.
Cloning and building a sample repository, provisioning Azure resources, running a terraform script to create Azure resources, and exporting environment values to your local environment are all part of the process.
There appears to be a scarcity of comprehensive resources detailing how to integrate Azure Functions with Spring Cloud and Azure Cosmos DB. I did find some resources on running Spring Cloud applications locally and creating Docker images for these applications, but the process of integrating these with Azure Functions was not explicitly covered.
Given your specific issue of a pom.xml version mismatch, it may be beneficial to ensure that all of your dependencies are compatible with one another. Check that the Spring Cloud, Azure Functions, and Cosmos DB versions you're using are known to work well together. If the problem persists, you should consider contacting a specialized forum or Microsoft's support channels. I might be able to provide more specific advice if you could provide more specific information about the errors you're experiencing.