private void checkBWProject ( ) throws MojoExecutionException { if ( projectDirectory == null ) { projectNotFound ( ) ; } else if ( ! projectDirectory . exists ( ) || ! projectDirectory . isDirectory ( ) ) { projectNotFound ( ) ; } }
This will check that the BW project specified in the POM project exists .