| 양쪽 이전 판 이전 판 다음 판 | 이전 판 |
| maven:cli:mvn:spring-boot [2024/01/10 11:29] – writer | maven:cli:mvn:spring-boot [2024/01/10 12:21] (현재) – writer |
|---|
| |
| ====== spring-boot (archetype) ====== | ====== spring-boot (archetype) ====== |
| | [[https://docs.spring.io/spring-boot/docs/current/maven-plugin/reference/htmlsingle/]] |
| |
| ===== CLI ===== | ===== Goal ===== |
| * ''<color #c3c3c3>**mvn**</color> <color #ff7f27>**spring-boot:**goal</color>'' | ''<color #c3c3c3>**mvn**</color> <color #ff7f27>**spring-boot:**goal</color>'' |
| * ''<color #ff7f27>**spring-boot:run**</color> <color #22b14c>**-D**parameters</color>'' | |
| * ''<color #22b14c>**-Dspring-boot-profiles=**profile_names</color>'' | * [[.spring-boot:build-image|spring-boot:build-image]] |
| | * [[.spring-boot:build-image-no-fork|spring-boot:build-image-no-fork]] |
| | * [[.spring-boot:build-info|spring-boot:build-info]] |
| | * [[.spring-boot:help|spring-boot:help]] |
| | * [[.spring-boot:process-aot|spring-boot:process-aot]] |
| | * [[.spring-boot:process-test-aot|spring-boot:process-test-aot]] |
| | * [[.spring-boot:repackage|spring-boot:repackage]] |
| | * [[.spring-boot:run|spring-boot:run]]: ''<color #c3c3c3>**mvn**</color> <color #ff7f27>**spring-boot:run**</color>'' 바로 응용프로그램 실행 |
| | * [[.spring-boot:start|spring-boot:start]]: ''<color #c3c3c3>**mvn**</color> <color #ff7f27>**spring-boot:start**</color>'' run과 반대로 응용프로그램을 수행하기 위한 목표를 차단하지 않고 허용한다. |
| | * [[.spring-boot:stop|spring-boot:stop]]: ''<color #c3c3c3>**mvn**</color> <color #ff7f27>**spring-boot:stop**</color>'' start로 기동된 응용프로그램을 멈춘다. |
| | * [[.spring-boot:test-run|spring-boot:test-run]] |
| | |
| | |
| | ===== spring-boot:run ===== |
| | |
| | * ''<color #c3c3c3>**mvn**</color> <color #ff7f27>**spring-boot:run**</color> <color #22b14c>**-D**parameters</color>'' |
| | |
| | ==== spring-boot-profiles ==== |
| | * ''<color #c3c3c3>**mvn**</color> <color #ff7f27>**spring-boot:run**</color> <color #22b14c>**-Dspring-boot-profiles=**profile_name</color>'': (<color #22b14c>profile_name</color> 프로파일 지정, 구분자 '','') |
| | <code xml> |
| | <project> |
| | <properties> |
| | <app.profiles>local,dev</app.profiles> |
| | </properties> |
| | <build> |
| | <plugins> |
| | <plugin> |
| | <groupId>org.springframework.boot</groupId> |
| | <artifactId>spring-boot-maven-plugin</artifactId> |
| | <configuration> |
| | <profiles>${app.profiles}</profiles> |
| | </configuration> |
| | </plugin> |
| | </plugins> |
| | </build> |
| | </project> |
| | |
| | </code> |
| | |
| | ==== app.profiles ==== |
| | * ''<color #c3c3c3>**mvn**</color> <color #ff7f27>**spring-boot:run**</color> <color #22b14c>**-Dapp.profiles=**profile_name</color>'' |