Hi, due to the modular nature of some of our current applications, we have a need to understand how to setup Maven to produces mutliple configurations of the same artifact (in our case a WAR file), combinations of BOTH deployment level (dev, test, production) AND localised (gb, fr, es etc.)? We're looking for something like:
artifact-gb-dev.war
OR
artifact-fr-test.war (etc., etc.)
We've been made aware of Maven 'build profiles', which seem to fit the deployment environment criteria, and the 'maven-assembly-plugin', which might address the country/internationalisation issues BUT is it possible to combine the two (i.e. integrate French-language resources files into a production-level build)?
An example of our current directory structure might be:
..\gb
\dev
\test
\production
..\fr
\dev
\test
\production
..\es
\dev
\test
\production
where a build might require a (one) French development release (fr/dev) OR all production releases (gb-fr-es-etc/prod), for example.
We're new to Maven and have decided to try it due to the quick ramp-up offered by pre-configured Maven archetypes and its dependency management. Until now we've used Ant for our builds.
Thanks
Richard