For Intellij IDEA version 11.0.2
File | Project Structure | Artifacts
then you should press alt+insert or click the plus icon and create new artifact choose –> jar –> From modules with dependencies.
Next goto Build | Build artifacts –> choose your artifact.
source:
http://blogs.jetbrains.com/idea/2010/08/quickly-create-jar-artifact/