I've got a Maven2 project with two submodules, laid out like this:
parentproject
|---war-file-project
|---applet-project
The POMs in each of them have the appropriate parent-module relationships. The applet-project
contains a simple applet and is set up with JAR packaging. The war-file-project
contains a simple WAR file project and is set up with WAR packaging.
When I build, I'd like to make sure that the WAR file contains the resulting JAR file from the applet-project
in the /applets
directory.
How do I do this?