Maven copy project output into other project resources
Posted
by Thomas
on Stack Overflow
See other posts from Stack Overflow
or by Thomas
Published on 2010-04-08T20:45:24Z
Indexed on
2010/04/08
20:53 UTC
Read the original article
Hit count: 357
There are two projects: 1) applet project that outputs jar file 2) web app project that should host the jar file.
After (1) finished building, the applet jar file should be copied into the webapp folder of (2). The purpose is that (2) will host the applet (1) on the Internet.
A lot of examples explain how to use another project as a library dependency. Other examples, show how to use ant plugin to copy files. I am unsure on how to properly set this up, so that 'mvn install' on the parent project will do the copying at the right time.
© Stack Overflow or respective owner