cursive-ide / cursive

Cursive: The IDE for beautiful Clojure code
590 stars 7 forks source link

Dependencies in leiningen profile not being resolved #2147

Open RutledgePaulV opened 5 years ago

RutledgePaulV commented 5 years ago

Hi Colin,

I've recently started seeing an issue with dependency resolution and leiningen profiles:

Intellij build info:

IntelliJ IDEA 2019.1.1 Preview (Ultimate Edition)
Build #IU-191.6707.7, built on April 2, 2019
JRE: 11.0.2+9-b159.34 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.4

Cursive build info:

Built on: 2019-03-27 23:18
Built from: 1.8.1

Leiningen version:

2.9.1

When I list additional dependencies within a :local profile they aren't listed in Intellij's external libs or the leiningen dependency tree in cursive (though are listed when I invoke lein from the cli and builds / runs okay) and cursive fails to resolve any code referencing those libraries. I do have the profile enabled in the leiningen profile's panel. If I move those dependencies out of my profile and into the top level dependencies for the project.clj everything works fine.

I'll see if I can setup a minimal reproduction repo and link it back here but thought if the issue is obvious and not related to my specific setup perhaps a description would be enough. Thanks!

j-masci commented 4 years ago

I am getting this too. It's not super fun.