You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2024/12/21 11:45:30 UTC

(sling-aggregator) branch master updated: fallback to repo name if project name in pom is not defined

This is an automated email from the ASF dual-hosted git repository.

sseifert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-aggregator.git


The following commit(s) were added to refs/heads/master by this push:
     new 83582e7  fallback to repo name if project name in pom is not defined
83582e7 is described below

commit 83582e7ad016feb5f246253ddde72e83cb36dab6
Author: Stefan Seifert <st...@users.noreply.github.com>
AuthorDate: Sat Dec 21 12:45:23 2024 +0100

    fallback to repo name if project name in pom is not defined
---
 docs/groups/scripting.md    | 2 +-
 docs/modules-parent-info.md | 2 +-
 docs/modules.md             | 4 ++--
 generate-badges.groovy      | 3 +++
 4 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/docs/groups/scripting.md b/docs/groups/scripting.md
index 805f3be..ebfc8d9 100644
--- a/docs/groups/scripting.md
+++ b/docs/groups/scripting.md
@@ -4,7 +4,7 @@
 | Module | Description | Module&nbsp;Status | Pull&nbsp;Requests |
 |---    |---    |---    |---    |
 | [Apache Sling Scripting API](https://github.com/apache/sling-org-apache-sling-scripting-api) <br/> <small>([org.apache.sling.scripting.api](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.scripting.api))</small> | This bundle provides the internal API to implement scripting. | &#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-scripting-api/job/master/badge/icon)](https://ci-builds.apache.org/job/Slin [...]
-| [](https://github.com/apache/sling-org-apache-sling-scripting-bundle-tracker-it) <br/> <small>([org.apache.sling.scripting.bundle.tracker.it.reactor](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.scripting.bundle.tracker.it.reactor))</small> |  | &#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-scripting-bundle-tracker-it/job/master/badge/icon)](https://ci-builds.apache.org/job/Sling/job/modules/j [...]
+| [org-apache-sling-scripting-bundle-tracker-it](https://github.com/apache/sling-org-apache-sling-scripting-bundle-tracker-it) <br/> <small>([org.apache.sling.scripting.bundle.tracker.it.reactor](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.scripting.bundle.tracker.it.reactor))</small> |  | &#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-scripting-bundle-tracker-it/job/master/badge/icon)](https:// [...]
 | [Apache Sling Scripting Core](https://github.com/apache/sling-org-apache-sling-scripting-core) <br/> <small>([org.apache.sling.scripting.core](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.scripting.core))</small> |          Sling Scripting core functionality      | &#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-scripting-core/job/master/badge/icon)](https://ci-builds.apache.org/job/Sling/job/mo [...]
 | [Apache Sling Scripting EL API Wrapper](https://github.com/apache/sling-org-apache-sling-scripting-el-api) <br/> <small>([org.apache.sling.scripting.el-api](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.scripting.el-api))</small> | This bundle wraps the Apache Tomcat 6.0.53 EL API used by Apache Sling Scripting JSP. | &#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-scripting-el-api/job/master/bad [...]
 | [Apache Sling Scripting ESX](https://github.com/apache/sling-org-apache-sling-scripting-esx) <br/> <small>([org.apache.sling.scripting.esx](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.scripting.esx))</small> | Support NodeJS like scripting and module resolution | &#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-scripting-esx/job/master/badge/icon)](https://ci-builds.apache.org/job/Sling/job/modu [...]
diff --git a/docs/modules-parent-info.md b/docs/modules-parent-info.md
index 2b99655..17d5f6c 100644
--- a/docs/modules-parent-info.md
+++ b/docs/modules-parent-info.md
@@ -234,7 +234,7 @@
 | [Apache Sling Resource Resolver](https://github.com/apache/sling-org-apache-sling-resourceresolver)|1.12.3-SNAPSHOT | 52 |  |  |  
 | [Apache Sling Rewriter](https://github.com/apache/sling-org-apache-sling-rewriter)|1.4.5-SNAPSHOT | 47 |  |  |  
 | [Apache Sling Scripting API](https://github.com/apache/sling-org-apache-sling-scripting-api)|2.2.3-SNAPSHOT | 62 | 8 | [17, 21] |  
-| [](https://github.com/apache/sling-org-apache-sling-scripting-bundle-tracker-it)|0.1.1-SNAPSHOT | 34 |  |  |  
+| [org-apache-sling-scripting-bundle-tracker-it](https://github.com/apache/sling-org-apache-sling-scripting-bundle-tracker-it)|0.1.1-SNAPSHOT | 34 |  |  |  
 | [Apache Sling Scripting Core](https://github.com/apache/sling-org-apache-sling-scripting-core)|2.4.11-SNAPSHOT | 48 |  |  |  
 | [Apache Sling Scripting EL API Wrapper](https://github.com/apache/sling-org-apache-sling-scripting-el-api)|1.0.5-SNAPSHOT | 35 |  |  |  
 | [Apache Sling Scripting ESX](https://github.com/apache/sling-org-apache-sling-scripting-esx)|0.1.0-SNAPSHOT | 30 | 8 |  |  
diff --git a/docs/modules.md b/docs/modules.md
index bcadae2..c77d796 100644
--- a/docs/modules.md
+++ b/docs/modules.md
@@ -234,7 +234,7 @@
 | [Apache Sling Resource Resolver](https://github.com/apache/sling-org-apache-sling-resourceresolver) <br/> <small>([org.apache.sling.resourceresolver](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.resourceresolver))</small> |          This bundle provides the Resource Resolver and the Resource Resolver Factory.      | &#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-resourceresolver/job/master/badg [...]
 | [Apache Sling Rewriter](https://github.com/apache/sling-org-apache-sling-rewriter) <br/> <small>([org.apache.sling.rewriter](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.rewriter))</small> |          The Apache Sling Rewriter allows configurable post processing of any output         from Apache Sling. The output can be processed by a configurable processor         or a configurable pipeline.      | &#32;[![Build Status](https://ci-builds.apache.o [...]
 | [Apache Sling Scripting API](https://github.com/apache/sling-org-apache-sling-scripting-api) <br/> <small>([org.apache.sling.scripting.api](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.scripting.api))</small> | This bundle provides the internal API to implement scripting. | &#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-scripting-api/job/master/badge/icon)](https://ci-builds.apache.org/job/Slin [...]
-| [](https://github.com/apache/sling-org-apache-sling-scripting-bundle-tracker-it) <br/> <small>([org.apache.sling.scripting.bundle.tracker.it.reactor](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.scripting.bundle.tracker.it.reactor))</small> |  | &#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-scripting-bundle-tracker-it/job/master/badge/icon)](https://ci-builds.apache.org/job/Sling/job/modules/j [...]
+| [org-apache-sling-scripting-bundle-tracker-it](https://github.com/apache/sling-org-apache-sling-scripting-bundle-tracker-it) <br/> <small>([org.apache.sling.scripting.bundle.tracker.it.reactor](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.scripting.bundle.tracker.it.reactor))</small> |  | &#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-scripting-bundle-tracker-it/job/master/badge/icon)](https:// [...]
 | [Apache Sling Scripting Core](https://github.com/apache/sling-org-apache-sling-scripting-core) <br/> <small>([org.apache.sling.scripting.core](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.scripting.core))</small> |          Sling Scripting core functionality      | &#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-scripting-core/job/master/badge/icon)](https://ci-builds.apache.org/job/Sling/job/mo [...]
 | [Apache Sling Scripting EL API Wrapper](https://github.com/apache/sling-org-apache-sling-scripting-el-api) <br/> <small>([org.apache.sling.scripting.el-api](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.scripting.el-api))</small> | This bundle wraps the Apache Tomcat 6.0.53 EL API used by Apache Sling Scripting JSP. | &#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-scripting-el-api/job/master/bad [...]
 | [Apache Sling Scripting ESX](https://github.com/apache/sling-org-apache-sling-scripting-esx) <br/> <small>([org.apache.sling.scripting.esx](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.scripting.esx))</small> | Support NodeJS like scripting and module resolution | &#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-scripting-esx/job/master/badge/icon)](https://ci-builds.apache.org/job/Sling/job/modu [...]
@@ -268,7 +268,7 @@
 | [Apache Sling Servlets Resolver](https://github.com/apache/sling-org-apache-sling-servlets-resolver) <br/> <small>([org.apache.sling.servlets.resolver](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.servlets.resolver))</small> |          Bundle implementing the Sling API ServletResolver.      | &#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-servlets-resolver/job/master/badge/icon)](https://ci-bui [...]
 | [Apache Sling Settings](https://github.com/apache/sling-org-apache-sling-settings) <br/> <small>([org.apache.sling.settings](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.settings))</small> |          Settings support including run modes      | &#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-settings/job/master/badge/icon)](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-s [...]
 | [Apache Sling Sitemap](https://github.com/apache/sling-org-apache-sling-sitemap) <br/> <small>([org.apache.sling.sitemap](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.sitemap))</small> | An Apache Sling extension to generate xml sitemaps | &#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-sitemap/job/master/badge/icon)](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling- [...]
-| [Apache Sling Starter](https://github.com/apache/sling-org-apache-sling-starter) <br/> <small>([org.apache.sling.starter](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.starter))</small> | The Sling Starter demo application. | &#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-starter/job/master/badge/icon)](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-starter/job/mas [...]
+| [Apache Sling Starter](https://github.com/apache/sling-org-apache-sling-starter) <br/> <small>([org.apache.sling.starter](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.starter))</small> | The Sling Starter demo application. | &#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-starter/job/master/badge/icon)](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-starter/job/mas [...]
 | [Apache Sling Starter Content](https://github.com/apache/sling-org-apache-sling-starter-content) <br/> <small>([org.apache.sling.starter.content](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.starter.content))</small> | This bundle provides content that is loaded in the JCR repository     for the Sling Starter. | &#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-starter-content/job/master/badge/ico [...]
 | [Apache Sling Superimposing Resource Provider](https://github.com/apache/sling-org-apache-sling-superimposing) <br/> <small>([org.apache.sling.superimposing](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.superimposing))</small> | Allows to mirror resource trees and superimposing resources.         All changes from the master tree are reflected to the mirrored tree.         It is possible to add or overlay resources in the mirrored tree. | &#32;[![ [...]
 | [Apache Sling Log Tail Implementation](https://github.com/apache/sling-org-apache-sling-tail) <br/> <small>([org.apache.sling.tail](https://central.sonatype.com/search?namespace=org.apache.sling&name=org.apache.sling.tail))</small> |          This bundle enables a web tail view of the system log files.      | &#32;[![Build Status](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-tail/job/master/badge/icon)](https://ci-builds.apache.org/job/Sling/job/modules [...]
diff --git a/generate-badges.groovy b/generate-badges.groovy
index 6ba74d7..265368f 100644
--- a/generate-badges.groovy
+++ b/generate-badges.groovy
@@ -113,6 +113,9 @@ Map parseMavenPom(File projectFolder, File aggregatorDir) {
     Map project = [:]
     project['artifactId'] = pom.artifactId.text()
     project['name'] = pom.name.text()
+    if (!project['name']) {
+        project['name'] = repoName
+    }
     project['description'] = pom.description.text().replace('\n', ' ')
     project['group'] = getProjectGroup(repoName, aggregatorDir)
     project['folder'] = repoName