<?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>Liferay 7.1 problem with bundle's versions on BOM</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111030457" />
  <subtitle>Liferay 7.1 problem with bundle's versions on BOM</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=111030457</id>
  <updated>2026-05-08T16:31:44Z</updated>
  <dc:date>2026-05-08T16:31:44Z</dc:date>
  <entry>
    <title>RE: Liferay 7.1 problem with bundle's versions on BOM</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111033738" />
    <author>
      <name>Minhchau Dang</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111033738</id>
    <updated>2018-09-25T17:11:31Z</updated>
    <published>2018-09-25T17:11:31Z</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;Aleksey Kashytsa:&lt;/div&gt;
  &lt;div class="quote"&gt;
    &lt;div class="quote-content"&gt;
      &lt;p&gt;If i can't use&lt;em&gt;
          com.liferay.portlet.display.template-2.2.3.jar &lt;/em&gt;why is it
        on bom?&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;I assume you are using the
  &lt;code&gt;com.liferay:com.liferay.ce.portal.bom:7.1.0&lt;/code&gt; dependency?
  Unfortunately, that BOM is invalid, and sadly, all of the existing
  Liferay BOMs (there are several with different group names and
  artifact names) are just proof of concepts, generated with different
  Groovy scripts.&lt;/p&gt;
&lt;p&gt;As far as usable BOMs go, Liferay IDE is waiting on
  &lt;code&gt;com.liferay.portal:release.portal.bom:7.1.0&lt;/code&gt; to become
  official so that the &lt;a href="https://dev.liferay.com/en/develop/tutorials/-/knowledge_base/7-1/managing-the-target-platform-for-liferay-workspace"&gt;Managing
    the Target Platform for Liferay Workspace&lt;/a&gt; article can be used;
  right now, because the BOM is still in a proof of concept stage, the
  article is treated as provisional. However, since it's a more recent
  proof of concept and doesn't list any invalid module dependencies in
  it, I would try it out since it's better than nothing.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Minhchau Dang</dc:creator>
    <dc:date>2018-09-25T17:11:31Z</dc:date>
  </entry>
  <entry>
    <title>Liferay 7.1 problem with bundle's versions on BOM</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111030456" />
    <author>
      <name>Aleksey Kashytsa</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111030456</id>
    <updated>2018-09-25T13:19:30Z</updated>
    <published>2018-09-25T13:19:30Z</published>
    <summary type="html">&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;in my portlet I import&lt;/p&gt;
&lt;pre&gt;
&lt;span&gt;import &lt;/span&gt;com.liferay.portlet.display.template.exportimport.portlet.preferences.processor.PortletDisplayTemplateRegister&lt;span&gt;;&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;
  &lt;span&gt;when I build a jar it's MANIFEST.MF has Import-Package entry (i
    use dependency-managment plugin)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;

  &lt;em&gt;com.liferay.portlet.display.template.exportimport.portlet.preferences.processor;version= &amp;quot;[1.1,2)&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;After deploy my portlet has Installed status with error:&lt;/p&gt;
&lt;p&gt;
  &lt;em&gt;Unresolved requirement: Import-Package:
    com.liferay.portlet.display.template.exportimport.portlet.preferences.processor; version=&amp;quot;&lt;strong&gt;[1.1.0,2.0.0)&lt;/strong&gt;&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;There is only&lt;strong&gt; 1.0.0&lt;/strong&gt; version available on server&lt;/p&gt;
&lt;p&gt;
  &lt;em&gt; g! packages 
    com.liferay.portlet.display.template.exportimport.portlet.preferences.processor&lt;br /&gt;
    osgi.wiring.package;
    bundle-symbolic-name=&amp;quot;com.liferay.portlet.display.template.api&amp;quot;;
    bundle-version:Version=&amp;quot;1.0.3&amp;quot;;
    version:Version=&amp;quot;1.0.0&amp;quot;;
    osgi.wiring.package=&amp;quot;com.liferay.portlet.display.template.exportimport.portlet.preferences.processor&amp;quot;;
    uses:=&amp;quot;com.liferay.exportimport.kernel.lar,javax.portlet&amp;quot;&amp;lt;com.liferay.portlet.display.template.api_1.0.3 [856]&amp;gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Analyzing my dipendencies I found 2 jars that export the same
  packages with different package version&lt;/p&gt;
&lt;p&gt;
  &lt;em&gt;com.liferay.portlet.display.template.api-1.0.3.jar with
    Export-Package:
    com.liferay.portlet.display.template;version=&amp;quot;1.0.0&amp;quot;;Export-Package:
    com.liferay.portlet.display.template;version=&amp;quot;1.0.0&amp;quot;;&lt;br /&gt;
    com.liferay.portlet.display.template-2.2.3.jar with Export-Package: com.liferay.portlet.display.template;version=&amp;quot;1.1.0&amp;quot;;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Bundle &lt;em&gt;com.liferay.portlet.display.template-2.2.3.jar &lt;/em&gt;is not
  deployed on server and after deploy jar manually it state is Installed with&lt;/p&gt;
&lt;p&gt;
  &lt;em&gt;Unresolved requirement: Import-Package:
    com.liferay.portal.kernel.model; version=&amp;quot;[1.0.0,2.0.0)&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;which is range of versions for Liferay 7.0x and not for Liferay 7.1.x.&lt;/p&gt;
&lt;p&gt;Since both
    jars &lt;em&gt;com.liferay.portlet.display.template.api-1.0.3.jar and &lt;/em&gt;
  &lt;em&gt;com.liferay.portlet.display.template-2.2.3.jar &lt;/em&gt;are on the bom
  of Liferay 7.1.0 it is possible to use them both simultaneosly, is it?&lt;/p&gt;
&lt;p&gt;If i can't use&lt;em&gt; com.liferay.portlet.display.template-2.2.3.jar
  &lt;/em&gt;why is it on bom?&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;</summary>
    <dc:creator>Aleksey Kashytsa</dc:creator>
    <dc:date>2018-09-25T13:19:30Z</dc:date>
  </entry>
</feed>
