protected void renderBody()

in src/main/java/org/apache/maven/report/projectinfo/SummaryReport.java [84:136]


        protected void renderBody() {
            startSection(getTitle());

            // general information sub-section
            startSection(getI18nString("general.title"));
            startTable();
            tableHeader(new String[] {getI18nString("field"), getI18nString("value")});
            tableRow(new String[] {getI18nString("general.name"), project.getName()});
            tableRow(new String[] {getI18nString("general.description"), project.getDescription()});
            tableRowWithLink(new String[] {getI18nString("general.homepage"), project.getUrl()});
            endTable();
            endSection();

            // organization sub-section
            startSection(getI18nString("organization.title"));
            Organization organization = project.getOrganization();
            if (organization == null) {
                paragraph(getI18nString("noorganization"));
            } else {
                startTable();
                tableHeader(new String[] {getI18nString("field"), getI18nString("value")});
                tableRow(new String[] {getI18nString("organization.name"), organization.getName()});
                tableRowWithLink(new String[] {getI18nString("organization.url"), organization.getUrl()});
                endTable();
            }
            endSection();

            // build section
            startSection(getI18nString("build.title"));
            startTable();
            tableHeader(new String[] {getI18nString("field"), getI18nString("value")});
            tableRow(new String[] {getI18nString("build.groupid"), project.getGroupId()});
            tableRow(new String[] {getI18nString("build.artifactid"), project.getArtifactId()});
            tableRow(new String[] {getI18nString("build.version"), project.getVersion()});
            tableRow(new String[] {getI18nString("build.type"), project.getPackaging()});
            if (isJavaProject(project)) {
                tableRow(new String[] {getI18nString("build.javaVersion"), getMinimumJavaVersion()});
            }
            endTable();
            endSection();

            // download section
            DistributionManagement distributionManagement = project.getDistributionManagement();
            if (distributionManagement != null) {
                if (StringUtils.isNotEmpty(distributionManagement.getDownloadUrl())) {
                    startSection(getI18nString("download"));
                    link(distributionManagement.getDownloadUrl(), distributionManagement.getDownloadUrl());
                    endSection();
                }
            }

            endSection();
        }