phillord / tawny-owl

Build OWL Ontologies in a Programmatic Environment
GNU Lesser General Public License v3.0
253 stars 55 forks source link

Dependency from unsecure repo error when using run on an ontology #66

Closed msicilia closed 6 years ago

msicilia commented 6 years ago

I have just installed leiningen on Mac OS High Sierra 10.13.5 using brew and tried the following from the manual:

$ lein new ontology helloworld
$ cd helloworld/
$ lein run

And I get this message from the last command:

Tried to use insecure HTTP repository without TLS.
This is almost certainly a mistake; however in rare cases where it's
intentional please see `lein help faq` for details.

I have read the FAQ of leiningen and it mentions this is due to a dependency configured to download from a repository that does not use TLS encryption. Not sure if this is intentional or unavoidable, just wanted to ask before forcing download from an unsecure repo.

Thanks in advance.

phillord commented 6 years ago

Sorry for the slow reply. I suspect that the issue is a local one to you, to be honest, or perhaps a temporary one. All the dependencies for Tawny-OWL are in clojars or maven central which are fully https.

I can't repeat the error at this side, for sure. Can you try again and see if you are getting the same thing?

msicilia commented 6 years ago

Many thanks for the reply. Knowing that all the dependencies were ok, I just tried to reinstall everything, as I found reports of similar errors searching the Web in different projects (not Tawny-OWL).

Now it worked, after I manually removed the ".m2" folder containing the Maven repository. Maybe it was a problem with a previous install or some error with incomplete downloads that was making lein give that strange error. It seems a Maven error, but happily I have it now fixed.

phillord commented 6 years ago

Good stuff. Maybe you had an old pointer to maven central as http. It used to be in the past!

Good luck with Tawny, will be happy to hear if it is working for you (or not)!