You should build you project using IDEA’s Maven Projects view.
View -> Tool Windows -> Maven Projects
or open it from left bottom corner menu:

And then build your project with maven goals – i.e. package:

If packaging is set to jar in pom.xml, you will get a jar in target dir.