plugin/src/main/java/io/fabric8/maven/plugin/mojo/build/ApplyMojo.java
protected MavenProject getRootProject() {
        MavenProject project = getProject();
        while (project != null) {
            MavenProject parent = project.getParent();
            if (parent == null) {
                break;
            }
            project = parent;
        }
        return project;
    }
protected MavenProject getRootProject() {
        MavenProject project = getProject();
        while (project != null) {
            MavenProject parent = project.getParent();
            if (parent == null) {
                break;
            }
            project = parent;
        }
        return project;
    }
protected MavenProject getRootProject ( ) { MavenProject project = getProject ( ) ; while ( project != null ) { MavenProject parent = project . getParent ( ) ; if ( parent == null ) { break ; } project = parent ; } return project ; }
Returns the root project folder
Returns the root project folder