Hi,

I have a typical war webapp which I deploy to tomcat. At the same time I
have the typical static content (images, js, css) that needs to go to my
webservers. It is easy enough to exclude the static content from my war, but
I would like to zip up the static content and also deploy it to my repos as
a separate artifact. Both attached to a phase and as an independent command,
would be optimal, because we often update static content without needing to
deploy the app.

I have read some older postings about using assemblies (I have not used this
plugin before) and the maven-zip-plugin, as both a standalone archetype and
a build-plugin. Unfortunately, I am unsure which applies to my use case. I
suppose I could also just use an ant task, as well.

I was just wondering if anyone has done this and what is the best approach.

Thanks, James

Reply via email to