>
> When building the java webapp, I'd like some HTML and JS files to be
> packaged into the WAR, but those files live in the "html" and
> "javascript" directories instead of in "java/src/main/webapp". What's
> the appropriate plugin to use in this case?
>

Hello,
Don't know if it's possible, but the "preferred maven way" I think
would be to package them into separate maven projects, of war type,
and use the implicit mechanism of war overlays: just add wars as
dependencies in your main war and you'll get everything packed
in. 

Alternatively, you could use maven-dependency-plugin
(http://maven.apache.org/plugins/maven-dependency-plugin/) to retrieve
your artifacts and unpack them if you don't/cannot pack them as war.

Finally, you can add supplementary web-resources I think, to the war
plugin, that will get packaged with the artifact (see
http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#webResources).

Regards,
-- 
Arnaud Bailly, PhD
OQube - Software Engineering
http://www.oqube.com


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

Reply via email to