private List < String > getMavenModules ( MavenModuleSetBuild mavenBuild ) throws IOException , InterruptedException { FilePath pathToModuleRoot = mavenBuild . getModuleRoot ( ) ; FilePath pathToPom = new FilePath ( pathToModuleRoot , mavenBuild . getProject ( ) . getRootPOM ( null ) ) ; return pathToPom . act ( new MavenModulesExtractor ( ) ) ; }
Retrieve from the parent pom the path to the modules of the project