Fork me on GitHub
#leiningen
<
2018-05-29
>
nickmbailey17:05:16

it seems like the jvm-opts from project.clj don’t get set when running a ‘lein deploy’ command

nickmbailey17:05:43

does that sound right and is there another option i should be setting?

nickmbailey17:05:04

running into module errors when trying to do a ‘lein deploy’ with java 9

rickmoynihan17:05:51

@nickmbailey makes sense I’d expect :jvm-opts to only be set in environments that run your app code

nickmbailey17:05:09

yeah i also agree that makes sense

nickmbailey17:05:31

but java 9 makes things weird with the modules system

nickmbailey17:05:59

and the s3-wagon-private plugin apparently needs the xml.bind module

nickmbailey17:05:17

which is easy enough but i need a way to pass that to the jvm doing the deploy

gklijs17:05:34

Is there a good reason to not just switch to java 8? java9 is end of life anyway

nickmbailey17:05:14

maybe not but java 10 would have the same issue

nickmbailey17:05:06

i suppose i can use java8 for deploying for now and file a github issue

nickmbailey17:05:38

looks like there’s LEIN_JVM_OPTS

gklijs17:05:51

I suspect it will take a while before all the issues in the dependent java libraries are fixed so you could use almost any clojure library without problems..