This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-09
Channels
- # aws (4)
- # bangalore-clj (1)
- # beginners (94)
- # boot (19)
- # cider (42)
- # cljs-dev (21)
- # cljsrn (4)
- # clojure (142)
- # clojure-austin (10)
- # clojure-greece (25)
- # clojure-italy (14)
- # clojure-russia (14)
- # clojure-serbia (13)
- # clojure-sg (6)
- # clojure-spec (74)
- # clojure-uk (69)
- # clojurescript (236)
- # consulting (1)
- # cursive (26)
- # data-science (6)
- # datascript (2)
- # datomic (31)
- # editors (5)
- # emacs (24)
- # funcool (5)
- # hoplon (8)
- # jobs-rus (1)
- # luminus (12)
- # lumo (17)
- # off-topic (90)
- # om (45)
- # onyx (5)
- # pedestal (2)
- # powderkeg (12)
- # protorepl (2)
- # re-frame (30)
- # remote-jobs (2)
- # ring-swagger (17)
- # rum (46)
- # slack-help (1)
- # test-check (2)
- # yada (62)
@bocaj yeah you could do that and have it in the root, but you would need a specific task to pull it into the fileset
@pseud https://github.com/boot-clj/boot/blob/master/boot/core/src/boot/core.clj#L933
@bocaj you would want a task that looks for (io/file "./pom.xml")
then copies that to the fileset, usually a temp dir (tmp-dir!)
then add that to the fileset as a resource (add-resource)
, and skip the pom
task when building
@flyboarder cool - I'll definely look into that ๐
So I'm trying to deploy a jar to my nexus repo
(comp (aot :namespace #{'gaap.core})
(pom)
(uber)
(jar)
(sift :include #{#"gaap.jar"})
(target :dir dir))
When I push I get an exception saying "Multiple jar entries match: .*/pom.xml"
Is there something I'm missing?Nevermind, I didn't know how jars work.
Now I do ๐
@flyboarder thanks. That's where I was headed. The with-pom task , see wiki, may work as well
@richiardiandrea Did you ever put the declarative boot tasks into a public lib?
@kenny no I think it did not get enough push ๐ maybe not really something valuable for boot users?
Hmm, it seemed useful. I was thinking of messing around with it later today. It seems like it'd make things cleaner.
Yeah well it did for me...The PR is still in bootlaces
. Maybe we just need to nudge @alandipert and @micha
@richiardiandrea Ah so you are still using it?
@kenny sure I am ๐
hey guys, is there any way to exclude certain files from going into jar with jar
task ?
@richiardiandrea Cool. I'll +1 the PR.
@cpmcdaniel Oops, wrong channel. Hereโs an example in a pom that would need variables resolved before boot-with-pom can handle it l
<spring.version>4.0.1.RELEASE</spring.version>
...
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
...