-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaccelerator.yaml
37 lines (36 loc) · 1016 Bytes
/
accelerator.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
accelerator:
displayName: Tanzu App
description: Today's demo!
iconUrl: https://raw.githubusercontent.com/simple-starters/icons/master/icon-tanzu-light.png
tags:
- java
- spring
- web
- tanzu
options:
- name: artifactId
inputType: text
defaultValue: "tanzu-app"
label: Module artifact name
required: true
- name: groupId
inputType: text
defaultValue: "com.tanzu"
label: Module group name
required: true
engine:
chain:
- merge:
- include: [ "**" ]
exclude: [ "pom.xml" ]
- include: [ "pom.xml" ]
chain:
- type: ReplaceText
substitutions:
- text: "<groupId>com.tanzu</groupId>"
with: "'<groupId>' + #groupId + '</groupId>'"
- type: ReplaceText
substitutions:
- text: "<artifactId>tanzu-app</artifactId>"
with: "'<artifactId>' + #artifactId + '</artifactId>'"
- type: Provenance