Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- v-show vs v-if
- mount point
- builder pattern
- $event.target.value
- Factory Method Pattern
- IPv6
- click.native
- executable jar
- MVVM
- Linux
- design pattern
- Spring Boot
- data
- java
- ubuntu
- prototype pattern
- kebab case
- Singleton pattern
- vuejs
- zen of python
- v-model vs v-bind
- maven
- Python
- camel case error
Archives
- Today
- Total
Eddie's Blog
[spring boot] How to package a project with shell-executable jar 본문
programmings
[spring boot] How to package a project with shell-executable jar
eddie.y 2019. 2. 11. 18:121. pom.xml에 executable 설정
<build>
...
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<executable>true</executable>
</configuration>
</plugin>
...
</plugins>
...
</build>
2. 패키징
$ mvn package
3. shell script로 패키징된 jar 실행
$ ./target/example-0.0.1-SNAPSHOT.jar
'programmings' 카테고리의 다른 글
[design pattern] Builder Pattern (0) | 2019.03.28 |
---|---|
[design pattern] Abstract Factory Pattern (0) | 2019.03.28 |
[python] The Zen of Python, by Tim Peters (0) | 2018.06.13 |
[python] How to install latest python in Ubuntu (0) | 2018.06.13 |
[vuejs] $emit() vs $on() (0) | 2018.03.12 |
Comments