final File webAppDirectory =
setUpMojo( testId, new ArtifactStub[] { overlay1, overlay2, overlay3 }, new String[] {
"org/sample/company/test.jsp", "jsp/b.jsp" } );
Overlay over1 = new DefaultOverlay( overlay3 );
over1.setExcludes( "**/a.*,**/c.*,**/*.xml,jsp/b.jsp" );
Overlay over2 = new DefaultOverlay( overlay1 );
over2.setIncludes( "jsp/d/*" );
over2.setExcludes( "jsp/d/a.jsp" );
Overlay over3 = new DefaultOverlay( overlay3 );
over3.setIncludes( "**/*.jsp" );
over3.setExcludes( "jsp/b.jsp" );
Overlay over4 = new DefaultOverlay( overlay2 );
mojo.setOverlays( new LinkedList<Overlay>() );
mojo.addOverlay( over1 );
mojo.addOverlay( over2 );
mojo.addOverlay( over3 );