Fork me on GitHub
#tools-deps
<
2018-11-17
>
richiardiandrea18:11:41

Little question, is there a way to override the information that tools.deps.pom/gen-pom uses below https://github.com/clojure/tools.deps.alpha/blob/master/src/main/clojure/clojure/tools/deps/alpha/gen/pom.clj

richiardiandrea18:11:34

I am trying to generate a pom with version and project coords coming from the outside

Alex Miller (Clojure team)18:11:38

No, but it syncs - so you can change it and it won’t be removed

richiardiandrea18:11:30

Yep I saw the sync but in my case the info is coming from another file (either project.clj or package.json) and I think it would be awesome to have the pom.xml generated somehow - not persisted. Is it something worth discussing about?

👍 4
richiardiandrea18:11:07

This is the only missing piece for an automated - deps.edn + project descriptor - no manual steps flow 😃 I know there exists probably a maven plugin for bumping versions in a pom but ...it is no very lean

richiardiandrea18:11:33

And thanks for the quick answer as well

richiardiandrea18:11:16

Or I can write some bash but when this happens it always feels there is something hacky I don't know why simple_smile