Legacy Knowledge Base
Published Jul. 2, 2025

Using Liferay Developer Studio Without an Internet Connection

Written By

Laura Li

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

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.

Resolution

  1. Prepare a local or accessible NEXUS server. This server must have FULL libraries (from https://repository.liferay.com/nexus/content/groups/public). 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 "https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public"
    }
    
    to:
    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.
Did this article resolve your issue ?

Legacy Knowledge Base