
Redirected from
github.com/cloudfoundry/build-system-cnb.
module
Version:
v1.0.0-M6
Opens a new window with list of versions in this module.
Published: Apr 1, 2019
License: Apache-2.0
Opens a new window with license information.
README
¶
build-system-buildpack
The Cloud Foundry Build System Buildpack is a Cloud Native Buildpack V3 that enables the building of JVM applications from source.
This buildpack is designed to work in collaboration with other buildpacks.
Detection
The detection phase passes if
Build
If the build plan contains
-
gradle
- Contributes a layer marked
cache
and links it to $HOME/.gradlew
- If
<APPLICATION_ROOT>/gradlew
exists
- Contributes a layer marked
build
, cache
, and launch
by running <APPLICATION_ROOT>/gradlew -x test build
- If
<APPLICATION_ROOT>/gradlew
does not exist
- Contributes Gradle distribution to a layer marked
cache
with all commands on $PATH
- Contributes a layer marked
build
, cache
, and launch
by running <GRADLE_ROOT>/bin/gradle -x test build
- Replaces
<APPLICATION_ROOT>
with a link to compiled application layer
-
maven
- Contributes a layer marked
cache
and links it to $HOME/.m2
- If
<APPLICATION_ROOT>/mvnw
exists
- Contributes a layer marked
build
, cache
, and launch
by running <APPLICATION_ROOT>/mvnw -Dmaven.test.skip=true package
- If
<APPLICATION_ROOT>/mvnw
does not exist
- Contributes Maven distribution to a layer marked
cache
with all commands on $PATH
- Contributes a layer marked
build
, cache
, and launch
by running <MAVEN_ROOT>/bin/mvn -Dmaven.test.skip=true package
- Replaces
<APPLICATION_ROOT>
with a link to compiled application layer
License
This buildpack is released under version 2.0 of the Apache License.
Directories
¶
Click to show internal directories.
Click to hide internal directories.