Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn about use of ~/.m2/repository #2929

Merged
merged 2 commits into from Mar 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions doc/docs/other-repositories.md
Expand Up @@ -29,6 +29,10 @@ $ cs fetch --no-default \
org.scalameta:scalafmt-cli_2.12:2.0.0-RC4+29-f2154330-SNAPSHOT
```

⚠️ _Avoid using `~/.m2/repository` as a repository if you can. This is maven's internal file-system cache and it's not meant to be read by external tools.
By using it you are risking running into some issues like e.g. directories with POMs inside but without corresponding jar files.
You can read more about it [here](https://github.com/ghostbuster91/demos/tree/coursier-not-found) and [here](https://github.com/coursier/coursier/issues/1832#issuecomment-1357764540)._

## Ivy Repositories

It is possible to use a custom Ivy repository and pattern by concatenating them:
Expand Down