I start learning packaging for several distros (currently Cygwin and Debian).
They have requirement to build system to allow out-of-tree build (syno
You could do like this to get it in your current working directory:
4.0.0
com.stackoverflow
Q13173063
1.0-SNAPSHOT
${project.artifactId}-${project.version}
UTF-8
${user.dir}
${buildDir}
Then you can issue
mvn -f my-app/pom.xml compile
And it will give you your classes in the current working directory.
And easily change to another output directory:
mvn -f my-app/pom.xml -DbuildDir=/tmp/build compile