Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ To learn how to configure various properties of the buildpack, follow the "Confi
* [Caches](docs/extending-caches.md) ([Configuration](docs/extending-caches.md#configuration))
* [Logging](docs/extending-logging.md) ([Configuration](docs/extending-logging.md#configuration))
* [Repositories](docs/extending-repositories.md) ([Configuration](docs/extending-repositories.md#configuration))
* [Utilities](docs/extending-utiltities.md)
* [Utilities](docs/extending-utilities.md)
* [Debugging the Buildpack](docs/debugging-the-buildpack.md)
* [Buildpack Modes](docs/buildpack-modes.md)
* Related Projects
Expand All @@ -71,7 +71,7 @@ To learn how to configure various properties of the buildpack, follow the "Confi
* [Java Buildpack System Tests](https://github.com/cloudfoundry/java-buildpack-system-test)

## Building Packages
The buildpack can be packaged up so that it can uploaded to Cloud Foundry using the `cf create-buildpack` and `cf update-buildpack` commands. In order to create these packages, the rake `package` task is used.
The buildpack can be packaged up so that it can be uploaded to Cloud Foundry using the `cf create-buildpack` and `cf update-buildpack` commands. In order to create these packages, the rake `package` task is used.

### Online Package
The online package is a version of the buildpack that is as minimal as possible and is configured to connect to the network for all dependencies. This package is about 50K in size. To create the online package, run:
Expand Down
4 changes: 2 additions & 2 deletions docs/buildpack-modes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
The Java Buildpack has three execution modes as described in the blog post, ['Packaged and Offline Buildpacks'][l].

* **Easy Mode:** Uses the repository at `https://download.run.pivotal.io`. This does not require any cloning or downloading unless you want to modify the Cloud Foundry provided buildpack. This is the default, and what we recommend to anyone who asks.
* **Expert Mode:** Refers to a repository hosted at a different location, possibly on an internal network. The [structure of the repository[r] is defined as an HTTP-accessible collection of files. The repository root must contain an `index.yml` file that is a mapping of concrete versions to absolute URIs. This repository can be created manually or [creating a replica](#replicating-the-repository-optional) for the repository at `https://download.run.pivotal.io`. This is what we would recommend to any customer that didn’t want to access the Internet. It’s easy to keep applications secure and up-to-date, but requires the expertise to run a web-server and keep it up to date.
* **Expert Mode:** Refers to a repository hosted at a different location, possibly on an internal network. The structure of the [repository] is defined as an HTTP-accessible collection of files. The repository root must contain an `index.yml` file that is a mapping of concrete versions to absolute URIs. This repository can be created manually or [creating a replica](#replicating-the-repository-optional) for the repository at `https://download.run.pivotal.io`. This is what we would recommend to any customer that didn’t want to access the Internet. It’s easy to keep applications secure and up-to-date, but requires the expertise to run a web-server and keep it up to date.
* **Offline Mode:** Uses only the packaged internal cache. This is what we recommend if you wanted a single, self-contained artifact. The downside is having to package and keep all your dependencies up to date.


Expand Down Expand Up @@ -51,6 +51,6 @@ You can download specific versions of the "Offline Mode" buildpack to use with t
[e]: https://github.com/cloudfoundry/java-buildpack-dependency-builder#replicating-repository
[l]: http://blog.cloudfoundry.org/2014/04/03/packaged-and-offline-buildpacks/
[p]: ../README.md#building-packages
[r]: https://github.com/cloudfoundry/java-buildpack/blob/master/docs/extending-repositories.md#repository-structure
[repository]: https://github.com/cloudfoundry/java-buildpack/blob/master/docs/extending-repositories.md#repository-structure
[v]: https://github.com/cloudfoundry/java-buildpack/releases
[y]: ../config/repository.yml
2 changes: 1 addition & 1 deletion docs/jre-oracle_jre.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Termination is guaranteed since there is a finite number of memory types and in
[`config/components.yml`]: ../config/components.yml
[`config/oracle_jre.yml`]: ../config/oracle_jre.yml
[Configuration and Extension]: ../README.md#configuration-and-extension
[OpenJDK JRE]: jre-open_jdk.md
[OpenJDK JRE]: jre-open_jdk_jre.md
[Oracle]: http://www.oracle.com/technetwork/java/index.html
[repositories]: extending-repositories.md
[version syntax]: extending-repositories.md#version-syntax-and-ordering