Using the Maven plugin

As we have mentioned before, CLI and the web console are not the only ways to manage your application on the Pivotal platform. The Cloud Foundry team has implemented the Maven plugin in order to facilitate and speed up application deployment. What's interesting is that the same plugin can be used to manage pushes and updates to any Cloud Foundry instance, not only those provided by Pivotal.

When using Cloud Foundry's Maven plugin you can easily integrate cloud deployments into their Maven projects' life cycles. This allows you to push, remove, and update projects in Cloud Foundry. If you would like to push your project together with Maven, just run the following command:

$ mvn clean install cf:push

Generally, the commands ...

Get Mastering Spring Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.