Discussion:
[castor-dev] Maven build and integration tests
Werner Guttmann
2010-05-16 08:58:53 UTC
Permalink
Hi,

just to let you know that I have started to commit patches against SVN
trunk that

a) introduce the maven-failsafe-plugin
b) binds various helper plugins (such as the maven-sql-plugin) to
pre-integration-test and post-integration-test phases rather than
whatever was in place.

As a result of this, all integration tests available in the
jdo-extension-it and jpa-extension-it modules will not be included with a
mvn clean test
anymore, but will (only) be available with a mvn clean verify. Please
adjust your working with the Castor code base accordingly.

Cheers
Werner

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
Andras Hatvani
2010-05-16 09:15:24 UTC
Permalink
Werner,

As I wrote in my mail on 2010 May 3 21:14:29 CEST the "integration-test" would be the proper build phase and not "verify". What are the reasons that you still stick to this phase? Verify doesn't even have pre- and post-phases…

Andras
Hi,
just to let you know that I have started to commit patches against SVN trunk that
a) introduce the maven-failsafe-plugin
b) binds various helper plugins (such as the maven-sql-plugin) to pre-integration-test and post-integration-test phases rather than whatever was in place.
As a result of this, all integration tests available in the jdo-extension-it and jpa-extension-it modules will not be included with a
mvn clean test
anymore, but will (only) be available with a mvn clean verify. Please adjust your working with the Castor code base accordingly.
Cheers
Werner
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
Werner Guttmann
2010-05-16 09:27:23 UTC
Permalink
Hi Andras,

I am basically just following the instructions at

http://maven.apache.org/plugins/maven-failsafe-plugin/

which clearly explain that - in order to have the post-integration-test
phase executed properly - one should issue a
mvn verify
Let me know if I am looking at things wrongly.

Cheers
Werner
Werner,
As I wrote in my mail on 2010 May 3 21:14:29 CEST the "integration-test" would be the proper build phase and not "verify". What are the reasons that you still stick to this phase? Verify doesn't even have pre- and post-phases…
Andras
Hi,
just to let you know that I have started to commit patches against SVN trunk that
a) introduce the maven-failsafe-plugin
b) binds various helper plugins (such as the maven-sql-plugin) to pre-integration-test and post-integration-test phases rather than whatever was in place.
As a result of this, all integration tests available in the jdo-extension-it and jpa-extension-it modules will not be included with a
mvn clean test
anymore, but will (only) be available with a mvn clean verify. Please adjust your working with the Castor code base accordingly.
Cheers
Werner
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Continue reading on narkive:
Search results for '[castor-dev] Maven build and integration tests' (Questions and Answers)
3
replies
Required Java syllabus?
started 2007-07-25 22:08:10 UTC
programming & design
Loading...