Fork me on GitHub
#tools-deps
<
2018-12-07
>
dottedmag01:12:58

@timgilbert Newlines -> escaping comes back. Not good.

👍 4
donaldball17:12:23

What tools do folk like to use to build and publish jar artifacts to maven repos, particularly private s3 maven repos?

seancorfield17:12:33

At work we use https://github.com/seancorfield/depstar to build our deployment uberjars and I also use it now to build "thin" JARs to deploy on Clojars.

seancorfield17:12:04

For the actual "push", I use mvn deploy:deploy-file ...

seancorfield17:12:45

(the same, nasty invocation that @U09LZR36F has in his blog post, wrapped up in a shell script -- that also updates pom.xml with the SHA of the latest commit so that Clojars can link back to the commit that created the release)

donaldball17:12:57

Thanks for the pointers!

timgilbert20:12:42

FWIW, I'm working on a tool to post-process the results of clojure -Spom to add in the groupId/artifactId and pull the version from a git tag, since checking in partly-generated stuff into source control bugs me

timgilbert20:12:03

(with the goal of automating everything up to the jar creation and then using pack for the rest)

harrigan19:12:38

If I create a pom.xml with the following dependency:

<dependency>
    <groupId>org.lmdbjava</groupId>
    <artifactId>lmdbjava</artifactId>
    <version>0.6.1</version>
</dependency>
and run mvn dependency:tree I see lmdbjava with 10 transitive dependencies. If I create a deps.edn with the same dependency:
{:deps {org.lmdbjava/lmdbjava {:mvn/version "0.6.1"}}}
and run clj -Stree I see 9 transitive dependencies. com.github.jnr:jffi:jar:native:1.2.16:runtime is missing. Could this be an issue with tools.deps?

harrigan19:12:59

Ah that’s it exactly — thanks for the link.