Skip to content

planner: the basemap tool downloads its dependencies before it packages - #2725

Merged
timohueser merged 1 commit into
developfrom
claude/basemap-tool-offline
Oct 16, 2026
Merged

timohueser merged 1 commit into
developfrom
claude/basemap-tool-offline

Conversation

@timohueser

Copy link
Copy Markdown
Owner

The first DACH bake failed in fetch protomaps-basemaps@42ffaaa…: basemap tool preparation failed. Maven said: "A required class was missing while executing maven-assembly-plugin:3.8.0:single: org/apache/logging/log4j/spi/LoggerAdapter". The jars in the class path were complete; the stack trace shows the assembly plugin loading Maven's HTTP wagon, whose commons-logging finds log4j through the wrong class loader. A retry passed only because the failed run had filled ~/.m2.

tools/basemap_tool.py now runs mvn dependency:go-offline first, and then mvn -o package, so no download happens during package.

Checks:

  • Debian 13, Maven 3.9.9, OpenJDK 21, basemaps 42ffaaa…, each with an empty -Dmaven.repo.local: the old command failed with the same error, also with -Dmaven.resolver.transport=native. The new pair built protomaps-basemap-HEAD-with-deps.jar (88.6 MB).
  • Repository tools Python suite: passed; test_planner_basemap checks both calls.

Public docs changed: no.

Requirements: none

🤖 Generated with Claude Code

…ackages

On a machine whose Maven cache lacks a dependency, `mvn package` failed
in the assembly plugin: "A required class was missing:
org/apache/logging/log4j/spi/LoggerAdapter". The plugin cannot load the
HTTP transport of Debian's Maven, so any download during `package`
fails. The first DACH bake failed so; a second run passed, because the
first had filled the cache.

`dependency:go-offline` now resolves every plugin and dependency first,
and `package` runs offline. With an empty cache, the old command failed
and the new pair built the jar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 16, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a0977e01-a896-4069-9dce-de03ed886457
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@timohueser
timohueser merged commit 1a2daaf into develop Oct 16, 2026
26 checks passed
@timohueser
timohueser deleted the claude/basemap-tool-offline branch October 16, 2026 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant