Grails project not working without internet connection

I am relatively new to grails and should know something really basic. Right now I need to connect to the Internet to start the grails project, otherwise the project will try to resolve the dependencies indefinitely. Could not find this in the documentation. I assume that he is trying to look for updated versions of plugins?

How to disable this feature so that the project works without an Internet connection.

Relations Priyank

+4
source share
1 answer

Grails 1.3.7 works (in my experience) without an internet connection, except for the first start:

In the first run, it will resolve dependencies from the Internet. But they will be cached locally (check the $user/.grails , $user/.m2 and $user/.ivy2 folders). In the next run, you will not need an Internet connection.

But there is one catch - if one of your plugins depends on the version of the snapshot, it will try to connect to the Internet every time you start your project to see if there is a newer version. See This Grails Question : Working Offline with Snapshot Dependencies for a Solution.

+1
source

Source: https://habr.com/ru/post/1398878/


All Articles