<?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 Include AMP Dependencies with SDK 2.1 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/include-amp-dependencies-with-sdk-2-1/m-p/297329#M250459</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Folks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am quiet new to maven and the SDK 2.1. Does anyone know a specific way to include external AMPs to my POM? I want to include the js-console (&lt;/SPAN&gt;&lt;A href="https://github.com/share-extras/js-console" rel="nofollow noopener noreferrer"&gt;https://github.com/share-extras/js-console&lt;/A&gt;&lt;SPAN&gt;) as part of my project for development, but cannot figure out how.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Aug 2015 22:15:57 GMT</pubDate>
    <dc:creator>sarah_jordison</dc:creator>
    <dc:date>2015-08-18T22:15:57Z</dc:date>
    <item>
      <title>Include AMP Dependencies with SDK 2.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/include-amp-dependencies-with-sdk-2-1/m-p/297329#M250459</link>
      <description>Hi Folks,I am quiet new to maven and the SDK 2.1. Does anyone know a specific way to include external AMPs to my POM? I want to include the js-console (https://github.com/share-extras/js-console) as part of my project for development, but cannot figure out how.Thanks!</description>
      <pubDate>Tue, 18 Aug 2015 22:15:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/include-amp-dependencies-with-sdk-2-1/m-p/297329#M250459</guid>
      <dc:creator>sarah_jordison</dc:creator>
      <dc:date>2015-08-18T22:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Include AMP Dependencies with SDK 2.1</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/include-amp-dependencies-with-sdk-2-1/m-p/297330#M250460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The typical way to go about this is as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Check if your AMP is available in artifacts.alfresco.com or for example &lt;/SPAN&gt;&lt;A href="http://search.maven.org/" rel="nofollow noopener noreferrer"&gt;http://search.maven.org/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;2) If it is available in any accessible Nexus maven repo continue to 4, if not 3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Download and Install the artifact in your local maven repo (or company nexus server), locally you can do something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;mvn install:install-file -DgroupId=org.sharextras -DartifactId=javascript-console-repo -Dversion=0.6.0 -Dfile=javascript-console-repo-0.6.0.amp -Dpackaging=amp -DgeneratePom=true&lt;BR /&gt;mvn install:install-file -DgroupId=org.sharextras -DartifactId=javascript-console-share -Dversion=0.6.0 -Dfile=javascript-console-share-0.6.0.amp -Dpackaging=amp -DgeneratePom=true&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;4) See &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/5.0/tasks/alfresco-sdk-advanced-link-alf-amps-aio.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/5.0/tasks/alfresco-sdk-advanced-link-alf-amps-aio.html&lt;/A&gt;&lt;SPAN&gt; (it shows how to do this for the Records Management module, but it would be the same principle for javascript console)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Use something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pom.xml in all-in-one/repo folder:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;dependency&amp;gt;&lt;BR /&gt;&amp;lt;groupId&amp;gt;org.sharextras&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;lt;artifactId&amp;gt;javascript-console-repo&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;lt;version&amp;gt;0.6.0&amp;lt;/version&amp;gt;&lt;BR /&gt;&amp;lt;type&amp;gt;amp&amp;lt;/type&amp;gt;&lt;BR /&gt;&amp;lt;/dependency&amp;gt;&lt;BR /&gt;&amp;lt;/dependencies&amp;gt;&lt;BR /&gt;&amp;lt;overlays&amp;gt;&lt;BR /&gt;…&lt;BR /&gt;&amp;lt;overlay&amp;gt;&lt;BR /&gt;&amp;lt;groupId&amp;gt;org.sharextras&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;lt;artifactId&amp;gt;javascript-console-repo&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;lt;type&amp;gt;amp&amp;lt;/type&amp;gt;&lt;BR /&gt;&amp;lt;/overlay&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;pom.xml in all-in-one/share folder:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;dependencies&amp;gt;&lt;BR /&gt;…&lt;BR /&gt;&amp;lt;dependency&amp;gt;&lt;BR /&gt;&amp;lt;groupId&amp;gt;org.sharextras&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;lt;artifactId&amp;gt;javascript-console-share&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;lt;version&amp;gt;0.6.0&amp;lt;/version&amp;gt;&lt;BR /&gt;&amp;lt;type&amp;gt;amp&amp;lt;/type&amp;gt;&lt;BR /&gt;&amp;lt;/dependency&amp;gt;&lt;BR /&gt;&amp;lt;/dependencies&amp;gt;&lt;BR /&gt;&amp;lt;overlays&amp;gt;&lt;BR /&gt;…&lt;BR /&gt;&amp;lt;overlay&amp;gt;&lt;BR /&gt;&amp;lt;groupId&amp;gt;org.sharextras&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;lt;artifactId&amp;gt;javascript-console-share&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;lt;type&amp;gt;amp&amp;lt;/type&amp;gt;&lt;BR /&gt;&amp;lt;/overlay&amp;gt;&lt;BR /&gt;&amp;lt;/overlays&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 10:04:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/include-amp-dependencies-with-sdk-2-1/m-p/297330#M250460</guid>
      <dc:creator>gravitonian</dc:creator>
      <dc:date>2015-08-21T10:04:00Z</dc:date>
    </item>
  </channel>
</rss>

