티스토리 뷰
scala 를 maven 으로 package 할 때, dependencies 를 빼고 jar를 만들게 된다.
dependency를 다 포함하여 jar를 만드려면, 아래 플러그인을 추가하면 된다.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-5</version>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>'Spark & Scala' 카테고리의 다른 글
| [ Spark & Scala ] File, Folder 삭제 (0) | 2020.04.06 |
|---|---|
| GCP Exception - Invalid signature file (0) | 2020.02.17 |
| GCP noSuchMethodError 해결 (0) | 2020.02.14 |
| Spark 개발 프로젝트( IntelliJ, Scala, Maven ) (0) | 2020.02.12 |
| spark-submit 이란 (0) | 2020.02.12 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Index
- Linux
- docker
- Size
- Spark
- plugin
- gradle
- scala
- Git
- SpringBoot
- JPA
- maven
- spring
- logstash
- Container
- install
- intellij
- mac
- Kibana
- elasticsearch
- error
- Postman
- spring boot
- Filter
- AWS
- tomcat
- apm
- Log
- Java
- JSON
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함
