The Cloud Foundry Maven plug-in continues to evolve. It was recently updated and released as a new milestone version 1.0.0.M3. We'd like to thank Gunnar Hillert from the Spring Integration Team for providing guidance and new features. We would also like to thank Ali Moghadam from the Cloud Foundry Support Team for taking over some of the development tasks and contributing the new features in M3.
We never properly announced the 1.0.0.M2 release so we include the change log for this release here as well.
The major new features are as follows:
Change logs for the two most recent releases:
Changes from version 1.0.0.M1 to 1.0.0.M2
- Added Framework configuration parameter (-Dcf.framework) which allows to set the framework for the application. It defaults to spring.
- Added ability to deploy not only war-files but also point to directories and deploy those
- Add support for deployments of stand-alone applications by specifying standalone as the framework
- Deprecated warfile as now you can deploy stand-alone applications as well. Behavior is equal to the path property.
- Added path configuration property (-Dcf.path).
- Added Runtime property (-Dcf.runtime). It defaults to 'java' but technically you could also use the Maven Plugin to deploy e.g. Node and Ruby applications.
- Improved cf:info Maven goal. It will now show a list of available frameworks and system services, as well as a list of available runtimes*
- instances property now defaults to 1.
Changes from version 1.0.0.M2 to 1.0.0.M3
- Added Services configuration parameter which allows to add services. The default values are name and vendor.
- Modified the cf:push goal to take the services configuration and create the services if not created and bind them to the application.
- Added cf:logs goal which shows the log files of the application listed in either the configuration parameter.
- Added cf:services goal which shows the list of available services along with provisioned ones.
- Added cf:create-services goal which creates services listed in the configuration parameter in the pom file.
- Added cf:delete-services goal which deletes the services created using the services configuration parameter in the pom file.
To use this Maven plug-in see the project page -- https://github.com/cloudfoundry/vcap-java-client/tree/master/cloudfoundry-maven-plugin