Hi,

I have setup a maven project with a jar file as an artifact. I am also using assembly plugin to assemble my shipments which include not only jar built also some other artifacts like readme, release notes and some configuration files. I have created three profiles for my three different enviornments i.e CIT, ST and PR. Each profile has a different set of configuration values which I was able to achieve with filters.

Now the problem where I am stuck is that, for some reason, I need to generate 3 jar files (for 3 different environments) in one go and then assemble them in one shipment. Ideally I would like to have another profile named "ALL_ENVIRONMENTS" which somehow should invoke build/package process for rest of the individual profiles to generate 3 jars with different configuration.

My shipment folder should look like this:

-Shipment
--CIT
---jar file
---config files
--ST
---jar file
---config files
--PR
---jar file
---config files
--some instruction documents.

I would like to generate this assembly and all the artifacts with one maven assembly command from command line. Is this possible? Can someone advise on this?

Regards,
Usman Chaudhry


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to