tools-build

Ben Sless 2022-04-24T08:15:58.819649Z

I think builds as programs finally clicked for me, re my question about modules

Ben Sless 2022-04-24T08:36:48.982469Z

Something along these lines: https://gist.github.com/bsless/839bbf7b7ab73adfba6703e79c079cff Any ideas regarding the best way to handle the different POMs?

tstout 2022-04-24T14:34:43.951119Z

I need to publish clojure libraries to maven central (not clojars). Since tools.build does not currently support this, what is the recommended way to achieve this? I am considering generating a pom and using maven to publish.

mpenet 2022-04-24T15:12:17.875919Z

deps-deploy can do this I think

slipset 2022-05-18T07:42:28.029729Z

deps-deploy piggiebacks on pomegranate which in turn uses Aether for the heavy lifting, so deploying to maven central Should Just Work(TM)

tstout 2022-04-24T15:13:14.312909Z

I just skimmed the docs. I thought it only worked with clojars, but maybe that is not the case.

mpenet 2022-04-24T15:14:43.369039Z

I managed to get it to push to a private, S3 compatible service a few days ago, which seems more twisted. Iirc reading the source you should be able to change the destination repo

mpenet 2022-04-24T15:15:57.307999Z

I also was inches away from shelling out to mvn... I guess that's an acceptable solution

tstout 2022-04-24T15:19:58.816739Z

Maybe I should simply look at what the core clojure libs do, as they are all published to maven central. I suspect they use maven.

mpenet 2022-04-24T15:20:51.255489Z

Most of the core toolchain predates tools build

mpenet 2022-04-24T15:20:59.212389Z

So yea