class LifecycleDebugLogger {
    private final Logger logger = LoggerFactory.getLogger(getClass());

    public void debug(String s) {
        logger.debug(s);
    }

    public void info(String s) {
        logger.info(s);
    }

    public void debugReactorPlan(ProjectBuildList projectBuilds) {
        if (!logger.isDebugEnabled()) {
            return;
        }

        logger.debug("=== REACTOR BUILD PLAN ================================================");

        for (Iterator<ProjectSegment> it = projectBuilds.iterator(); it.hasNext(); ) {
            ProjectSegment projectBuild = it.next();

            logger.debug("Project: " + projectBuild.getProject().getId());
            logger.debug("Tasks:   " + projectBuild.getTaskSegment().getTasks());
            logger.debug("Style:   " + (projectBuild.getTaskSegment().isAggregating() ? "Aggregating" : "Regular"));

            if (it.hasNext()) {
                logger.debug("-----------------------------------------------------------------------");
            }
        }

        logger.debug("=======================================================================");
    }

    public void debugProjectPlan(MavenProject currentProject, MavenExecutionPlan executionPlan) {<FILL_FUNCTION_BODY>}

    private void debugMojoExecution(MojoExecution mojoExecution) {
        String mojoExecId =
                mojoExecution.getGroupId() + ':' + mojoExecution.getArtifactId() + ':' + mojoExecution.getVersion()
                        + ':' + mojoExecution.getGoal() + " (" + mojoExecution.getExecutionId() + ')';

        Map<String, List<MojoExecution>> forkedExecutions = mojoExecution.getForkedExecutions();
        if (!forkedExecutions.isEmpty()) {
            for (Map.Entry<String, List<MojoExecution>> fork : forkedExecutions.entrySet()) {
                logger.debug("--- init fork of " + fork.getKey() + " for " + mojoExecId + " ---");

                debugDependencyRequirements(fork.getValue());

                for (MojoExecution forkedExecution : fork.getValue()) {
                    debugMojoExecution(forkedExecution);
                }

                logger.debug("--- exit fork of " + fork.getKey() + " for " + mojoExecId + " ---");
            }
        }

        logger.debug("-----------------------------------------------------------------------");
        logger.debug("Goal:          " + mojoExecId);
        logger.debug(
                "Style:         " + (mojoExecution.getMojoDescriptor().isAggregator() ? "Aggregating" : "Regular"));
        logger.debug("Configuration: " + mojoExecution.getConfiguration());
    }

    private void debugDependencyRequirements(List<MojoExecution> mojoExecutions) {
        Set<String> scopesToCollect = new TreeSet<>();
        Set<String> scopesToResolve = new TreeSet<>();

        for (MojoExecution mojoExecution : mojoExecutions) {
            MojoDescriptor mojoDescriptor = mojoExecution.getMojoDescriptor();

            String scopeToCollect = mojoDescriptor.getDependencyCollectionRequired();
            if (scopeToCollect != null && !scopeToCollect.isEmpty()) {
                scopesToCollect.add(scopeToCollect);
            }

            String scopeToResolve = mojoDescriptor.getDependencyResolutionRequired();
            if (scopeToResolve != null && !scopeToResolve.isEmpty()) {
                scopesToResolve.add(scopeToResolve);
            }
        }

        logger.debug("Dependencies (collect): " + scopesToCollect);
        logger.debug("Dependencies (resolve): " + scopesToResolve);
    }
}

        if (!logger.isDebugEnabled()) {
            return;
        }

        logger.debug("=== PROJECT BUILD PLAN ================================================");
        logger.debug("Project:       " + BuilderCommon.getKey(currentProject));

        debugDependencyRequirements(executionPlan.getMojoExecutions());

        logger.debug("Repositories (dependencies): " + currentProject.getRemoteProjectRepositories());
        logger.debug("Repositories (plugins)     : " + currentProject.getRemotePluginRepositories());

        for (ExecutionPlanItem mojoExecution : executionPlan) {
            debugMojoExecution(mojoExecution.getMojoExecution());
        }

        logger.debug("=======================================================================");
    
<no_super_class>