I have a multiproject webapp and want to bundle in it several files
that are artifacts of other projects.
And I have trouble identifying the best practices when it comes to
bundle all these files in the war.

E.g. I use the jnlp plugin to create webstart applications (in
target/jnlp). I want these webstart apps to be in my war.

Should I zip this jnlp directory inside my jnlp sub-project, install
this zip file as artifact in the maven local repository, then do some
preGoal/postGoal magic inside the webapp project to bundle it in my
war?

Should I create my war file in 2 steps, first an incomplete war in a
'webapp' project, that I complete in a second step thanks to a
'distribution' project where I add all my missing content thanks to
maven.xml?

How will this fit with m2 where, if I understood, reliance on
maven.xml is supposedly to be minimal?

Cheers,

Jerome

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to