I am curious to know how do others do their "package" phase or final
builds. 

We have standard profiles for developer, qa and production each
specifying environment specific entries and use resource filtering to
get data in right place. 

When you run package phase, maven runs the unit tests. We don't want
unit tests to be executed on production environment. Only way I know is
to use one of those skip unit tests flags on command line?

Is this the standard way to package the final output? Is it possible to
run unit tests with different profile and finally package with different
profile? 

Another way I can think of is to run unit tests with qa or other
profile, confirm everything is ok and then run clean/package with
production profile.

Is there any other way to specify which tests can be executed during
package phase? Sort of like specifying "safe" tests.

Thanks for help,

- Niranjan 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to