in generate-aggregator-table.groovy [88:127]
void writeProject(Map project) {
println 'Writing project...'
String projectStr = "| [${project.name}](https://github.com/apache/sling-${project.folder}) <br/> <small>([${project.artifactId}](https://central.sonatype.com/search?namespace=org.apache.sling&name=${project.artifactId}))</small> | ${project.description} | ${project.badges} |  [](https://github.com/apache/sling-${project.folder}/pulls) |"
String projectParentInfoStr = "| [${project.name}](https://github.com/apache/sling-${project.folder})|${project.projectVersion} | ${project.parentVersion} | ${project.javaVersion} | ${project.buildJdks} | ${project.contrib ? 'contrib' : ''} ${project.deprecated ? 'deprecated' : ''}"
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 Status | Pull 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 Status | Pull Requests |\n|--- |--- |--- |--- |'
}
statusFile << '\n' << projectStr
}
if (project.contrib) {
println 'Adding to contrib 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 Status | Pull Requests |\n|--- |--- |--- |--- |'
}
statusFile << '\n' << projectStr
}
modulesFile << '\n' << projectStr
modulesParentInfoFile << '\n' << projectParentInfoStr
}