<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to manage external jar with Alfresco SDK 3 in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-external-jar-with-alfresco-sdk-3/m-p/64754#M21991</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thought I'd respond, even though this is an older post.&amp;nbsp;If you use jar deployment in SDK 3.0 and you have external dependencies (e.g. another jar that you pull from maven that includes classes you're using in your customization), you have to deploy that jar separately yourself. If you choose amp deployment, then it will include the external jar for you. If you are running locally with H2 (e.g. using run.sh script) and you want that to work correctly, make sure you add your dependency not only under &amp;lt;dependencies&amp;gt; but as a &amp;lt;moduleDependency&amp;gt; in the alfresco-maven-plugin. You can see where to add them if you search for the comment&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;EM&gt;&amp;lt;!-- Bring in custom Modules --&amp;gt;.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jan 2019 17:01:42 GMT</pubDate>
    <dc:creator>jeffrosler</dc:creator>
    <dc:date>2019-01-10T17:01:42Z</dc:date>
    <item>
      <title>How to manage external jar with Alfresco SDK 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-external-jar-with-alfresco-sdk-3/m-p/64753#M21990</link>
      <description>Hi,I'm using Alfresco SDK 3 with Alfresco 5.2, for extending the Alfresco platform, using&amp;nbsp;maven and the&amp;nbsp;AllInOne archetype.What I don't manage to see are how are managed the external jar for the platform.The extension is splitted in several jars that are used by the platform project, using &amp;lt;depen</description>
      <pubDate>Tue, 28 Aug 2018 13:16:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-external-jar-with-alfresco-sdk-3/m-p/64753#M21990</guid>
      <dc:creator>bcassand</dc:creator>
      <dc:date>2018-08-28T13:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage external jar with Alfresco SDK 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-external-jar-with-alfresco-sdk-3/m-p/64754#M21991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thought I'd respond, even though this is an older post.&amp;nbsp;If you use jar deployment in SDK 3.0 and you have external dependencies (e.g. another jar that you pull from maven that includes classes you're using in your customization), you have to deploy that jar separately yourself. If you choose amp deployment, then it will include the external jar for you. If you are running locally with H2 (e.g. using run.sh script) and you want that to work correctly, make sure you add your dependency not only under &amp;lt;dependencies&amp;gt; but as a &amp;lt;moduleDependency&amp;gt; in the alfresco-maven-plugin. You can see where to add them if you search for the comment&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;EM&gt;&amp;lt;!-- Bring in custom Modules --&amp;gt;.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2019 17:01:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-external-jar-with-alfresco-sdk-3/m-p/64754#M21991</guid>
      <dc:creator>jeffrosler</dc:creator>
      <dc:date>2019-01-10T17:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to manage external jar with Alfresco SDK 3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-external-jar-with-alfresco-sdk-3/m-p/64755#M21992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the detailed answer ^^&lt;/P&gt;&lt;P&gt;In fact I&amp;nbsp;took a wrong path trying to use jar deployment, due to documentation&amp;nbsp;of Alfresco 5.2 that&amp;nbsp;was considering AMP as almost obsolete and jar the way to go. But in more recent version (Alfresco 6) it's clearly stated that with external dependencies it should be deployed as AMP. It does not seem to be considered so obsolete anymore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So as the SDK generates both (Jar and AMP), AMP seems a&amp;nbsp;clean way to proceed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2019 09:39:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-manage-external-jar-with-alfresco-sdk-3/m-p/64755#M21992</guid>
      <dc:creator>bcassand</dc:creator>
      <dc:date>2019-01-11T09:39:46Z</dc:date>
    </item>
  </channel>
</rss>

