paketo-buildpacks / executable-jar

A Cloud Native Buildpack that contributes a Process Type for executable JARs.
Apache License 2.0
15 stars 7 forks source link
cnb executable-jar hacktoberfest jvm-applications

gcr.io/paketo-buildpacks/executable-jar

The Paketo Buildpack for Executable JAR is a Cloud Native Buildpack that contributes a Process Type for executable JARs.

Behavior

This buildpack will participate if any the following conditions are met:

When building a JVM application the buildpack will do the following:

When participating in the build of a native image application the buildpack will:

When $BP_LIVE_RELOAD_ENABLE is true:

Configuration

Environment Variable Description
$BP_LIVE_RELOAD_ENABLED Enable live process reloading. Defaults to false.
$BP_EXECUTABLE_JAR_LOCATION An optional glob to specify the JAR used as an entrypoint. Defaults to "", which causes the buildpack to do a breadth-first search for the first executable JAR it finds.

License

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