protected void init()

in maven-jxr-plugin/src/main/java/org/apache/maven/plugin/jxr/AbstractJxrReport.java [159:170]


    protected void init() {
        // wanna know if Javadoc is being generated
        // TODO: what if it is not part of the site though, and just on the command line?
        if (project.getModel().getReporting() != null) {
            for (ReportPlugin reportPlugin : Collections.unmodifiableList(
                    project.getModel().getReporting().getPlugins())) {
                if ("maven-javadoc-plugin".equals(reportPlugin.getArtifactId())) {
                    break;
                }
            }
        }
    }