This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-18
Channels
- # announcements (26)
- # beginners (107)
- # calva (26)
- # cider (55)
- # clj-kondo (7)
- # clojure (115)
- # clojure-europe (6)
- # clojure-houston (3)
- # clojure-italy (4)
- # clojure-nl (16)
- # clojure-norway (1)
- # clojure-uk (42)
- # clojuredesign-podcast (3)
- # clojurescript (47)
- # clojutre (4)
- # cursive (7)
- # datomic (75)
- # fulcro (1)
- # graalvm (3)
- # graphql (16)
- # jobs (1)
- # jobs-discuss (13)
- # keechma (1)
- # leiningen (19)
- # luminus (5)
- # off-topic (33)
- # pathom (16)
- # re-frame (76)
- # reitit (4)
- # ring (5)
- # shadow-cljs (86)
- # spacemacs (52)
- # tools-deps (43)
- # vim (7)
- # yada (1)
hi all, How to configure Lein to use specifc maven profile?
Anyone around familiar with lein-monolith
?
Having issues with running tests.
lein monolith each do test
runs the tests for every subproject correctly
lein monolith each :in my-service test
doesn't work for 3/59 of our subprojects
error:
Could not resolve my-service to any monolith subproject!
The project actually shows up in lein monolith info
but when running lein monolith each :in my-service test
I get the "Could not resolve" err.
any thoughts on what could cause this @U8XJ15DTK? Assumptions about what it should find when running?
:thinking_face: might be good to make an issue for this on https://github.com/amperity/lein-monolith with some more of the context - let me peek at the code real quick
the lookup logic is basically:
- does the selector explicitly match a subproject group/name?
- does the ‘condensed’ version of the name explicitly match a subproject group/name? (e.g. a bare (defproject foo ...
is actually foo/foo
but can be represented in the short form)
- if the target has no group, does it match exactly one subproject name?
- if not, unresolved
@U774Z4VJA the short version is that the “group-id” is a shared namespace for many projects, while the “artifact-id” is the name of a specific project (or rather, the JAR and other artifacts produced for a project) - I don’t know if periods are legal name characters for artifact ids, which may have been part of the problem.