|
4 | 4 | [](https://codeclimate.com/repos/5224adaec7f3a3415107004c/feed) |
5 | 5 | [](https://codeclimate.com/repos/5224adaec7f3a3415107004c/feed) |
6 | 6 |
|
7 | | -The `java-buildpack` is a [Cloud Foundry][] buildpack for running Java applications. It is designed to run most Java applications with no additional configuration, but supports configuration of the standard components, and extension to add custom components. |
| 7 | +The `java-buildpack` is a [Cloud Foundry][] buildpack for running JVM-based applications. It is designed to run many JVM-based applications ([Grails][], [Groovy][], Java Main, [Play Framework][], [Spring Boot][], and Servlet) with no additional configuration, but supports configuration of the standard components, and extension to add custom components. |
8 | 8 |
|
9 | 9 | ## Usage |
10 | 10 | To use this buildpack specify the URI of the repository when pushing an application to Cloud Foundry: |
11 | 11 |
|
12 | 12 | ```bash |
13 | | -cf push --buildpack https://github.com/cloudfoundry/java-buildpack |
| 13 | +cf push -b https://github.com/cloudfoundry/java-buildpack |
14 | 14 | ``` |
15 | 15 |
|
16 | | -or if using the [`gcf`][] tool: |
| 16 | +## Examples |
| 17 | +The following are _very_ simple examples for deploying the artifact types that we support. |
17 | 18 |
|
18 | | -```bash |
19 | | -gcf push -b https://github.com/cloudfoundry/java-buildpack |
20 | | -``` |
| 19 | +* [Grails](docs/example-grails.md) |
21 | 20 |
|
22 | 21 | ## Configuration and Extension |
23 | 22 | The buildpack supports configuration and extension through the use of Git repository forking. The easiest way to accomplish this is to use [GitHub's forking functionality][] to create a copy of this repository. Make the required configuration and extension changes in the copy of the repository. Then specify the URL of the new repository when pushing Cloud Foundry applications. If the modifications are generally applicable to the Cloud Foundry community, please submit a [pull request][] with the changes. |
@@ -79,8 +78,11 @@ This buildpack is released under version 2.0 of the [Apache License][]. |
79 | 78 | [Apache License]: http://www.apache.org/licenses/LICENSE-2.0 |
80 | 79 | [Cloud Foundry]: http://www.cloudfoundry.com |
81 | 80 | [contributor guidelines]: CONTRIBUTING.md |
82 | | -[`gcf`]: https://github.com/cloudfoundry/cli |
83 | 81 | [GitHub's forking functionality]: https://help.github.com/articles/fork-a-repo |
| 82 | +[Grails]: http://grails.org |
| 83 | +[Groovy]: http://groovy.codehaus.org |
| 84 | +[Installing Cloud Foundry on Vagrant]: http://blog.cloudfoundry.com/2013/06/27/installing-cloud-foundry-on-vagrant/ |
| 85 | +[Play Framework]: http://www.playframework.com |
84 | 86 | [pull request]: https://help.github.com/articles/using-pull-requests |
85 | 87 | [Pull requests]: http://help.github.com/send-pull-requests |
86 | | -[Installing Cloud Foundry on Vagrant]: http://blog.cloudfoundry.com/2013/06/27/installing-cloud-foundry-on-vagrant/ |
| 88 | +[Spring Boot]: http://projects.spring.io/spring-boot/ |
0 commit comments