Fork me on GitHub
#tools-deps
<
2020-02-01
>
lvh21:02:42

Is there a way to express Maven plugins in deps.edn so that -Spom will include the plugin (and a repo) or do I want to do that by editing the resulting XML

lvh21:02:07

use case: I want to mess with graal + javafx, specifically gluon substrate, and the recommended way to build stuff there is https://github.com/gluonhq/client-maven-plugin

borkdude21:02:29

Another way would be to use clojure.data.xml in a script to manipulate the generated pom afterwards

lvh21:02:58

yep that's what I had in mind with "editing"

lvh21:02:09

I take it clojure.data.xml works great with babashka/sci? 🙂

borkdude21:02:38

I have an issue about that. It kinda works: https://github.com/borkdude/babashka/issues/153 But it's a little hacky right now. I'm holding off until GraalVM adds proper support for javax.xml. https://github.com/oracle/graal/issues/1387

borkdude21:02:22

I'd just use a normal clojure script for it right now.

lvh21:02:38

right, easy enough to port later

Alex Miller (Clojure team)22:02:33

-Spom will sync into an existing pom, so just put what you want in the pom

🤯 4