I'm new to Scala and Maven and SBT, I don't know what's wrong with my settings, but I can use sbt cli to compile this project. I need Intellij's sbt to compile it so it can index stuff properly. but every time I run sbt it pops the error below at some point.
insecure HTTP request is unsupported 'http://nexus.example.com/repository/maven-releases'; switch to HTTPS or opt-in as ("example nexus" at "http://nexus.example.com/repository/maven-releases").withAllowInsecureProtocol(true), or by using allowInsecureProtocol in repositories file
I have no idea how I can possibly trace or fix this error but I tried various Maven settings mentioned in SoF like this
Apparently my problem roots in Intellij using some sort of internal Maven with obscure settings that I cannot find to touch (because I had no mvn installed but Intellij had no problem running sbt!).
How should I force intellij to use system mvn or it's settings? or just check if it already is?