Hello,
I tried this solution and somehow it’s not working for me 
I copied specified code to my pom and after packaging mvn, jar file was created in target folder with name of my project name.
What should I do next?
I tried to run this jar directly from Intellij and command line, but error appears “no main manifest attribute…”.
I tried to add something to pom, based on internet advises, but it didn’t help.
Thanks for any advise,
Hvosten