Skip to content

Commit

Permalink
Set BP_JVM_VERSION=17 for maven sample
Browse files Browse the repository at this point in the history
  • Loading branch information
c0d1ngm0nk3y authored and ForestEckhardt committed Apr 14, 2023
1 parent 9052e42 commit f5ad2fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/maven/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f5ad2fa

Please sign in to comment.