jar/war 파일을 직접 실행할 수 있게 만드는 옵션
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<executable>true</executable>
</configuration>
</plugin>
build 해서 만들어진 파일이 test.jar 라고 치면
test.jar start
test.jar stop
test.jar status
test.jar restart
test.jar force_reload
test.jar force_stop
vm option은 검색해서 추가해 넣으세요
'프로그램 > Java' 카테고리의 다른 글
spring boot mongodb (0) | 2021.05.14 |
---|---|
좌표계 변환 (0) | 2021.05.14 |
Using the MariaDB JDBC driver with Amazon Aurora with MySQL compatibility (0) | 2021.05.14 |
범위 지정 랜덤 & 가중치 랜덤 (0) | 2020.10.28 |
spring boot jar를 실행파일로 만드는 법 (0) | 2019.03.26 |