Fork me on GitHub
#cursive
<
2020-11-13
>
saitouena08:11:19

I tried to make shadow-cljs.edn recognized by cursive in this way https://github.com/thheller/shadow-cljs/issues/70#issuecomment-341895828 but I couldn't figure out the way to import generated pom.xml to cursive. Is there anything to do to import it?

saitouena08:11:27

https://github.com/cursive-ide/cursive/issues/1804#issuecomment-528441496 I might have misunderstood this. Importing pom.xml feature haven't been implemented yet but thheller suggested it would be a solution.

thheller08:11:37

@tetsu.ponpon2000 pom.xml imports require the Maven plugin to be enabled. It should be enabled by default but it might not be. make sure it is enabled and then import the pom.xml via "project from existing sources"

đź‘€ 3
saitouena09:11:54

Thanks for your reply. I made it sure the maven plugin is enabled and then tried "project from existing sources" but it didn't work. I think it's because my project is multi-module project and my pom.xm generated by shadow-cljsl is in the sub module.

saitouena09:11:53

I might need to bring pom.xml to the top directory of the project and merge it with the existing pom.xml or something like that.

thheller09:11:08

pretty sure you can import pom.xml as a module too but I've never used that

đź‘€ 3
saitouena09:11:18

I'll try to recreate my cursive project and to import my settings again. It might be a remedy.

cfleming09:11:53

@tetsu.ponpon2000 You should be able to right click on the pom.xml and choose “Add as Maven project” or something similar.

đź‘€ 3