Since Pivotal Web Services has native support for Spring Cloud applications, the deployment process is very straightforward. However, it does require specific dependencies and configuration on the application side—especially if your microservices have to integrate with built-in services provided by Pivotal platforms such as Service Registry, Config Server, or Circuit Breaker. Besides standard dependency management for Spring Cloud, we should also include spring-cloud-services-dependencies in pom.xml with the newest version working with the Edgware.SR2 release train, shown as follows:
<dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-dependencies</artifactId> ...