<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Wrong repository when building liferay from source</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118816618" />
  <subtitle>Wrong repository when building liferay from source</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=118816618</id>
  <updated>2026-04-04T09:25:26Z</updated>
  <dc:date>2026-04-04T09:25:26Z</dc:date>
  <entry>
    <title>RE: Wrong repository when building liferay from source</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118826165" />
    <author>
      <name>Matthew K.</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118826165</id>
    <updated>2020-03-30T14:03:06Z</updated>
    <published>2020-03-30T14:03:06Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Yeah, but I like to keep my osgi/modules folder clean.&lt;br&gt;But I guess I figured that out. I executed this command in the liferay_source/modules folder&lt;br&gt;&lt;pre&gt;&lt;code&gt;ant build-app-lpkg-all -Dliferay.home=/path/to/liferay/bundle -Dportal.lib.dir=/path/to/liferay/bundle/tomcat-8.0.32/webapps/ROOT/WEB-INF&lt;/code&gt;&lt;/pre&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Matthew K.</dc:creator>
    <dc:date>2020-03-30T14:03:06Z</dc:date>
  </entry>
  <entry>
    <title>RE: Wrong repository when building liferay from source</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118825821" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118825821</id>
    <updated>2020-03-30T13:59:11Z</updated>
    <published>2020-03-30T13:59:11Z</published>
    <summary type="html">No. Maybe it is an extra build step?&lt;br /&gt;But the lpkg files are actually just ZIP files with the modules in the marketplace folder. There is no real difference between the lpkg and the modules. Depending on you usecase, you might just ignore that.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-03-30T13:59:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: Wrong repository when building liferay from source</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118825478" />
    <author>
      <name>Matthew K.</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118825478</id>
    <updated>2020-03-30T13:13:49Z</updated>
    <published>2020-03-30T13:13:49Z</published>
    <summary type="html">Yeah, it was a pain, but now it works. Do you know how I can build the lpkg files? I have plenty of jar files in the folder osgi/modules now, but in an official Liferay bundle there are no jar files, but only lpkg files in the osgi/marketplace folder. How can I create those files?</summary>
    <dc:creator>Matthew K.</dc:creator>
    <dc:date>2020-03-30T13:13:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: Wrong repository when building liferay from source</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118825135" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118825135</id>
    <updated>2020-03-30T12:27:42Z</updated>
    <published>2020-03-30T12:27:42Z</published>
    <summary type="html">I stopped bothering a while ago, I ran into problems all the time. When I want to check the current state, I usually just download the latest snapshot: &lt;br /&gt;&lt;a href="https://cdn.lfrs.sl/releases.liferay.com/portal/snapshot-master/"&gt;https://cdn.lfrs.sl/releases.liferay.com/portal/snapshot-master/&lt;/a&gt;</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-03-30T12:27:42Z</dc:date>
  </entry>
  <entry>
    <title>RE: Wrong repository when building liferay from source</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118821960" />
    <author>
      <name>Dominik Marks</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118821960</id>
    <updated>2020-03-30T12:01:49Z</updated>
    <published>2020-03-30T12:01:49Z</published>
    <summary type="html">I did it in a similar way and just downloaded the file above manually and put it at %userprofile%\.liferay\mirrors\cdn.lfrs.sl\repository.liferay.com\nexus\content\repositories\liferay-public-snapshots\com\liferay\org.apache.ivy\2.4.0.LIFERAY-PATCHED-1-SNAPSHOT</summary>
    <dc:creator>Dominik Marks</dc:creator>
    <dc:date>2020-03-30T12:01:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: Wrong repository when building liferay from source</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118824778" />
    <author>
      <name>Matthew K.</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118824778</id>
    <updated>2020-03-30T11:38:23Z</updated>
    <published>2020-03-30T11:38:23Z</published>
    <summary type="html">It&amp;#39;s funny that apparently Liferay source code is such a mystery that no one knows how to build it. &lt;br /&gt;Anyways, I ended up installing a http server and hosting that jar file locally. By modifying the hosts file I tricked Liferay into using the local file instead of the one from the respository. Now the &amp;#34;ant all&amp;#34; goal worked correctly.</summary>
    <dc:creator>Matthew K.</dc:creator>
    <dc:date>2020-03-30T11:38:23Z</dc:date>
  </entry>
  <entry>
    <title>Wrong repository when building liferay from source</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118816617" />
    <author>
      <name>Matthew K.</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118816617</id>
    <updated>2020-03-27T21:48:27Z</updated>
    <published>2020-03-27T21:48:27Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hey there!&lt;br&gt;I am trying to build Liferay 7.0 from source, but everytime I run the goal "ant all" I get the following exception&lt;br&gt;&lt;pre&gt;&lt;code&gt;Server returned HTTP response code: 403 for URL: http://cdn.lfrs.sl/repository.liferay.com/nexus/content/repositories/liferay-public-snapshots/com/liferay/org.apache.ivy/2.4.0.LIFERAY-PATCHED-1-SNAPSHOT/org.apache.ivy-2.4.0.LIFERAY-PATCHED-1-SNAPSHOT.jar
&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;I know that I have to replace &lt;pre&gt;&lt;code&gt;http://cdn.lfrs.sl/repository.liferay.com&lt;/code&gt;&lt;/pre&gt; with &lt;pre&gt;&lt;code&gt;http://repository.liferay.com&lt;/code&gt;&lt;/pre&gt; but I don't know where. I searched/replaced every url in the Liferay source folder with the correct one but still &lt;pre&gt;&lt;code&gt;http://cdn.lfrs.sl/repository.liferay.com&lt;/code&gt;&lt;/pre&gt; is used. Does anyone know where I have to configure this setting?&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Matthew K.</dc:creator>
    <dc:date>2020-03-27T21:48:27Z</dc:date>
  </entry>
</feed>
