deployment - Maven: how to assemble a bundle with multiple environments -


i'd assemble big bundle, contains common binaries , confuguration settings along environment specific things.

e.g.:

* lib * bin * conf * env -> uat1 -> conf * env -> uat2 -> conf * env -> uat3 -> conf * env -> uat4 -> conf 

it done using maven components, if filesets included in specific environments don't overlap.

for example if have:

uat1: file_alpha, file_beta, file_uat1 uat2: file_alpha, file_beta, file_uat2 uat3: file_delta, file_gamma, file_uat3 uat4: file_delta, file_gamma, file_uat4 

i configure common filesets in single file. e.g. (as filesets):

uat1uat2: file_alpha, file_beta uat1: [uat1uat2], file_uat1 uat2: [uat1uat2], file_uat2 uat3uat4: file_delta, file_gamma uat3: [uat3uat4], file_uat3 uat4: [uat3uat4], file_uat4 

unfortunatelly found, maven doesn't support sub-components or parametrized components (for uat1 put file /env/uat1/conf, uat2 put file /env/uat2/conf).

what solution address deployment needs?

not sure understood question, here's half answer.

i use iterator plugin bundle env. perhaps can you?

http://khmarbaise.github.io/iterator-maven-plugin/


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -