<?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 do i need to do if i want to add a custom maven dependency?</title>
  <link rel="self" href="https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121514571" />
  <subtitle>What do i need to do if i want to add a custom maven dependency?</subtitle>
  <id>https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121514571</id>
  <updated>2026-10-15T11:16:57Z</updated>
  <dc:date>2026-10-15T11:16:57Z</dc:date>
  <entry>
    <title>RE: RE: What do i need to do if i want to add a custom maven dependency?</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121521612" />
    <author>
      <name>Erik Galliani</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121521612</id>
    <updated>2022-09-22T15:34:46Z</updated>
    <published>2022-09-22T13:51:32Z</published>
    <summary type="html">&lt;p&gt;thank you very much, i could make my maven project an OSGi Bundle and
  deploy it. Unfortunately this bundle consists of more dependencies.
  And some of those dependencies arenot OSGi Bundles. Ill try with gradle&lt;/p&gt;</summary>
    <dc:creator>Erik Galliani</dc:creator>
    <dc:date>2022-09-22T13:51:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: What do i need to do if i want to add a custom maven dependency?</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121516908" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121516908</id>
    <updated>2022-09-19T16:23:42Z</updated>
    <published>2022-09-19T08:06:45Z</published>
    <summary type="html">&lt;p&gt;If that dependency is an OSGi bundle, you should deploy it to the
  runtime just like your own plugin.&lt;/p&gt;
&lt;p&gt;If it's not, and it's Open Source: Check if you can find it somewhere
  converted into an OSGi bundle or consider doing the work yourself and
  try to push it upstream.&lt;/p&gt;
&lt;p&gt;If you can't make it a bundle, you might need to bundle its code
  within your own plugin. In Liferay Workspace (gradle-based), this is
  called &amp;quot;compileInclude&amp;quot; - I can't give you the exact recipe
  for Maven.&lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2022-09-19T08:06:45Z</dc:date>
  </entry>
  <entry>
    <title>What do i need to do if i want to add a custom maven dependency?</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121514570" />
    <author>
      <name>Erik Galliani</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121514570</id>
    <updated>2022-09-14T13:59:44Z</updated>
    <published>2022-09-14T13:59:44Z</published>
    <summary type="html">&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;i would like to add a custom maven dependency in a portlet used in
  Liferay 7.4. &lt;/p&gt;
&lt;p&gt;Im migrating from Liferay 6.2 to Liferay 7.4 and I cannot use this
  Library on this newest Liferay.&lt;/p&gt;
&lt;p&gt;What do i need to do on the pom.xml file in order for Liferay 7.4 to
  load this jar Library?&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Erik Galliani</dc:creator>
    <dc:date>2022-09-14T13:59:44Z</dc:date>
  </entry>
</feed>
