Hi,
There's a couple of approaches to this:
1) use separate resources directories for each customer, with each
one containing a config.xml. Then configure a resources block in each
profile that points at the appropriate directory.
2) use a single config file that has its values specified as property
values (using ${property.name} notation. Specify the property values
in each profile and configure the main resources block to use filter
copying.
Cheers,
Steve Coy
On 15/06/2007, at 7:29 PM, Geir Gullestad Pettersen wrote:
Is there a plugin to copy a specified file during the build process?
In src/main/resources I have "config-customer1.xml", "config-
customer2.xml",
"...3" and so on.. Depending on which profile I activate when
running Maven
I need one of these files to be copied to "src/main/resources/
config.xml" so
that the correct config for the given customer is used. Is that
possible?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]