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.
-
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:
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
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
>&
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
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
(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
>
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