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

:plugin-repositories ignored when :local-repo is set #2821

Open
vmatare opened this issue Aug 23, 2024 · 0 comments
Open

:plugin-repositories ignored when :local-repo is set #2821

vmatare opened this issue Aug 23, 2024 · 0 comments

Comments

@vmatare
Copy link

vmatare commented Aug 23, 2024

Describe the bug
I have a plugin I want to load from a local repository because I'm currently working on it, and uploading snapshots to clojars is a bad idea. So I have this in my ~/.lein/profiles.clj:

{
  :user {
    :plugins      [[lein-pprint "1.3.2"]]
    :local-repo "$MAVEN_REPO_PATH"
    :plugin-repositories ^:replace {"local" {:url "$MIRROR_REPO"
                                                  :snapshots true}}
  }
  :auth { $UPSTREAM_AUTH }
}

However :plugin-repositories is only honored when I remove the :local-repo entry. Is this intentional or is it a bug?

@vmatare vmatare changed the title :plugin-repositories ignored when run in CI :plugin-repositories ignored when :local-repo is set Aug 23, 2024
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

No branches or pull requests

1 participant