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 b8d7bbce4931cd272e90d9860b73b3da6fd7ec25 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..307a2a0 --- /dev/null +++ b/gh.md @@ -0,0 +1,165 @@ +- site [](https://github.com/apache/maven-site/tree/master) +- sources [](https://github.com/apache/maven-sources/tree/master) + +# core +- build-cache [](https://github.com/apache/maven-build-cache-extension/tree/master) +- maven [](https://github.com/apache/maven/tree/master) +- mvnd [](https://github.com/apache/maven-mvnd/tree/master) +- resolver [](https://github.com/apache/maven-resolver/tree/master) +- resolver-ant-tasks [](https://github.com/apache/maven-resolver-ant-tasks/tree/master) +- wrapper [](https://github.com/apache/maven-wrapper/tree/master) + +# core/3.x +- maven-3 maven-3.9.x [](https://github.com/apache/maven/tree/maven-3.9.x) +- mvnd-1 mvnd-1.x [](https://github.com/apache/maven-mvnd/tree/mvnd-1.x) +- resolver-1 maven-resolver-1.9.x [](https://github.com/apache/maven-resolver/tree/maven-resolver-1.9.x) +- its-3 maven-3.9.x [](https://github.com/apache/maven-integration-testing/tree/maven-3.9.x) + +# plugins/core +- maven-clean-plugin maven-clean-plugin-3.x [](https://github.com/apache/maven-clean-plugin/tree/maven-clean-plugin-3.x) +- maven-compiler-plugin maven-compiler-plugin-3.x [](https://github.com/apache/maven-compiler-plugin/tree/maven-compiler-plugin-3.x) +- maven-deploy-plugin maven-deploy-plugin-3.x [](https://github.com/apache/maven-deploy-plugin/tree/maven-deploy-plugin-3.x) +- maven-install-plugin maven-install-plugin-3.x [](https://github.com/apache/maven-install-plugin/tree/maven-install-plugin-3.x) +- maven-resources-plugin maven-resources-plugin-3.x [](https://github.com/apache/maven-resources-plugin/tree/maven-resources-plugin-3.x) +- maven-site-plugin maven-site-plugin-3.x [](https://github.com/apache/maven-site-plugin/tree/maven-site-plugin-3.x) +- surefire [](https://github.com/apache/maven-surefire/tree/master) +- maven-verifier-plugin [](https://github.com/apache/maven-verifier-plugin/tree/master) + +# plugins/core-4 +- maven-clean-plugin [](https://github.com/apache/maven-clean-plugin/tree/master) +- maven-compiler-plugin [](https://github.com/apache/maven-compiler-plugin/tree/master) +- maven-deploy-plugin [](https://github.com/apache/maven-deploy-plugin/tree/master) +- maven-install-plugin [](https://github.com/apache/maven-install-plugin/tree/master) +- maven-resources-plugin [](https://github.com/apache/maven-resources-plugin/tree/master) +- maven-site-plugin [](https://github.com/apache/maven-site-plugin/tree/master) + +# plugins/packaging +- maven-ear-plugin [](https://github.com/apache/maven-ear-plugin/tree/master) +- maven-ejb-plugin [](https://github.com/apache/maven-ejb-plugin/tree/master) +- maven-jar-plugin maven-jar-plugin-3.x [](https://github.com/apache/maven-jar-plugin/tree/maven-jar-plugin-3.x) +- maven-rar-plugin [](https://github.com/apache/maven-rar-plugin/tree/master) +- maven-war-plugin [](https://github.com/apache/maven-war-plugin/tree/master) +- maven-acr-plugin [](https://github.com/apache/maven-acr-plugin/tree/master) +- maven-shade-plugin [](https://github.com/apache/maven-shade-plugin/tree/master) +- maven-source-plugin maven-source-plugin-3.x [](https://github.com/apache/maven-source-plugin/tree/maven-source-plugin-3.x) +- maven-jlink-plugin [](https://github.com/apache/maven-jlink-plugin/tree/master) +- maven-jmod-plugin [](https://github.com/apache/maven-jmod-plugin/tree/master) + +# plugins/packaging-4 +- maven-jar-plugin [](https://github.com/apache/maven-jar-plugin/tree/master) +- maven-source-plugin [](https://github.com/apache/maven-source-plugin/tree/master) + +# plugins/reporting +- maven-changelog-plugin [](https://github.com/apache/maven-changelog-plugin/tree/master) +- maven-changes-plugin [](https://github.com/apache/maven-changes-plugin/tree/master) +- maven-checkstyle-plugin [](https://github.com/apache/maven-checkstyle-plugin/tree/master) +- maven-doap-plugin [](https://github.com/apache/maven-doap-plugin/tree/master) +- maven-javadoc-plugin [](https://github.com/apache/maven-javadoc-plugin/tree/master) +- maven-jdeps-plugin [](https://github.com/apache/maven-jdeps-plugin/tree/master) +- jxr [](https://github.com/apache/maven-jxr/tree/master) +- maven-pmd-plugin [](https://github.com/apache/maven-pmd-plugin/tree/master) +- maven-project-info-reports-plugin [](https://github.com/apache/maven-project-info-reports-plugin/tree/master) + +# plugins/tools +- maven-antrun-plugin [](https://github.com/apache/maven-antrun-plugin/tree/master) +- archetype [](https://github.com/apache/maven-archetype/tree/master) +- maven-artifact-plugin [](https://github.com/apache/maven-artifact-plugin/tree/master) +- maven-assembly-plugin [](https://github.com/apache/maven-assembly-plugin/tree/master) +- maven-dependency-plugin [](https://github.com/apache/maven-dependency-plugin/tree/master) +- enforcer [](https://github.com/apache/maven-enforcer/tree/master) +- maven-gpg-plugin [](https://github.com/apache/maven-gpg-plugin/tree/master) +- maven-help-plugin [](https://github.com/apache/maven-help-plugin/tree/master) +- maven-invoker-plugin [](https://github.com/apache/maven-invoker-plugin/tree/master) +- maven-jarsigner-plugin [](https://github.com/apache/maven-jarsigner-plugin/tree/master) +- maven-jdeprscan-plugin [](https://github.com/apache/maven-jdeprscan-plugin/tree/master) +- plugin-tools [](https://github.com/apache/maven-plugin-tools/tree/master) +- release [](https://github.com/apache/maven-release/tree/master) +- maven-remote-resources-plugin [](https://github.com/apache/maven-remote-resources-plugin/tree/master) +- scm [](https://github.com/apache/maven-scm/tree/master) +- maven-scm-publish-plugin [](https://github.com/apache/maven-scm-publish-plugin/tree/master) +- maven-scripting-plugin [](https://github.com/apache/maven-scripting-plugin/tree/master) +- maven-stage-plugin [](https://github.com/apache/maven-stage-plugin/tree/master) +- maven-toolchains-plugin [](https://github.com/apache/maven-toolchains-plugin/tree/master) + +# shared +- archiver maven-archiver-3.x [](https://github.com/apache/maven-archiver/tree/maven-archiver-3.x) +- common-artifact-filters [](https://github.com/apache/maven-common-artifact-filters/tree/master) +- dependency-analyzer [](https://github.com/apache/maven-dependency-analyzer/tree/master) +- dependency-tree [](https://github.com/apache/maven-dependency-tree/tree/master) +- file-management [](https://github.com/apache/maven-file-management/tree/master) +- filtering maven-filtering-3.x [](https://github.com/apache/maven-filtering/tree/maven-filtering-3.x) +- invoker [](https://github.com/apache/maven-invoker/tree/master) +- jarsigner [](https://github.com/apache/maven-jarsigner/tree/master) +- mapping [](https://github.com/apache/maven-mapping/tree/master) +- reporting-api [](https://github.com/apache/maven-reporting-api/tree/master) +- reporting-exec [](https://github.com/apache/maven-reporting-exec/tree/master) +- reporting-impl [](https://github.com/apache/maven-reporting-impl/tree/master) +- script-interpreter [](https://github.com/apache/maven-script-interpreter/tree/master) +- shared-incremental [](https://github.com/apache/maven-shared-incremental/tree/master) +- shared-io [](https://github.com/apache/maven-shared-io/tree/master) +- shared-jar [](https://github.com/apache/maven-shared-jar/tree/master) +- shared-resources [](https://github.com/apache/maven-shared-resources/tree/master) +- shared-utils [](https://github.com/apache/maven-shared-utils/tree/master) +- verifier [](https://github.com/apache/maven-verifier/tree/master) + +# shared-4 +- archiver [](https://github.com/apache/maven-archiver/tree/master) +- filtering [](https://github.com/apache/maven-filtering/tree/master) + +# doxia +- doxia [](https://github.com/apache/maven-doxia/tree/master) +- site [](https://github.com/apache/maven-doxia-site/tree/master) +- sitetools [](https://github.com/apache/maven-doxia-sitetools/tree/master) +- tools/doxia-book-maven-plugin [](https://github.com/apache/maven-doxia-book-maven-plugin/tree/master) +- tools/converter [](https://github.com/apache/maven-doxia-converter/tree/master) + +# misc +- archetypes [](https://github.com/apache/maven-archetypes/tree/master) +- pom/maven [](https://github.com/apache/maven-parent/tree/master) +- pom/apache [](https://github.com/apache/maven-apache-parent/tree/master) +- pom/apache-resources [](https://github.com/apache/maven-apache-resources/tree/master) +- skins/default [](https://github.com/apache/maven-default-skin/tree/master) +- skins/fluido [](https://github.com/apache/maven-fluido-skin/tree/master) +- dist-tool [](https://github.com/apache/maven-dist-tool/tree/master) +- gh-actions-shared main [](https://github.com/apache/maven-gh-actions-shared/tree/main) +- jenkins/env [](https://github.com/apache/maven-jenkins-env/tree/master) +- jenkins/lib [](https://github.com/apache/maven-jenkins-lib/tree/master) +- indexer [](https://github.com/apache/maven-indexer/tree/master) +- plugin-testing [](https://github.com/apache/maven-plugin-testing/tree/master) +- wagon [](https://github.com/apache/maven-wagon/tree/master) + +# studies +- master [](https://github.com/apache/maven-studies/tree/master) +- consumer-pom consumer-pom [](https://github.com/apache/maven-studies/tree/consumer-pom) +- maven-basedir-filesystem maven-basedir-filesystem [](https://github.com/apache/maven-studies/tree/maven-basedir-filesystem) +- maven-ci-extension maven-ci-extension [](https://github.com/apache/maven-studies/tree/maven-ci-extension) +- maven-default-plugins maven-default-plugins [](https://github.com/apache/maven-studies/tree/maven-default-plugins) +- maven-eventsound-extension maven-eventsound-extension [](https://github.com/apache/maven-studies/tree/maven-eventsound-extension) +- maven-extension-demo maven-extension-demo [](https://github.com/apache/maven-studies/tree/maven-extension-demo) + +# svn +- repository-tools trunk [](https://github.com/apache/maven-repository-tools/tree/trunk) +- sandbox trunk [](https://github.com/apache/maven-sandbox/tree/trunk) +- doxia-ide trunk [](https://github.com/apache/maven-doxia-ide/tree/trunk) + +# plexus +- codehaus-plexus.github.io source [](https://github.com/codehaus-plexus/codehaus-plexus.github.io/tree/source) +- modello [](https://github.com/codehaus-plexus/modello/tree/master) +- classworlds [](https://github.com/codehaus-plexus/plexus-classworlds/tree/master) +- components/archiver [](https://github.com/codehaus-plexus/plexus-archiver/tree/master) +- components/compiler [](https://github.com/codehaus-plexus/plexus-compiler/tree/master) +- components/i18n [](https://github.com/codehaus-plexus/plexus-i18n/tree/master) +- components/interactivity [](https://github.com/codehaus-plexus/plexus-interactivity/tree/master) +- components/interpolation [](https://github.com/codehaus-plexus/plexus-interpolation/tree/master) +- components/io [](https://github.com/codehaus-plexus/plexus-io/tree/master) +- components/languages [](https://github.com/codehaus-plexus/plexus-languages/tree/master) +- components/resources [](https://github.com/codehaus-plexus/plexus-resources/tree/master) +- components/sec-dispatcher [](https://github.com/codehaus-plexus/plexus-sec-dispatcher/tree/master) +- components/velocity [](https://github.com/codehaus-plexus/plexus-velocity/tree/master) +- pom/plexus [](https://github.com/codehaus-plexus/plexus-pom/tree/master) +- testing [](https://github.com/codehaus-plexus/plexus-testing/tree/master) +- utils [](https://github.com/codehaus-plexus/plexus-utils/tree/master) +- xml [](https://github.com/codehaus-plexus/plexus-xml/tree/master) + +# sisu +- sisu-project [](https://github.com/eclipse-sisu/sisu-project/tree/master) diff --git a/update_gh.java b/update_gh.java new file mode 100755 index 0000000..2560219 --- /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("- []" + + "(https://github.com/" + p.org + "/" + p.repo + "/tree/" + p.branch + ") " + + p.name + ("master".equals(p.branch) ? "" : (" " + 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 = "eclipse-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
