반응형
pom.xml에 아래와 같이 boot-maven-plugin에 executable을 true로 설정해주면 된다.
war는 그냥 되지만, jar는 저 옵션이 있어야 데몬으로 뜨는듯
1 2 3 4 5 6 7 8 9 10 11 12 | < build > < finalName >프로젝트명</ finalName > < plugins > < plugin > < groupId >org.springframework.boot</ groupId > < artifactId >spring-boot-maven-plugin</ artifactId > < configuration > < executable >true</ executable > </ configuration > </ plugin > </ plugins > </ build > |
반응형
'개발 > Spring Framework' 카테고리의 다른 글
[Spring Boot] WebApplication ComponentScan (0) | 2016.06.10 |
---|---|
[Spring Security] UserDetailService wrapping (0) | 2016.06.10 |
[Spring Boot] freemarker에서 Spring Security taglib 인식이 안되는 경우 (0) | 2016.06.10 |
[Spring Boot] freemarker에서 Spring Security csrf 처리하기 (0) | 2016.06.10 |
[Spring Fox] Swagger-SpringMvc에서 Migration하기 (0) | 2016.06.10 |