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

hboutemy pushed a commit to branch gh
in repository https://gitbox.apache.org/repos/asf/maven-sources.git

commit a85cf5b8b8fb27dd67371cecc2f88e4831ad53d3
Author: HervĂ© Boutemy <[email protected]>
AuthorDate: Tue Nov 11 17:27:44 2025 +0100

    add script to generate gh.md
---
 gh.md          | 165 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 update_gh.java |  73 +++++++++++++++++++++++++
 2 files changed, 238 insertions(+)

diff --git a/gh.md b/gh.md
new file mode 100644
index 0000000..8c4271a
--- /dev/null
+++ b/gh.md
@@ -0,0 +1,165 @@
+- site apache/maven-site master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-site/master)
+- sources apache/maven-sources master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-sources/master)
+
+# core
+- build-cache apache/maven-build-cache-extension master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-build-cache-extension/master)
+- maven apache/maven master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven/master)
+- mvnd apache/maven-mvnd master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-mvnd/master)
+- resolver apache/maven-resolver master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-resolver/master)
+- resolver-ant-tasks apache/maven-resolver-ant-tasks master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-resolver-ant-tasks/master)
+- wrapper apache/maven-wrapper master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-wrapper/master)
+
+# core/3.x
+- maven-3 apache/maven maven-3.9.x![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven/maven-3.9.x)
+- mvnd-1 apache/maven-mvnd mvnd-1.x![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-mvnd/mvnd-1.x)
+- resolver-1 apache/maven-resolver maven-resolver-1.9.x![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-resolver/maven-resolver-1.9.x)
+- its-3 apache/maven-integration-testing maven-3.9.x![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-integration-testing/maven-3.9.x)
+
+# plugins/core
+- maven-clean-plugin apache/maven-clean-plugin maven-clean-plugin-3.x![GitHub 
branch 
status](https://img.shields.io/github/checks-status/apache/maven-clean-plugin/maven-clean-plugin-3.x)
+- maven-compiler-plugin apache/maven-compiler-plugin 
maven-compiler-plugin-3.x![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-compiler-plugin/maven-compiler-plugin-3.x)
+- maven-deploy-plugin apache/maven-deploy-plugin 
maven-deploy-plugin-3.x![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-deploy-plugin/maven-deploy-plugin-3.x)
+- maven-install-plugin apache/maven-install-plugin 
maven-install-plugin-3.x![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-install-plugin/maven-install-plugin-3.x)
+- maven-resources-plugin apache/maven-resources-plugin 
maven-resources-plugin-3.x![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-resources-plugin/maven-resources-plugin-3.x)
+- maven-site-plugin apache/maven-site-plugin maven-site-plugin-3.x![GitHub 
branch 
status](https://img.shields.io/github/checks-status/apache/maven-site-plugin/maven-site-plugin-3.x)
+- surefire apache/maven-surefire master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-surefire/master)
+- maven-verifier-plugin apache/maven-verifier-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-verifier-plugin/master)
+
+# plugins/core-4
+- maven-clean-plugin apache/maven-clean-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-clean-plugin/master)
+- maven-compiler-plugin apache/maven-compiler-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-compiler-plugin/master)
+- maven-deploy-plugin apache/maven-deploy-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-deploy-plugin/master)
+- maven-install-plugin apache/maven-install-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-install-plugin/master)
+- maven-resources-plugin apache/maven-resources-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-resources-plugin/master)
+- maven-site-plugin apache/maven-site-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-site-plugin/master)
+
+# plugins/packaging
+- maven-ear-plugin apache/maven-ear-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-ear-plugin/master)
+- maven-ejb-plugin apache/maven-ejb-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-ejb-plugin/master)
+- maven-jar-plugin apache/maven-jar-plugin maven-jar-plugin-3.x![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-jar-plugin/maven-jar-plugin-3.x)
+- maven-rar-plugin apache/maven-rar-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-rar-plugin/master)
+- maven-war-plugin apache/maven-war-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-war-plugin/master)
+- maven-acr-plugin apache/maven-acr-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-acr-plugin/master)
+- maven-shade-plugin apache/maven-shade-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-shade-plugin/master)
+- maven-source-plugin apache/maven-source-plugin 
maven-source-plugin-3.x![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-source-plugin/maven-source-plugin-3.x)
+- maven-jlink-plugin apache/maven-jlink-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-jlink-plugin/master)
+- maven-jmod-plugin apache/maven-jmod-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-jmod-plugin/master)
+
+# plugins/packaging-4
+- maven-jar-plugin apache/maven-jar-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-jar-plugin/master)
+- maven-source-plugin apache/maven-source-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-source-plugin/master)
+
+# plugins/reporting
+- maven-changelog-plugin apache/maven-changelog-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-changelog-plugin/master)
+- maven-changes-plugin apache/maven-changes-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-changes-plugin/master)
+- maven-checkstyle-plugin apache/maven-checkstyle-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-checkstyle-plugin/master)
+- maven-doap-plugin apache/maven-doap-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-doap-plugin/master)
+- maven-javadoc-plugin apache/maven-javadoc-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-javadoc-plugin/master)
+- maven-jdeps-plugin apache/maven-jdeps-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-jdeps-plugin/master)
+- jxr apache/maven-jxr master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-jxr/master)
+- maven-pmd-plugin apache/maven-pmd-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-pmd-plugin/master)
+- maven-project-info-reports-plugin apache/maven-project-info-reports-plugin 
master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-project-info-reports-plugin/master)
+
+# plugins/tools
+- maven-antrun-plugin apache/maven-antrun-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-antrun-plugin/master)
+- archetype apache/maven-archetype master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-archetype/master)
+- maven-artifact-plugin apache/maven-artifact-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-artifact-plugin/master)
+- maven-assembly-plugin apache/maven-assembly-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-assembly-plugin/master)
+- maven-dependency-plugin apache/maven-dependency-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-dependency-plugin/master)
+- enforcer apache/maven-enforcer master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-enforcer/master)
+- maven-gpg-plugin apache/maven-gpg-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-gpg-plugin/master)
+- maven-help-plugin apache/maven-help-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-help-plugin/master)
+- maven-invoker-plugin apache/maven-invoker-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-invoker-plugin/master)
+- maven-jarsigner-plugin apache/maven-jarsigner-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-jarsigner-plugin/master)
+- maven-jdeprscan-plugin apache/maven-jdeprscan-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-jdeprscan-plugin/master)
+- plugin-tools apache/maven-plugin-tools master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-plugin-tools/master)
+- release apache/maven-release master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-release/master)
+- maven-remote-resources-plugin apache/maven-remote-resources-plugin 
master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-remote-resources-plugin/master)
+- scm apache/maven-scm master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-scm/master)
+- maven-scm-publish-plugin apache/maven-scm-publish-plugin master![GitHub 
branch 
status](https://img.shields.io/github/checks-status/apache/maven-scm-publish-plugin/master)
+- maven-scripting-plugin apache/maven-scripting-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-scripting-plugin/master)
+- maven-stage-plugin apache/maven-stage-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-stage-plugin/master)
+- maven-toolchains-plugin apache/maven-toolchains-plugin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-toolchains-plugin/master)
+
+# shared
+- archiver apache/maven-archiver maven-archiver-3.x![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-archiver/maven-archiver-3.x)
+- common-artifact-filters apache/maven-common-artifact-filters master![GitHub 
branch 
status](https://img.shields.io/github/checks-status/apache/maven-common-artifact-filters/master)
+- dependency-analyzer apache/maven-dependency-analyzer master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-dependency-analyzer/master)
+- dependency-tree apache/maven-dependency-tree master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-dependency-tree/master)
+- file-management apache/maven-file-management master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-file-management/master)
+- filtering apache/maven-filtering maven-filtering-3.x![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-filtering/maven-filtering-3.x)
+- invoker apache/maven-invoker master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-invoker/master)
+- jarsigner apache/maven-jarsigner master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-jarsigner/master)
+- mapping apache/maven-mapping master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-mapping/master)
+- reporting-api apache/maven-reporting-api master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-reporting-api/master)
+- reporting-exec apache/maven-reporting-exec master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-reporting-exec/master)
+- reporting-impl apache/maven-reporting-impl master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-reporting-impl/master)
+- script-interpreter apache/maven-script-interpreter master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-script-interpreter/master)
+- shared-incremental apache/maven-shared-incremental master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-shared-incremental/master)
+- shared-io apache/maven-shared-io master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-shared-io/master)
+- shared-jar apache/maven-shared-jar master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-shared-jar/master)
+- shared-resources apache/maven-shared-resources master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-shared-resources/master)
+- shared-utils apache/maven-shared-utils master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-shared-utils/master)
+- verifier apache/maven-verifier master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-verifier/master)
+
+# shared-4
+- archiver apache/maven-archiver master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-archiver/master)
+- filtering apache/maven-filtering master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-filtering/master)
+
+# doxia
+- doxia apache/maven-doxia master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-doxia/master)
+- site apache/maven-doxia-site master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-doxia-site/master)
+- sitetools apache/maven-doxia-sitetools master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-doxia-sitetools/master)
+- tools/doxia-book-maven-plugin apache/maven-doxia-book-maven-plugin 
master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-doxia-book-maven-plugin/master)
+- tools/converter apache/maven-doxia-converter master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-doxia-converter/master)
+
+# misc
+- archetypes apache/maven-archetypes master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-archetypes/master)
+- pom/maven apache/maven-parent master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-parent/master)
+- pom/apache apache/maven-apache-parent master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-apache-parent/master)
+- pom/apache-resources apache/maven-apache-resources master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-apache-resources/master)
+- skins/default apache/maven-default-skin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-default-skin/master)
+- skins/fluido apache/maven-fluido-skin master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-fluido-skin/master)
+- dist-tool apache/maven-dist-tool master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-dist-tool/master)
+- gh-actions-shared apache/maven-gh-actions-shared main![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-gh-actions-shared/main)
+- jenkins/env apache/maven-jenkins-env master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-jenkins-env/master)
+- jenkins/lib apache/maven-jenkins-lib master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-jenkins-lib/master)
+- indexer apache/maven-indexer master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-indexer/master)
+- plugin-testing apache/maven-plugin-testing master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-plugin-testing/master)
+- wagon apache/maven-wagon master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-wagon/master)
+
+# studies
+- master apache/maven-studies master![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-studies/master)
+- consumer-pom apache/maven-studies consumer-pom![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-studies/consumer-pom)
+- maven-basedir-filesystem apache/maven-studies 
maven-basedir-filesystem![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-studies/maven-basedir-filesystem)
+- maven-ci-extension apache/maven-studies maven-ci-extension![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-studies/maven-ci-extension)
+- maven-default-plugins apache/maven-studies maven-default-plugins![GitHub 
branch 
status](https://img.shields.io/github/checks-status/apache/maven-studies/maven-default-plugins)
+- maven-eventsound-extension apache/maven-studies 
maven-eventsound-extension![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-studies/maven-eventsound-extension)
+- maven-extension-demo apache/maven-studies maven-extension-demo![GitHub 
branch 
status](https://img.shields.io/github/checks-status/apache/maven-studies/maven-extension-demo)
+
+# svn
+- repository-tools apache/maven-repository-tools trunk![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-repository-tools/trunk)
+- sandbox apache/maven-sandbox trunk![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-sandbox/trunk)
+- doxia-ide apache/maven-doxia-ide trunk![GitHub branch 
status](https://img.shields.io/github/checks-status/apache/maven-doxia-ide/trunk)
+
+# plexus
+- codehaus-plexus.github.io codehaus-plexus/codehaus-plexus.github.io 
source![GitHub branch 
status](https://img.shields.io/github/checks-status/codehaus-plexus/codehaus-plexus.github.io/source)
+- modello codehaus-plexus/modello master![GitHub branch 
status](https://img.shields.io/github/checks-status/codehaus-plexus/modello/master)
+- classworlds codehaus-plexus/plexus-classworlds master![GitHub branch 
status](https://img.shields.io/github/checks-status/codehaus-plexus/plexus-classworlds/master)
+- components/archiver codehaus-plexus/plexus-archiver master![GitHub branch 
status](https://img.shields.io/github/checks-status/codehaus-plexus/plexus-archiver/master)
+- components/compiler codehaus-plexus/plexus-compiler master![GitHub branch 
status](https://img.shields.io/github/checks-status/codehaus-plexus/plexus-compiler/master)
+- components/i18n codehaus-plexus/plexus-i18n master![GitHub branch 
status](https://img.shields.io/github/checks-status/codehaus-plexus/plexus-i18n/master)
+- components/interactivity codehaus-plexus/plexus-interactivity master![GitHub 
branch 
status](https://img.shields.io/github/checks-status/codehaus-plexus/plexus-interactivity/master)
+- components/interpolation codehaus-plexus/plexus-interpolation master![GitHub 
branch 
status](https://img.shields.io/github/checks-status/codehaus-plexus/plexus-interpolation/master)
+- components/io codehaus-plexus/plexus-io master![GitHub branch 
status](https://img.shields.io/github/checks-status/codehaus-plexus/plexus-io/master)
+- components/languages codehaus-plexus/plexus-languages master![GitHub branch 
status](https://img.shields.io/github/checks-status/codehaus-plexus/plexus-languages/master)
+- components/resources codehaus-plexus/plexus-resources master![GitHub branch 
status](https://img.shields.io/github/checks-status/codehaus-plexus/plexus-resources/master)
+- components/sec-dispatcher codehaus-plexus/plexus-sec-dispatcher 
master![GitHub branch 
status](https://img.shields.io/github/checks-status/codehaus-plexus/plexus-sec-dispatcher/master)
+- components/velocity codehaus-plexus/plexus-velocity master![GitHub branch 
status](https://img.shields.io/github/checks-status/codehaus-plexus/plexus-velocity/master)
+- pom/plexus codehaus-plexus/plexus-pom master![GitHub branch 
status](https://img.shields.io/github/checks-status/codehaus-plexus/plexus-pom/master)
+- testing codehaus-plexus/plexus-testing master![GitHub branch 
status](https://img.shields.io/github/checks-status/codehaus-plexus/plexus-testing/master)
+- utils codehaus-plexus/plexus-utils master![GitHub branch 
status](https://img.shields.io/github/checks-status/codehaus-plexus/plexus-utils/master)
+- xml codehaus-plexus/plexus-xml master![GitHub branch 
status](https://img.shields.io/github/checks-status/codehaus-plexus/plexus-xml/master)
+
+# sisu
+- sisu-project sisu/sisu-project master![GitHub branch 
status](https://img.shields.io/github/checks-status/sisu/sisu-project/master)
diff --git a/update_gh.java b/update_gh.java
new file mode 100755
index 0000000..6d0f6c4
--- /dev/null
+++ b/update_gh.java
@@ -0,0 +1,73 @@
+///usr/bin/env jbang "$0" "$@" ; exit $?
+
+import java.nio.file.Files;
+import java.nio.file.Path;
+import java.util.stream.Collectors;
+
+public class update_gh {
+    private static class Project {
+        final String org;
+        final String group;
+        final String name;
+        final String repo;
+        final String branch;
+        Project(String org, String group, String name, String repo, String 
branch) {
+            this.org = org;
+            this.group = group;
+            this.name = name;
+            this.repo = repo;
+            this.branch = branch;
+        }
+    }
+
+    public static void main(String... args) throws Exception {
+        String group = "";
+        for(Project p: Files.readAllLines(Path.of("default.xml")).stream()
+            .filter(s -> s.contains("project path='"))
+            .map(s -> toProject(s))
+            .collect(Collectors.toList())) {
+                if (!group.equals(p.group)) {
+                    System.out.println();
+                    System.out.println("# " + p.group);
+                    group = p.group;
+                }
+                System.out.println("- " + p.name + " [" + p.org + "/" + p.repo 
+ " " + p.branch + "]"
+                    + "(https://github.com/"; + p.org + "/" + p.repo + "/tree/" 
+ p.branch + ")"
+                    + " ![GitHub branch 
status](https://img.shields.io/github/checks-status/"; + p.org + "/" + p.repo + 
"/" + p.branch + ")"); 
+            }
+    }
+
+    private static Project toProject(String line) {
+        String path = extract(line, "path");
+        String name = extract(line, "name");
+        String revision = extract(line, "revision");
+
+        int pos = (path.startsWith("core") || path.startsWith("plugins")) ? 
path.lastIndexOf('/') : path.indexOf('/');
+        String group = "";
+        if (pos > 0) {
+            group = path.substring(0, pos);
+            path = path.substring(pos + 1);
+        }
+
+        name = name.substring(0, name.length() - 4);
+
+        String org = "apache";
+        if (group.startsWith("plexus")) {
+            org = "codehaus-plexus";
+        } else if (group.equals("sisu")) {
+            org = "sisu";
+        }
+
+        return new Project(org, group, path, name, (revision == null) ? 
"master" : revision);
+    }
+
+    private static String extract(String line, String key) {
+        int pos = line.indexOf(key);
+        if (pos < 0) {
+            return null;
+        }
+        char sep = line.charAt(pos + key.length() + 1);
+        line = line.substring(pos + key.length() + 2);
+        return line.substring(0, line.indexOf(sep));
+    }
+}
\ No newline at end of file

Reply via email to