mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-22 11:25:13 +00:00
Update create-spring-boot-java-project input variable (#244)
* Fix project name placeholders and update descriptions in Spring Boot project prompts * Update Spring Boot project prompts to clarify project creation instructions --------- Co-authored-by: Vincent Huang iMac <vincent.huang@opennet.tw>
This commit is contained in:
committed by
GitHub
parent
ec3db46b77
commit
4c5b47498d
@@ -1,7 +1,6 @@
|
||||
---
|
||||
mode: 'agent'
|
||||
tools: ['changes', 'codebase', 'editFiles', 'findTestFiles', 'problems', 'runCommands', 'runTests', 'search', 'searchResults', 'terminalLastCommand', 'testFailure', 'usages']
|
||||
description: 'Create Spring Boot Java project skeleton'
|
||||
description: 'Create Spring Boot Java Project Skeleton'
|
||||
---
|
||||
|
||||
# Create Spring Boot Java project prompt
|
||||
@@ -30,7 +29,7 @@ java -version
|
||||
|
||||
```shell
|
||||
curl https://start.spring.io/starter.zip \
|
||||
-d artifactId=demo \
|
||||
-d artifactId=${input:projectName:demo-java} \
|
||||
-d bootVersion=3.4.5 \
|
||||
-d dependencies=lombok,configuration-processor,web,data-jpa,postgresql,data-redis,data-mongodb,validation,cache,testcontainers \
|
||||
-d javaVersion=21 \
|
||||
@@ -45,7 +44,7 @@ curl https://start.spring.io/starter.zip \
|
||||
- Run following command in terminal to unzip the downloaded file
|
||||
|
||||
```shell
|
||||
unzip starter.zip -d .
|
||||
unzip starter.zip -d ./${input:projectName:demo-java}
|
||||
```
|
||||
|
||||
## Remove the downloaded zip file
|
||||
@@ -56,6 +55,14 @@ unzip starter.zip -d .
|
||||
rm -f starter.zip
|
||||
```
|
||||
|
||||
## Change directory to the project root
|
||||
|
||||
- Run following command in terminal to change directory to the project root
|
||||
|
||||
```shell
|
||||
cd ${input:projectName:demo-java}
|
||||
```
|
||||
|
||||
## Add additional dependencies
|
||||
|
||||
- Insert `springdoc-openapi-starter-webmvc-ui` and `archunit-junit5` dependency into `pom.xml` file
|
||||
|
||||
Reference in New Issue
Block a user