Configure ~/.m2/settings.xml
Fetch a Dependency
Run Maven
CI/CD
Troubleshooting
| Issue | Solution |
|---|---|
401 Unauthorized | Verify ROOT_TOKEN is exported and settings.xml uses ${env.ROOT_TOKEN} |
Could not resolve artifact | Confirm mirrorOf is set to central |
| Checksum validation errors | Expected — Root-patched artifacts have different checksums than Maven Central |
| SNAPSHOT artifacts | Set <snapshots><enabled>false</enabled></snapshots> |