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.
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 ...