Yes, you should create two modules - one that produces a JAR, and one
that produces a WAR (and has a dependency on the module generating the
JAR).
It should be something like this:
root
|
+---pom.xml
|
+---war-module
| |
| +-pom.xml
| |
| +-src...
|
+--
Hi,
I am converting an Ant based project to M2.
The project creates two artifacts: a war and a jar.
My understanding is that an M2 project should only produce one artifact.
So, what would the M2 approach be? multiple modules?
Regards
Michael McCrann
NOTICE
This e-mail and any attachments ar