Re: Cleanup after failed integration-test phase?

2008-03-19 Thread jimpo
Isn't there any way of executing some actions after a phase has failed? -- View this message in context: http://www.nabble.com/Cleanup-after-failed-integration-test-phase--tp16002531s177p16142888.html Sent from the Maven - Users mailing list archive at Nabble.com. -

Cleanup after failed integration-test phase?

2008-03-12 Thread jimpo
My test setup is such that before integration-test phase I need to start server A and stop server B. After integration-test phase I need to stop server A and start server B again. Now I have done this by adding executions and binding them to pre-integration-test and post-integration-test phases:

Maven task/approach for producing depended JARs cleanly?

2007-12-04 Thread jimpo
I have a maven project which produces a foo.jar as a result. jar My code depends on several jars (javax.persistence, commons-beanutils, ...). These JARs are (of course) not included in my outcome foo.jar. When I deploy the foo.jar to target environment, I need to copy all dependent JARs to

Re: Deploying war to 2 different containers at the same time

2007-10-30 Thread jimpo
on and > overwrite > a few things for testing in my container of choice > > On Wednesday 31 October 2007 01:26, jimpo wrote: >> I use maven to build my web application (war). I have two tomcat >> installations: unit test installation, which has a datasource that points >&

Deploying war to 2 different containers at the same time

2007-10-30 Thread jimpo
I use maven to build my web application (war). I have two tomcat installations: unit test installation, which has a datasource that points to unit test db (this db gets predefined data populated by dbUnit), and development installation, which uses development database. In my build I want to first

Re: How to use different databases for tests and the actual application?

2007-10-29 Thread jimpo
and then installs war in the repository, two different wars are created? Correct? Victor Cardona wrote: > > jimpo wrote: >> Using application server -specified datasources is out of the question >> right >> now unfortunately. Database connection details are configured

Re: How to use different databases for tests and the actual application?

2007-10-26 Thread jimpo
(not getting into whether such unit tests are really true "unit" tests...I need them regardless of the term) Arnaud Bailly wrote: > > jimpo <[EMAIL PROTECTED]> writes: > >> I am using Maven2 to build my war packet. Base maven configuration is >> created >

How to use different databases for tests and the actual application?

2007-10-26 Thread jimpo
I am using Maven2 to build my war packet. Base maven configuration is created with Appfuse http://appfuse.org/display/APF/Home. When I do a mvn install (or mvn cargo:deploy), first a test phase executes, and then the final war is built and installed in the repository (or deployed to my app server