On 7/18/07, John Coleman <[EMAIL PROTECTED]> wrote:

"The war packaging type looks to src/main/webapp for the web application
files such as JSPs, but still looks for non-code files in the standard
src/main/resources directory.
Where you place files such as *.properties files is of personal choice,
however, if you think you may filter the resources it is suggested that
you place them in resources, not webapp." Maven Unser Guide

...I thought maybe I can adapt the existing plugin as part of my process
to do the copy to target. Now I will write complete and self contained
and just add it to the phase as suggested.

I have absolutely idea, what the Maven User Guide says or doesn't. The
authoritative source is the maven war plugins documentation, which
clearly indicates, that you may configure additional resource
directories.

In other words, the process is follows:

- Configure your plugin to run in the "generate-resources" phase and
let it create a
 directory below target.
- Configure the maven-war-plugin (which runs in the "package" phase, which is
 definitely later) to pick up your generated directories contents and
include it into
 the webapp.

I'll refrain from further comments.


Jochen



--
"Besides, manipulating elections is under penalty of law, resulting in
a preventative effect against manipulating elections.

The german government justifying the use of electronic voting machines
and obviously  believing that we don't need a police, because all
illegal actions are forbidden.

http://dip.bundestag.de/btd/16/051/1605194.pdf

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

Reply via email to