Rebuilds Juneau's HEAD and installs it into the shared ~/.m2 repository, so downstream projects that resolve the floating 10.0.0-SNAPSHOT version pick up the new build.
python3 scripts/repin-consumers.py python3 scripts/repin-consumers.py --verify-consumers python3 scripts/repin-consumers.py --juneau-dir ~/git/apache/juneau-9.2.1 --verify-consumers
| Option | Argument | Default | Meaning |
|---|---|---|---|
--juneau-dir | path | ~/git/apache/juneau | Juneau repository root to build and install. |
--verify-consumers | none | off | After a successful install, run mvn -B -nsu clean test-compile in each consumer checkout and report pass or fail. Never runs git in them. |
--release-manager-dir | path | ~/git/apache/release-manager | Release Manager checkout, used only with --verify-consumers. |
--support-console-dir | path | SUPPORT_CONSOLE_DIR_DEFAULT in the script | Second consumer checkout, used only with --verify-consumers. |
.git (main).git status --porcelain and refuses, exit 1, if any line is returned. Modified, staged and untracked non-ignored files all count (check_dirty).HEAD, and warns if HEAD differs from the locally known origin/master (describe_head). No git fetch is run, so the comparison can be stale.JAVA_HOME to ~/jdk/default if that exists, otherwise keeps the environment's value (resolve_java_home).mvn -B -nsu clean install -DskipTests in the Juneau tree with live output (run_streaming). -nsu stops Maven from pulling a published snapshot that would shadow the local build.--verify-consumers, runs mvn -B -nsu clean test-compile in each consumer checkout (verify_consumer). A missing directory counts as a failure.pom.xml (read_pom_version), the commit, and the install location under ~/.m2/repository/org/apache/juneau/.Progress lines, Maven's own output, then a === Summary === block.
| Code | Meaning |
|---|---|
| 0 | The install succeeded and, with --verify-consumers, every consumer compiled. |
| 1 | The dirty-tree guard refused. Nothing was built or installed. |
| 2 | Usage error, or the Juneau tree or its pom.xml could not be found or read. |
| 3 | The Maven install failed. ~/.m2 may be partly updated. |
| 4 | The install succeeded but at least one consumer failed to compile. |
--allow-dirty flag, on purpose. Installing a dirty tree puts unreviewed work into a repository shared by every build on the machine. Commit, stash or discard the changes first.push.py, whose unreviewed-changes gate this guard mirrors