Notice: Repository CDN URL Change

If you're using the old CDN URL, it's time for a change.

Just a quick blog in case it hasn't come up before...

Liferay was using a CDN for offloading traffic for the repository artifacts. You've likely seen the URL during builds or within your build scripts/configuration.

The old one is of the form:

https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public/...

Recently though Liferay switched to a new CDN provider and are using a newer URL. You might have seen this if you have upgraded your blade or have started working with 7.1.

The new one is of the form:

https://repository-cdn.liferay.com/nexus/content/groups/public/...

If you're using the old one, I would urge you to change to the new version. I haven't heard about if or when the old one will be retired, but you don't want to find out because your build server starts kicking out error emails at two in the morning.

  • If you are using Ant/Ivy, check the ivy-settings.xml for this URL and change it there.
  • If you are using Maven, check your poms and your master settings.xml in your home directory's hidden .m2 folder.
  • If you are using Gradle, check your settings.gradle file, your build.gradle files and possibly your gradle.properties file.

While the transition was in process, a number of times I and others recommended just taking out the cdn.lfrs.sl portion of the URL and go straight to repository.liferay.com. It is the non-CDN version. You too should change your URLs to respository-cdn.liferay.com also. Liferay is planning at some point to blocking public connections to the repository (it slows their internal build processes with so many users hitting the repository directly) although I have no idea when or if this will happen.

But again, you don't want to find out it happened when your build server starts failing at 2am...

0