mvn spring-boot:goal
mvn spring-boot:run 바로 응용프로그램 실행mvn spring-boot:start run과 반대로 응용프로그램을 수행하기 위한 목표를 차단하지 않고 허용한다.mvn spring-boot:stop start로 기동된 응용프로그램을 멈춘다.mvn spring-boot:run -Dparametersmvn spring-boot:run -Dspring-boot-profiles=profile_name: (profile_name 프로파일 지정, 구분자 ,)<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>
mvn spring-boot:run -Dapp.profiles=profile_name