Moved anonymous subclass of AbstractProject to outerclass MavenProject