Skip to content

Commit

Permalink
Merge pull request #2929 from ghostbuster91/warn-about-m2
Browse files Browse the repository at this point in the history
Warn about use of  `~/.m2/repository`
  • Loading branch information
tgodzik committed Mar 25, 2024
2 parents fe5fed8 + a0a61a9 commit 98e551c
Showing 1 changed file with 4 additions and 0 deletions.
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

0 comments on commit 98e551c

Please sign in to comment.