Skip to content

Commit

Permalink
Move txt from sample to the readme home file
Browse files Browse the repository at this point in the history
Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed Nov 20, 2024
1 parent f1591d5 commit 16b5407
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,15 @@ If the build fails for any reason, a `BuildpackException` will be thrown, this i
### Maven exec:java
To play with the Java Buildpack client & DSL, use the following simple java project: [samples/build-me](samples/build-me)
To use it, just configure the following env var pointing to a project to be built as a container image
```bash
export PROJECT_PATH=<JAVA_PROJECT>
export IMAGE_REF=<IMAGE_REF> // quay.io/<ORG>/<IMAGE_NAME> or <IMAGE_NAME>
```
and execute this command in a terminal:
```bash
export PROJECT_PATH="$HOME/path_to/java-buildpack-client/samples/hello-quarkus"
mvn compile exec:java
```
Expand Down
2 changes: 1 addition & 1 deletion samples/build-me/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Buildpack Builder config example

Example of a java project able to build a Quarkus, spring Boot, ... project
Example of a java project able to build a Quarkus, Spring Boot, ... project
using the DSL `BuildConfig.builder()`

To use it, just configure the following env var pointing to a project to be built as a container image
Expand Down

0 comments on commit 16b5407

Please sign in to comment.