The Paketo Maven Dist Buildpack is a Cloud Native Buildpack that builds Maven-based applications from source.
This buildpack will participate all the following conditions are met
<APPLICATION_ROOT>/pom.xml
exists orBP_MAVEN_POM_FILE
is set to an existing POM file.
The buildpack will do the following:
- install either
mvn
ormvnd
binaries
Environment Variable | Description |
---|---|
$BP_MAVEN_DAEMON_ENABLED |
Triggers apache maven-mvnd to be installed and configured for use instead of Maven. The default value is false . Set to true to use the Maven Daemon. |
The buildpack optionally accepts the following bindings:
Secret | Description |
---|---|
settings.xml |
If present --settings=<path/to/settings.xml> is prepended to the maven arguments |
settings-security.xml |
If present -Dsettings.security=<path/to/settings-security.xml> is prepended to the maven arguments |
Key | Value | Description |
---|---|---|
<dependency-digest> |
<uri> |
If needed, the buildpack will fetch the dependency with digest <dependency-digest> from <uri> |
This buildpack is released under version 2.0 of the Apache License.