<?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: Amp/Amp Dependency in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/amp-amp-dependency/m-p/283461#M236591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the information and suggestions Axel, it's a shame really as all I wanted to do was call some functionality contained within another AMP (that I have control over) without having to duplicate code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Might be better to use a shared JAR file and make the AMPs themselves be more lightweight.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephen&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Feb 2016 13:26:24 GMT</pubDate>
    <dc:creator>stephenl</dc:creator>
    <dc:date>2016-02-04T13:26:24Z</dc:date>
    <item>
      <title>Amp/Amp Dependency</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/amp-amp-dependency/m-p/283459#M236589</link>
      <description>Hi,Just wondering if there's a way to add one of my repo AMPs as a dependency of another? I have added it as a dependency in the pom.xml: &amp;lt;dependency&amp;gt;&amp;nbsp; &amp;lt;groupId&amp;gt;mygroup&amp;lt;/groupId&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;artifactId&amp;gt;my_art&amp;lt;/artifactId&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;version&amp;gt;0.0.1&amp;lt;/version&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;scope&amp;gt;</description>
      <pubDate>Wed, 03 Feb 2016 23:43:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/amp-amp-dependency/m-p/283459#M236589</guid>
      <dc:creator>stephenl</dc:creator>
      <dc:date>2016-02-03T23:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Amp/Amp Dependency</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/amp-amp-dependency/m-p/283460#M236590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;unfortunately AMP dependencies aren't supported by the SDK or standard Maven. As far as I know the recommendation is to extract the relevant code (i.e. interfaces) into a separate JAR project which you can the package into the first AMP and reference (but not include) from the second one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course you could try to setup the first AMP project to also produce a JAR, so you don't have to separate the code out. Unfortunately, the SDK does not make this as easy as it should be - we use a non-SDK custom Maven setup for this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 08:30:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/amp-amp-dependency/m-p/283460#M236590</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-02-04T08:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: Amp/Amp Dependency</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/amp-amp-dependency/m-p/283461#M236591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the information and suggestions Axel, it's a shame really as all I wanted to do was call some functionality contained within another AMP (that I have control over) without having to duplicate code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Might be better to use a shared JAR file and make the AMPs themselves be more lightweight.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Stephen&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 13:26:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/amp-amp-dependency/m-p/283461#M236591</guid>
      <dc:creator>stephenl</dc:creator>
      <dc:date>2016-02-04T13:26:24Z</dc:date>
    </item>
  </channel>
</rss>

