Skip to content

Commit

Permalink
fix(maven-container): incorrect JAR_PATH build argument
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald committed Mar 18, 2019
1 parent 187dc7d commit bd66bb5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions docs/reference/module-types/maven-container.md
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,14 @@ The JDK version to use.
| Type | Required |
| ---- | -------- |
| `number` | No
### `module.mvnOpts[]`
[module](#module) > mvnOpts

Options to add to the `mvn package` command when building.

| Type | Required |
| ---- | -------- |
| `array[string]` | No


## Complete YAML schema
Expand Down Expand Up @@ -648,4 +656,5 @@ module:
env: {}
jarPath:
jdkVersion: 8
mvnOpts: []
```
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ async function configure(params: ConfigureModuleParams<MavenContainerModule>) {
const jdkVersion = mavenFields.jdkVersion!

containerConfig.spec.buildArgs = {
JAR_PATH: mavenFields.jarPath!,
JAR_PATH: "app.jar",
JDK_VERSION: jdkVersion.toString(),
}

Expand Down

0 comments on commit bd66bb5

Please sign in to comment.