Skip to content

Commit

Permalink
Use BP_MAVEN_ACTIVE_PROFILES for native builds
Browse files Browse the repository at this point in the history
  • Loading branch information
trisberg committed Oct 11, 2023
1 parent bc33068 commit 1e45506
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions spring-cloud-serverless/kubernetes/tap/workload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ spec:
value: "false"
- name: BP_JVM_VERSION
value: "17"
- name: BP_MAVEN_BUILD_ARGUMENTS
value: "-Pnative -Dmaven.test.skip=true --no-transfer-progress package"
- name: BP_MAVEN_ACTIVE_PROFILES
value: native
source:
git:
url: <https URL for your generated project's Git repository>
Expand Down
4 changes: 2 additions & 2 deletions tanzu-java-web-app/config/workload-native.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ spec:
value: "17"
- name: BP_NATIVE_IMAGE
value: "true"
- name: BP_MAVEN_ADDITIONAL_BUILD_ARGUMENTS
value: -Pnative
- name: BP_MAVEN_ACTIVE_PROFILES
value: native
- name: MANAGEMENT_HEALTH_PROBES_ENABLED
value: "true"
- name: MANAGEMENT_ENDPOINT_HEALTH_PROBES_ADD_ADDITIONAL_PATHS
Expand Down

0 comments on commit 1e45506

Please sign in to comment.