<?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>Problems with com.liferay.portal.kernel.util dependency for 7.1</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110853403" />
  <subtitle>Problems with com.liferay.portal.kernel.util dependency for 7.1</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110853403</id>
  <updated>2026-06-27T00:42:32Z</updated>
  <dc:date>2026-06-27T00:42:32Z</dc:date>
  <entry>
    <title>RE: Problems with com.liferay.portal.kernel.util dependency for 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111044119" />
    <author>
      <name>Andrey Filippov</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=111044119</id>
    <updated>2018-09-26T14:41:33Z</updated>
    <published>2018-09-26T14:41:33Z</published>
    <summary type="html">&lt;p&gt;Sorry - that is my fault. I did not notice that bnd.bnd rewrites some packages..&lt;/p&gt;</summary>
    <dc:creator>Andrey Filippov</dc:creator>
    <dc:date>2018-09-26T14:41:33Z</dc:date>
  </entry>
  <entry>
    <title>RE: Problems with com.liferay.portal.kernel.util dependency for 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110992089" />
    <author>
      <name>Minhchau Dang</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110992089</id>
    <updated>2018-09-20T00:14:45Z</updated>
    <published>2018-09-20T00:14:45Z</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;Andrey Filippov:&lt;/div&gt;
  &lt;div class="quote"&gt;
    &lt;div class="quote-content"&gt;
      &lt;p&gt;Thanks for the reply - changed to 3.6.0 but the problem still exists..&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;I'm assuming that you checked the the output of &lt;code&gt;mvn
  dependency:tree&lt;/code&gt;, and so you've confirmed that Maven really is
  using 3.6.0 at compile time, and it isn't getting overridden.&lt;/p&gt;
&lt;p&gt;Assuming that's the case, there's something wrong with your Maven
  configuration that's causing the Bnd tooling to use the wrong version
  of &lt;code&gt;com.liferay.portal.kernel&lt;/code&gt; when building out the OSGi
  bundle manifest. If you have no idea what that is, you'll need to
  share a lot more of the project than a snippet of a
  &lt;code&gt;pom.xml&lt;/code&gt; for anyone else to have a chance at guessing.&lt;/p&gt;
&lt;p&gt;If sharing your entire project isn't an option, you can either start
  from a vanilla workspace and slowly add projects to it, or you'll need
  to craft the manifest by hand. For the latter, you can use the
  existing MANIFEST.MF as a starting point and just modify the version
  range for &lt;code&gt;com.liferay.portal.kernel.util&lt;/code&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Minhchau Dang</dc:creator>
    <dc:date>2018-09-20T00:14:45Z</dc:date>
  </entry>
  <entry>
    <title>RE: Problems with com.liferay.portal.kernel.util dependency for 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110867855" />
    <author>
      <name>Andrey Filippov</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110867855</id>
    <updated>2018-09-03T16:23:18Z</updated>
    <published>2018-09-03T16:23:18Z</published>
    <summary type="html">&lt;p&gt;Thanks for the reply - changed to 3.6.0 but the problem still exists..&lt;/p&gt;</summary>
    <dc:creator>Andrey Filippov</dc:creator>
    <dc:date>2018-09-03T16:23:18Z</dc:date>
  </entry>
  <entry>
    <title>RE: Problems with com.liferay.portal.kernel.util dependency for 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110853750" />
    <author>
      <name>Minhchau Dang</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110853750</id>
    <updated>2018-08-31T16:16:41Z</updated>
    <published>2018-08-31T16:16:41Z</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;Andrey Filippov:&lt;/div&gt;
  &lt;div class="quote"&gt;
    &lt;div class="quote-content"&gt;
      &lt;p&gt;I changed version to the latest - &lt;strong&gt;3.26.0&lt;/strong&gt; but
        when I deploy my bundle I am getting:&lt;/p&gt;
      &lt;p&gt;Unresolved requirement: Import-Package:
        com.liferay.portal.kernel.util; version="[7.3.0,8.0.0)"&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;You should use the API version that shipped with 7.1
  (&lt;code&gt;com.liferay:com.liferay.portal.kernel:3.6.0&lt;/code&gt;), and not
  the latest version. In general, especially with OSGi in play, there's
  no guarantee that the latest version available through Maven is
  backwards-compatible with the release of Liferay that you're using.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Minhchau Dang</dc:creator>
    <dc:date>2018-08-31T16:16:41Z</dc:date>
  </entry>
  <entry>
    <title>Problems with com.liferay.portal.kernel.util dependency for 7.1</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110853402" />
    <author>
      <name>Andrey Filippov</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110853402</id>
    <updated>2018-08-31T15:55:08Z</updated>
    <published>2018-08-31T15:55:08Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;p&gt;Hi everyone.&amp;nbsp;I am in the middle of migrating some stuff into 7.1&amp;nbsp;
  and&amp;nbsp;just ran into a problem.&amp;nbsp; In one of my projects I have such dependency:&lt;/p&gt;
&lt;p&gt;
  &lt;code&gt;&amp;amp;lt;dependency&amp;amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;
  &lt;code&gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;lt;groupId&amp;amp;gt;com.liferay.portal&amp;amp;lt;/groupId&amp;amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;
  &lt;code&gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;lt;artifactId&amp;amp;gt;com.liferay.portal.kernel&amp;amp;lt;/artifactId&amp;amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;
  &lt;code&gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;lt;version&amp;amp;gt;3.26.0&amp;amp;lt;/version&amp;amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;
  &lt;code&gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;lt;scope&amp;amp;gt;provided&amp;amp;lt;/scope&amp;amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;
  &lt;code&gt;&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;lt;/dependency&amp;amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;I changed version to the latest - &lt;strong&gt;3.26.0&lt;/strong&gt; but when I
  deploy my bundle I am getting:&lt;/p&gt;
&lt;p&gt;Unresolved requirement: Import-Package:
  com.liferay.portal.kernel.util; version="[7.3.0,8.0.0)"&lt;/p&gt;
&lt;p&gt;So in the most recent available version (according to &lt;a href="https://repository.liferay.com/nexus/service/local/repositories/liferay-public-releases/content/com/liferay/portal/com.liferay.portal.kernel/3.26.0/"&gt;https://repository.liferay.com/nexus/service/local/repositories/liferay-public-releases/content/com/liferay/portal/com.liferay.portal.kernel/3.26.0/&lt;/a&gt;
  it was published a couple of days ago) we have old version of packages
  that does not work with Liferay 7.1 (it has
  com.liferay.portal.kernel.util; version="8.0.0").&lt;/p&gt;
&lt;p&gt;If I have not missed something in my logic please could you let me
  know when we could expect dependencies for Liferay 7.1?&lt;/p&gt;
&lt;p&gt;Thanks a lot.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Andrey Filippov</dc:creator>
    <dc:date>2018-08-31T15:55:08Z</dc:date>
  </entry>
</feed>
