It's bad. Your builds should be environment neutral. Try to get the configuration outside of the binary.
Also, please search the archive on this topic as it has been discussed several times already this year. /Anders On Mon, Jul 25, 2011 at 22:13, Daniel Serodio (lists) < [email protected]> wrote: > We have two sets of (database and logging) settings, for development and > productions builds. We're using "dev" and "prod" profiles to choose the > appropriate settings for each environment. > > Do you think using a classifier to differentiate artifacts built for > development and production is "hacky", is is this an appropriate solution? > > Thanks in advance, > Daniel Serodio > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > users-unsubscribe@maven.**apache.org<[email protected]> > For additional commands, e-mail: [email protected] > >
