Skip to content

erdemkiiliic/heroku-buildpack-java

 
 

Repository files navigation

Heroku buildpack for Java CI

If you want to have Maven available to use at runtime in your application, you should copy it from the cache directory to the build directory by adding the following lines to the compile script. I updated the current java buildpack with these lines and created this repo. So, you can use this repo.

for DIR in ".m2" ".maven" ; do cp -r $CACHE_DIR/$DIR $BUILD_DIR/$DIR done

example procfile:
worker: .maven/bin/mvn compile

About

A Heroku buildpack for Java apps. (maven runtime edition)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 85.5%
  • Ruby 14.5%