void writeProject()

in generate-aggregator-table.groovy [84:121]


void writeProject(Map project) {
    println 'Writing project...'
    String projectStr = "| [${project.name}](https://github.com/apache/sling-${project.folder}) <br/> <small>([${project.artifactId}](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.sling%22%20a%3A%22${project.artifactId}D%22))</small> | ${project.description} | ${project.badges} | &#32;[![Pull Requests](https://img.shields.io/github/issues-pr/apache/sling-${project.folder}.svg)](https://github.com/apache/sling-${project.folder}/pulls) |"

    if (project.group) {
        println "Adding to group file ${project.group}"
        File groupFile = new File(groupsDir, "${project.group}.md")
        if (!groupFile.exists()) {
            println "Creating group file for ${project.group}"
            groupFile.createNewFile()
            groupFile << "[Apache Sling](https://sling.apache.org) > [Aggregator](https://github.com/apache/sling-aggregator/) > [Modules](https://github.com/apache/sling-aggregator/blob/master/docs/modules.md) > ${project.group}\n# ${project.group} Modules\n\n| Module | Description | Module&nbsp;Status | Pull&nbsp;Requests |\n|---    |---    |---    |---    |"
        }
        groupFile << '\n' << projectStr
    }

    if (project.deprecated) {
        println 'Adding to deprecated status file'
        File statusFile = new File(statusDir, 'deprecated.md')
        if (!statusFile.exists()) {
            println 'Creating depreacated status file'
            statusFile.createNewFile()
            statusFile << '[Apache Sling](https://sling.apache.org) > [Aggregator](https://github.com/apache/sling-aggregator/) > [Modules](https://github.com/apache/sling-aggregator/blob/master/docs/modules.md) > Deprecated\n# Deprecated Modules\n\n| Module | Description | Module&nbsp;Status | Pull&nbsp;Requests |\n|---    |---    |---    |---    |'
        }
        statusFile << '\n' << projectStr
    }

    if (project.contrib) {
        println 'Adding to deprecated status file'
        File statusFile = new File(statusDir, 'contrib.md')
        if (!statusFile.exists()) {
            println 'Creating contrib status file'
            statusFile.createNewFile()
            statusFile << '[Apache Sling](https://sling.apache.org) > [Aggregator](https://github.com/apache/sling-aggregator/) > [Modules](https://github.com/apache/sling-aggregator/blob/master/docs/modules.md) > Contrib\n# Contrib Modules\n\n| Module | Description | Module&nbsp;Status | Pull&nbsp;Requests |\n|---    |---    |---    |---    |'
        }
        statusFile << '\n' << projectStr
    }
    modulesFile << '\n' << projectStr
}