This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-27
Channels
- # aleph (3)
- # beginners (89)
- # boot (198)
- # cbus (4)
- # cider (11)
- # clara (2)
- # cljs-dev (27)
- # cljsrn (4)
- # clojure (141)
- # clojure-austin (4)
- # clojure-italy (11)
- # clojure-nl (1)
- # clojure-poland (2)
- # clojure-russia (35)
- # clojure-spec (33)
- # clojure-uk (55)
- # clojurescript (111)
- # core-logic (15)
- # cursive (2)
- # datascript (47)
- # datomic (132)
- # emacs (4)
- # jobs (1)
- # lein-figwheel (13)
- # leiningen (15)
- # lumo (20)
- # off-topic (110)
- # om (8)
- # onyx (20)
- # parinfer (2)
- # protorepl (1)
- # re-frame (36)
- # reagent (5)
- # remote-jobs (1)
- # ring (2)
- # ring-swagger (5)
- # specter (6)
- # uncomplicate (3)
- # unrepl (77)
@lumir can you add lein pprint plugin and run lein pprint
? There should be a default :prep-tasks ["javac" "compile"]
in there that compiles your java sources for you. Also, which command are you running that doesn't build your java classes?
i tried pretty much any task including lein compile
and lein javac
, but nothing works without that profile
src is here btw. https://github.com/swarmpit/swarmpit/tree/no-curl
i finally figured it out… there we’re 2 problems: dev
profile had additional source path containing ns without package and prod
profile was missing javac
prep-task. thanks @rarous and @danielcompton for help 😉
I have written a library, part of which, has code that utilizes [com.microsoft.azure/adal4j "1.2.0"]
adal4j
declares dependencies with version ranges, one of which has its own dependency with a version range as well.
Is there a way to specify the dependencies within the project.clj for my library, such that downstream consumers of my library don’t have to manage the dependency ranges themselves?
[[com.microsoft.azure/adal4j "1.2.0" :exclusions [com.nimbusds/lang-tag
com.nimbusds/nimbus-jose-jwt
net.minidev/json-smart]]
;; adal4j dependencies with version ranges use
;; explicit versions ¯\_(ツ)_/¯
[com.nimbusds/lang-tag "1.4.3"]
[com.nimbusds/nimbus-jose-jwt "4.40" :exclusions [net.minidev/json-smart]]
[net.minidev/json-smart "2.3"]]
I thought that the explicit addition of specific dependencies, as I show above, would include them in the library’s jar.
If I provide these last three explicit dependencies in the consumer’s project.clj, instead of the project.clj for my library (as I show here), the dependencies are found.
But they are not found if the downstream consumer of the library simply includes the library as a dependency.
@waffletower what POM is generated from lein pom
?