Cloud Foundry buildpack for running Java applications, added maven build support.
Ruby Groovy Shell
Pull request Compare This branch is 2 commits ahead, 739 commits behind cloudfoundry:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
bin add support for maven Dec 28, 2013
config
docs
lib
resources
spec
.gitignore
.rspec
.rubocop.yml
.ruby-version
.travis.yml
.yardopts
CONTRIBUTING.md
Gemfile
Gemfile.lock
LICENSE
NOTICE
README.md
Rakefile
java-buildpack.iml

README.md

This is a customized java buildpack for cloud foundry, added maven build support to the original java-buildpack.

It detects pom.xml and run maven to build war file, then use the war file to stage app. If no pox.xml is found, it does nothing.

For more detail, see: https://github.com/heroku/heroku-buildpack-java

How to use?

Your maven app structure may like this:

	- pom.xml
	- src

In the app dir, run the follow command:

cf push --buildpack https://github.com/tsl0922/java-buildpack.git

Cloud Foundry Java Buildpack

Build Status Dependency Status Code Climate

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.

Usage

To use this buildpack specify the URI of the repository when pushing an application to Cloud Foundry:

cf push --buildpack https://github.com/cloudfoundry/java-buildpack

or if using the gcf tool:

gcf push -b https://github.com/cloudfoundry/java-buildpack

Configuration and Extension

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.

To learn how to configure various properties of the buildpack, follow the "Configuration" links below. More information on extending the buildpack is available here.

Additional Documentation

Running Tests

To run the tests, do the following:

bundle install
bundle exec rake

Installing Cloud Foundry on Vagrant is useful for privately testing new features.

Contributing

Pull requests are welcome; see the contributor guidelines for details.

License

This buildpack is released under version 2.0 of the Apache License.