I think you should take a look at webResources of the WAR
pluginhttp://maven.apache.org/plugins/maven-war-plugin/examples/adding-filtering-webresources.html
.
On 7/17/06, AK [EMAIL PROTECTED] wrote:
Hi, I have a multimodule project, all modules' config properties are
stored within each
Hi,
I have config files stored inside modules, because these files are used to
configure these modules. These configs are not used by the modules
themselves (and are not packed inside jars), just by the their clients. If
I have another web app or client app, I'll have to make these config
I believe that assembly plugin could be used.
Also could run ant targets
-Original Message-
From: AK [mailto:[EMAIL PROTECTED]
Sent: 18 July 2006 07:58
To: users@maven.apache.org
Subject: Re: how to copy resources while building war
Hi,
I have config files stored inside modules
Hi,
Why is having your property files inside the jar annoying? You can easily
access them, and if they relates only to a single module - which seems to be
the cas, since they are stored within each of your modules - it's quite
consistent to get them in this module's jar.
And if configuration
Hi,
I had a similar problem and solved it by packaging the submodule
resources as a war file too. Next, let the war plugin overlay that war
with the top-level war file.
In my case the submodule is included by dependency and I had to add a
typewar/type to the dependency tag to make that work. I'm