Closed WhittlesJr closed 6 years ago
Does anybody have any thoughts on this?
Hey @WhittlesJr, As bacnet4j contains "jcenter" repository, probably for some of it's dependencies, you keep getting metadata from it. In order to avoid scanning of jcenter all bacnet4j deps have to be deployed to maven central. Then extra repos will be unecessary in pom.xml.
If you are afraid of http connection jcenter should already be available via https.
Cheers, Lukasz
Hi! It's not so much that I'm afraid of HTTP, but that it breaks my build (Leiningen). I currently have to put in hacks to build either bacure or my own project (which depends on bacure).
What confuses me is that I see that 4.1.5 of BACnet4J switched to using HTTPS for the jcenter repo, yet I still experience this issue. So is it really still jcenter that is the problem? Where exactly does a fix need to go?
Are you building via Maven? If so it could be that we missed adding https to one of the jcenter repos:
Ah, I bet that's it!
Edit: Yes, Leiningen uses Maven (as far as I know)
Thank you for resolving this. Will this end up in a near-term bugfix release?
Built and released as 4.1.6.
Despite the fix for #20 that went into 4.1.5, I am still having "Insecure HTTP repo" problems.
I've identified the specific sources:
I'm frankly not sure where a fix would need to be made...