On 26/03/2011 12:15 PM, Adam Retter wrote:
Hi there,

I am trying to migrate a complex Ant setup to Maven and need some help
about how we can share our config files.

I have a series of Maven project modules that make up the Jar files
for my project. I also need to produce several end product scenarios -

1) A WAR file for users to deploy in Tomcat etc.
2) A IzPack installer distribution (I have seen the IzPack plugin).
3) Several Zip file distributions, various combinations of the output
of my maven modules.

I understand that I can create a Maven module to produce each of
these, and that is indeed my intention.

However, I have some common config files etc that I need to
incorporate into each of these final product scenarios.
So my question is, where can I keep these config files???

I would like to have one atomic version of them, that can be reused by
each scenario, some sort of dependency. To complicate things -
1) These config files typically are generated from template XML files
using XSLT, with some parameters injected into the XSLT depending on
the scenario.
2) These config files need to be easily modified by our end-users, who
use our product scenarios, so packaging them into Jar files is a not a
good idea.
Assembly plug-in will build you a zip that contains whatever you describe.

Thanks Adam.





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to