You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce MAVEN_PROJECTS_DIR variable (default: maven) to support
Maven project checkouts in a subdirectory instead of the root.
Changes:
- common-functions.sh: Add MAVEN_PROJECTS_DIR, use ${root} prefix
for all paths (projects, logs, develocity), add MAVEN_REPO_LOCAL_OPT
- repo-start, repo-checkout-specific-branches: cd into maven dir
- run-maven, run-jqa: Use MAVEN_REPO_LOCAL_OPT from common-functions
- CLAUDE.md: Document new directory structure and variables
- .gitignore: Simplify for new structure
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CLAUDE.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
4
4
5
5
## Project Overview
6
6
7
-
Maven Support & Care Tools - an automation toolkit for managing, building, and analyzing the Apache Maven multi-repository ecosystem. Uses the `repo` tool to manage 100+ Apache Maven repositories (manifest hosted at [maven-sources](https://github.com/apache/maven-sources)). Repositories are checked out directly into this directory with `.repo` at the root.
7
+
Maven Support & Care Tools - an automation toolkit for managing, building, and analyzing the Apache Maven multi-repository ecosystem. Uses the `repo` tool to manage 100+ Apache Maven repositories (manifest hosted at [maven-sources](https://github.com/apache/maven-sources)). Repositories are checked out into the `./maven`directory (a symlink to external storage) with `.repo` at `maven/.repo`.
8
8
9
9
## Prerequisites
10
10
@@ -20,11 +20,11 @@ Maven Support & Care Tools - an automation toolkit for managing, building, and a
20
20
# Initialize and sync repositories from maven-sources manifest
21
21
./bin/repo-start
22
22
23
-
# Execute command across all repos
24
-
repo forall -c "${PWD}/bin/gh-subscribe"
23
+
# Execute command across all repos (from maven/ directory)
24
+
cd maven &&repo forall -c "${PWD}/../bin/gh-subscribe"
25
25
26
26
# Execute on subset (by group)
27
-
repo forall -r 'core' -c "${PWD}/bin/some-script"
27
+
cd maven &&repo forall -r 'core' -c "${PWD}/../bin/some-script"
0 commit comments