On 10/29/06, Jan-Olav Eide <[EMAIL PROTECTED]> wrote:
Still struggling with this.... The configuration below runs all my tests in both phases. Nothing is exluded or included :-( As far as I can see, this config is the same as the one recommended on http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion -exclusion.html, where inclusion and exclusion patterns are reversed in the two phases. Any insight greatly appreciated.
There is a working example linked from this page: http://docs.codehaus.org/display/MAVENUSER/Maven+and+Integration+Testing It's here: http://svn.apache.org/repos/asf/shale/framework/trunk/shale-apps/shale-usecases/pom.xml Instead of using an execution for the test phase, I do it in the usual <build><plugins><plugin> section. Then, since that is inherited by the execution for integration-test, I override the <exclusion> with 'none' and set the <include> to what I want. Note that my <execution> is in a profile because I don't want integration tests to run every time I build. HTH, -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
