I\'d like to place my output jar and jar-with-dependencies into another folder (not in target/
but in ../libs/
).
How can I do that?
If you want to copy the artifact into a directory outside your project, solutions might be:
maven-jar-plugin
and configure outputDirectory
maven-antrun-plugin
and copy taskcopy-maven-plugin
by Evgeny GoldinExample for the copy-maven-plugin
is:
com.github.goldin
copy-maven-plugin
0.2.5
deploy-to-local-directory
install
copy
false
false
Copy artifact to another directory
/your/local/path
${project.build.directory}
*.jar