Skip to content

Commit

Permalink
Remove target from default artifact path
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Hale <[email protected]>
  • Loading branch information
nebhale committed Aug 13, 2020
1 parent 00cef0e commit 33747f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ The buildpack will do the following:
* Contributes Lein to a layer with all commands on `$PATH`
* Runs `<LEIN_ROOT>/bin/lein uberjar` to build the application
* Removes the source code in `<APPLICATION_ROOT>`
* Expands `<APPLICATION_ROOT>/target/uberjar/*-standalone.jar` to `<APPLICATION_ROOT>`
* Expands `<APPLICATION_ROOT>/uberjar/*-standalone.jar` to `<APPLICATION_ROOT>`

## Configuration
| Environment Variable | Description
| -------------------- | -----------
| `$BP_LEIN_BUILD_ARGUMENTS` | Configure the arguments to pass to build system. Defaults to `uberjar`.
| `$BP_LEIN_BUILT_MODULE` | Configure the module to find application artifact in. Defaults to the root module (empty).
| `$BP_LEIN_BUILT_ARTIFACT` | Configure the built application artifact explicitly. Supersedes `$BP_LEIN_BUILT_MODULE` Defaults to `target/uberjar/*-standalone.jar`.
| `$BP_LEIN_BUILT_ARTIFACT` | Configure the built application artifact explicitly. Supersedes `$BP_LEIN_BUILT_MODULE` Defaults to `target/*-standalone.jar`.
2 changes: 1 addition & 1 deletion buildpack.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ build = true
[[metadata.configurations]]
name = "BP_LEIN_BUILT_ARTIFACT"
description = "the built application artifact explicitly. Supersedes $BP_LEIN_BUILT_MODULE"
default = "target/uberjar/*-standalone.jar"
default = "target/*-standalone.jar"
build = true

[[metadata.configurations]]
Expand Down

0 comments on commit 33747f4

Please sign in to comment.