Hello, guys! 
We have a project consisting of a main module (we call it core) and several
configurable plugin modules (we call it component). By the application
design each module is highly customizable and depends on one or more
configuration files. When the application starts the "conf" folder is
scanned and application configuration is constructed from all conf-files
located in that folder. Depending on the usage scenario several combinations
of configuration files may be used

The basic aim we want to achieve is:
1) Have all possible configuration files stored in some folder of a module,
e.g. for component A we have Aconf1.xml, Aconf2.xml and for component B
Bconf1.xml and Bconf2.xml
2) For each target usage scenario we want to predefine a set of
configuration files in a pom file that will build a distribution. E.g. for
Scenario1 we should use Aconf1.xml and Bconf2.xml, but for Scenario2 we
should use Aconf2.xml and Bconf1.xml
3) The resulting layout should look like ./lib - all *.jar files (core and
components used) and ./conf - subset of configuration files specified in a
distribution pom file.

Can you suggest how this goal can be achieved with maven and distribution or
assembly plugin?

--
View this message in context: 
http://maven.40175.n5.nabble.com/Multimodule-distribution-tp4574067p4574067.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to