I apologize that this is certainly the basic material for maven / war, but I am not a maven user. I just have to hack this thing into a maven based project.
What I need to do is copy the (essentially arbitrary) directory and files to the root of my war. I need them to appear as resources available over HTTP when the war unfolds.
I can't just put them in the โright placeโ in the source tree. This is because the files in question are actually the source files of my project. I understand that this is a little strange, but this is a draft documentation, and I need to show the source and effect in the same war.
So, in general, how do I configure the maven war plugin to copy this directory, along with its contents, to the root of my war? (By the way, I tried to understand the documentation of this tool, but it seems to be based on such a deep understanding of maven that it seems to me that I will never understand this without studying maven first, and I too pressed the time to do it now !)
Many TIA Toby.
source share