Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/actions/setup-java/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,13 @@ runs:
java-version: ${{ inputs.java-version }}
cache: maven
cache-dependency-path: "java/**/pom.xml"

# The immutable Maven cache also contains Central's mutable namespace index.
# Resolver can reuse that local index for the rest of the day, even after a
# new namespace is published, producing warnings that fail our strict policy.
# Remove only the auto-discovered Central index before any Maven build starts;
# its next process downloads a fresh index while retaining cached artifacts,
# user-defined filters, and our strict Maven warning policy.
- name: Refresh Maven Central repository prefixes
shell: bash
run: rm -f "$HOME/.m2/repository/.meta/prefixes-central.txt"
Loading