Fork me on GitHub
#boot
<
2017-05-09
>
flyboarder02:05:52

@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

flyboarder02:05:46

@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

pseud07:05:07

@flyboarder cool - I'll definely look into that πŸ™‚

angusiguess13:05:43

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?

angusiguess14:05:48

Nevermind, I didn't know how jars work.

angusiguess14:05:51

Now I do πŸ™‚

bocaj15:05:10

@flyboarder thanks. That's where I was headed. The with-pom task , see wiki, may work as well

kenny20:05:03

@richiardiandrea Did you ever put the declarative boot tasks into a public lib?

richiardiandrea20:05:27

@kenny no I think it did not get enough push πŸ˜€ maybe not really something valuable for boot users?

kenny20:05:02

Hmm, it seemed useful. I was thinking of messing around with it later today. It seems like it'd make things cleaner.

richiardiandrea20:05:43

Yeah well it did for me...The PR is still in bootlaces. Maybe we just need to nudge @alandipert and @micha

kenny20:05:33

@richiardiandrea Ah so you are still using it?

richiardiandrea21:05:08

@kenny sure I am πŸ˜„

michal21:05:09

hey guys, is there any way to exclude certain files from going into jar with jar task ?

kenny21:05:21

@richiardiandrea Cool. I'll +1 the PR.

kenny21:05:29

@michal Look at sift.

bocaj23:05:47

@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>
...

bocaj23:05:47

I was planning to use boot to run unit tests against a java project.