How can I specify the outputDirectory only for packaging a jar?
http://maven.apache.org/plugins/maven-jar-plugin/jar-mojo.html this shows all parameters, but how can
If you wish copy dependency jars as well to a target folder, use maven-dependency-plugin.
... ... maven-dependency-plugin install copy-dependencies ${project.build.directory}/lib