diff --git a/java/maven/README.md b/java/maven/README.md index e40ce6aa..6da0eeb1 100644 --- a/java/maven/README.md +++ b/java/maven/README.md @@ -3,13 +3,13 @@ ## Building ```bash -pack build applications/maven +pack build applications/maven --builder paketobuildpacks/builder-jammy-base -e BP_JVM_VERSION=17 ``` Alternatively, if you want to attach a Maven `settings.xml` file to pass additional configuration to Maven. ```bash -pack build applications/maven --volume $(pwd)/bindings:/platform/bindings +pack build applications/maven --builder paketobuildpacks/builder-jammy-base -e BP_JVM_VERSION=17 --volume $(pwd)/bindings:/platform/bindings ``` The command above will use the sample `settings.xml` file from this repo. It may be more useful to copy your local `settings.xml` first.