<?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>What is the purpose of the repository com.liferay.petra</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110571900" />
  <subtitle>What is the purpose of the repository com.liferay.petra</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110571900</id>
  <updated>2026-04-05T00:05:07Z</updated>
  <dc:date>2026-04-05T00:05:07Z</dc:date>
  <entry>
    <title>RE: What is the purpose of the repository com.liferay.petra</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110578828" />
    <author>
      <name>Denis Cucchietti</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110578828</id>
    <updated>2018-07-17T14:35:37Z</updated>
    <published>2018-07-17T14:35:37Z</published>
    <summary type="html">&lt;p&gt;Thank you for your answers !&lt;/p&gt;</summary>
    <dc:creator>Denis Cucchietti</dc:creator>
    <dc:date>2018-07-17T14:35:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: What is the purpose of the repository com.liferay.petra</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110574771" />
    <author>
      <name>Minhchau Dang</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110574771</id>
    <updated>2018-07-17T01:08:29Z</updated>
    <published>2018-07-17T01:08:29Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;blockquote&gt;
  &lt;div class="quote-title"&gt;Denis Cucchietti:&lt;/div&gt;
  &lt;div class="quote"&gt;
    &lt;div class="quote-content"&gt;
      &lt;p&gt;I would like to know what is the purpose of this repository &lt;a href="https://github.com/liferay/com-liferay-petra"&gt;https://github.com/liferay/com-liferay-petra&lt;/a&gt;
        ? Is it just utility classes ?&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;The com-liferay-petra repository was the subrepository corresponding
  to the &lt;a href="https://github.com/liferay/liferay-portal/tree/master/modules/apps/petra"&gt;modules/apps/petra&lt;/a&gt;
  folder in the monorepository. The specific modules within that folder
  came from the ongoing attempt at modularizing
  &lt;code&gt;com.liferay.util.java&lt;/code&gt;, as David mentioned, and &lt;code&gt;com.liferay.portal.kernel&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Subrepositories were originally intended to allow for all of the
  different .lpkg files that make up a Liferay release to be released on
  separate schedules (essentially, each folder in
  &lt;code&gt;modules/apps&lt;/code&gt; is its own .lpkg). The idea is that
  component teams would commit to the subrepositories (each one managed
  by one of Liferay's separate teams), and the monorepository would be a
  central reference point for a release.&lt;/p&gt;
&lt;p&gt;Most subrepositories, including com-liferay-petra, were discontinued
  and no longer kept up to date on the master branch (missing a
  &lt;code&gt;.gitrepo&lt;/code&gt; file) due to some directory reshuffling that
  happened prior to the Liferay 7.1 release.&lt;/p&gt;
&lt;p&gt;On the master branch, only two are still maintained: the
  subrepositories corresponding to &lt;a href="https://github.com/liferay/liferay-portal/blob/master/modules/apps/analytics"&gt;modules/apps/analytics&lt;/a&gt;
  (&lt;code&gt;.gitrepo&lt;/code&gt; is in push mode) and &lt;a href="https://github.com/liferay/liferay-portal/blob/master/modules/apps/apio-architect"&gt;modules/apps/apio-architect&lt;/a&gt;
  (&lt;code&gt;.gitrepo&lt;/code&gt; is in pull mode). On the 7.0.x branch, many of
  the other subrepositories are still maintained in push mode.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Minhchau Dang</dc:creator>
    <dc:date>2018-07-17T01:08:29Z</dc:date>
  </entry>
  <entry>
    <title>RE: What is the purpose of the repository com.liferay.petra</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110574043" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110574043</id>
    <updated>2018-07-17T00:08:11Z</updated>
    <published>2018-07-17T00:08:11Z</published>
    <summary type="html">&lt;p&gt;util-java cannot be added to your OSGi dependencies.  The petra
  modules break out parts of util-java into separate OSGi-friendly
  module jars.&lt;/p&gt;</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2018-07-17T00:08:11Z</dc:date>
  </entry>
  <entry>
    <title>What is the purpose of the repository com.liferay.petra</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110571899" />
    <author>
      <name>Denis Cucchietti</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110571899</id>
    <updated>2018-07-16T15:21:59Z</updated>
    <published>2018-07-16T15:21:59Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would like to know what is the purpose of this repository &lt;a
  href="https://github.com/liferay/com-liferay-petra"&gt;https://github.com/liferay/com-liferay-petra&lt;/a&gt;
  ? Is it just utility classes ?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</summary>
    <dc:creator>Denis Cucchietti</dc:creator>
    <dc:date>2018-07-16T15:21:59Z</dc:date>
  </entry>
</feed>
