IntelliJ-IDEA is new for me .. I used to work with SCALA-IDE
. for current project i have to use IntelliJ
.
I tried in stackoverflow to find "How to crate .jar file of scala maven project created in Intellij"
I found:
install SBT and on CMD type "sbt package"
install maven and on cnd type "maven package"
some says in
intellij
at right hand side there will be two options, one ismaven
, one is ant. Click on maven. U can see the modules. Click on the module un want to build. Expand module, expand the life cycle, click on install
My question is:
what is the best way to create .jar
file in Intellij
for maven project ). I have added all scala and spark the dependencies to pom.xml
FYI: I think the meaning of having a tool is usefully when you don't have to go to cmd
and type "sbt package"
or "maven package"
. just a mouse click should work for you Like scala-IDE