What I *think* Wayne is talking about is deploying the environment
configurations wrapped in jars and deploy them to the repo (you would deploy
a separate jar for each environment). And then during the actual copy to the
runtime environment pick the appropriate one (from the repo).
It does work if you know what you're doing, but I think that configuration
is handled best outside of the code.

/Anders

On Mon, Jul 25, 2011 at 22:37, Ron Wheeler
<[email protected]>wrote:

> On 25/07/2011 4:27 PM, Wayne Fay wrote:
>
>> Do you think using a classifier to differentiate artifacts built for
>>> development and production is "hacky", is is this an appropriate
>>> solution?
>>>
>> IMHO this is OK and not hacky so long as there are ONLY
>> configuration/settings files in the jars and not actual binaries that
>> have configuration wrapped up inside them. I'm not a huge fan of this
>> approach but accept that it has its place.
>>
> Hard to figure where this is a good idea.
>
>> But then I have to ask how you're planning on using these artifacts in
>> your repo. Are you going to modify a pom dependency from "dev" to
>> "prod" in a product when you want to push it to Prod?
>>
> Breaks the "rules" about immutability of artifacts between testing and
> production deployment.
>
>> Wayne
>>
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: 
>> users-unsubscribe@maven.**apache.org<[email protected]>
>> For additional commands, e-mail: [email protected]
>>
>>
>>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: 
> users-unsubscribe@maven.**apache.org<[email protected]>
> For additional commands, e-mail: [email protected]
>
>

Reply via email to