O'Reilly logo

Apache Maven 2 Effective Implementation by Maria Odea Ching, Brett Porter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Integration, functional, and other testing

You may remember from the opening sections of the chapter that there is some limited utility to the integration-test phase as part of the default lifecycle. If wired up by default, the tests need to run fast for reasons of practicality, limiting the normal types of tests that can be executed at this stage.

The integration-test phase in Maven was partially an afterthought, which has perhaps led to some of these limitations of its use. Unlike the main test phases, it does not have its own source tree and must be manually managed. We can just hope that this will change in a future version of Maven.

One example of the phase's use to consider is a test that verifies that the artifact was built correctly in the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required