Using Liferay Developer Studio Without an Internet Connection

This article documents a temporary workaround for developers using Liferay Developer Studio 3.9.7 in a closed environment. At this time Liferay Developer Studio requires users to download dependencies from the Internet. However, this can be a problem for developers who do not have full web access in their development environment.


  1. Prepare a local or accessible NEXUS server. This server must have FULL libraries (from Administrators can also clone one from other repositories. Internet connections are still required at this point. 
  2. Make sure to have a .gradle directory in the user home folder, updated according to the latest project template and dependencies.
  3. Start Liferay Developer Studio.
  4. Open the New Liferay Workspace Project Wizard to create a Liferay Workspace. An error will show up but the required files have been created successfully on the disk.
  5. Go to the Liferay Workspace project folder.
  6. Open the file settings.gradle and change the maven repository URL:
    maven {
        url ""
    maven {
        url "{your_nexus_server}/nexus/content/groups/public"

    Note: For the Liferay Module project, please modify the URL in the build.gradle file.

  7. Open the Import Liferay Workspace Project Wizard and re-import the Liferay Workspace project.
¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0