<?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: Cant get Maven AMP project working in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cant-get-maven-amp-project-working/m-p/301740#M254870</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well … after doing a mvn clean install, here is what I get:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Downloading: &lt;/SPAN&gt;&lt;A href="https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/alfresco/alfresco-platform-distribution/5.1.e/" rel="nofollow noopener noreferrer"&gt;https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/alfresco/alfresco-platform-distribution/5.1.e/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;alfresco-platform-distribution-5.1.e.pom&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR] The build could not read 1 project -&amp;gt; [Help 1]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR]&amp;nbsp;&amp;nbsp; The project com.mig:alfresco:1.0-SNAPSHOT (C:\dev\_alfresco\AMP_etc\project\alfresco\pom.xml) has 4 errors&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Child module C:\dev\_alfresco\AMP_etc\project\alfresco\alfresco-repo-amp of C:\dev\_alfresco\AMP_etc\project\alfresco\po&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;m.xml does not exist&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Child module C:\dev\_alfresco\AMP_etc\project\alfresco\alfresco-share-amp of C:\dev\_alfresco\AMP_etc\project\alfresco\p&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;om.xml does not exist&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unresolveable build extension: Plugin org.alfresco.maven.plugin:alfresco-maven-plugin:2.2.0 or one of its dependencies c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ould not be resolved: Failed to collect dependencies at org.alfresco.maven.plugin:alfresco-maven-plugin:jar:2.2.0 -&amp;gt; org.alfresco:al&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fresco-mmt:jar:5.1.e: Failed to read artifact descriptor for org.alfresco:alfresco-mmt:jar:5.1.e: Could not transfer artifact org.al&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fresco:alfresco-mmt&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;om:5.1.e from/to java.net-Public (&lt;/SPAN&gt;&lt;A href="https://maven.java.net/content/groups/public/" rel="nofollow noopener noreferrer"&gt;https://maven.java.net/content/groups/public/&lt;/A&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; sun.security.validator.Valida&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;torException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certificat&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ion path to requested target -&amp;gt; [Help 2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Non-resolvable import POM: Could not transfer artifact org.alfresco:alfresco-platform-distribution&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;om:5.1.e from/to rep&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ository.jboss.org-public (&lt;/SPAN&gt;&lt;A href="https://repository.jboss.org/nexus/content/groups/public" rel="nofollow noopener noreferrer"&gt;https://repository.jboss.org/nexus/content/groups/public&lt;/A&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; sun.security.validator.ValidatorException: PKIX&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to reques&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ted target @ line 69, column 25 -&amp;gt; [Help 3]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR] Re-run Maven using the -X switch to enable full debug logging.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR] For more information about the errors and possible solutions, please read the following articles:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR] [Help 1] &lt;/SPAN&gt;&lt;A href="http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException" rel="nofollow noopener noreferrer"&gt;http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR] [Help 2] &lt;/SPAN&gt;&lt;A href="http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException" rel="nofollow noopener noreferrer"&gt;http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR] [Help 3] &lt;/SPAN&gt;&lt;A href="http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException" rel="nofollow noopener noreferrer"&gt;http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have dealt with a lot of difficult builds/setups, confused why this is so difficult.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jun 2016 13:42:03 GMT</pubDate>
    <dc:creator>pkasson</dc:creator>
    <dc:date>2016-06-22T13:42:03Z</dc:date>
    <item>
      <title>Cant get Maven AMP project working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cant-get-maven-amp-project-working/m-p/301738#M254868</link>
      <description>Hi,Not sure why there is nowhere to be found, a sample Eclipse / Maven sample project.&amp;nbsp; All searches I have found all point&amp;nbsp; to generating a project using archetype.Well, having done that and having Eclipse yell about missing deps and bad packaing ("amp") … clearly something is awry.Where can I find</description>
      <pubDate>Tue, 21 Jun 2016 20:55:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cant-get-maven-amp-project-working/m-p/301738#M254868</guid>
      <dc:creator>pkasson</dc:creator>
      <dc:date>2016-06-21T20:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cant get Maven AMP project working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cant-get-maven-amp-project-working/m-p/301739#M254869</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;I would recommend starting with an All-In-One project (&lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/5.1/concepts/alfresco-sdk-archetypes-aio.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/5.1/concepts/alfresco-sdk-archetypes-aio.html&lt;/A&gt;&lt;SPAN&gt;) so you can test model deployment and model UI from the same project. Generate the project following these instructions: &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/5.1/tasks/alfresco-sdk-tutorials-all-in-one-archetype.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/5.1/tasks/alfresco-sdk-tutorials-all-in-one-archetype.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Import the AIO project into Eclipse following these instructions: &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/5.1/tasks/alfresco-sdk-rad-eclipse-import-projects.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/5.1/tasks/alfresco-sdk-rad-eclipse-import-projects.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then define your content model following these instructions: &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/5.1/references/dev-extension-points-content-model-define-and-deploy.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/5.1/references/dev-extension-points-content-model-define-and-deploy.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;And configure the UI for the content model following these instructions: &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/5.1/references/dev-extension-points-content-model-configure-ui.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/5.1/references/dev-extension-points-content-model-configure-ui.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 07:06:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cant-get-maven-amp-project-working/m-p/301739#M254869</guid>
      <dc:creator>gravitonian</dc:creator>
      <dc:date>2016-06-22T07:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cant get Maven AMP project working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cant-get-maven-amp-project-working/m-p/301740#M254870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well … after doing a mvn clean install, here is what I get:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Downloading: &lt;/SPAN&gt;&lt;A href="https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/alfresco/alfresco-platform-distribution/5.1.e/" rel="nofollow noopener noreferrer"&gt;https://artifacts.alfresco.com/nexus/content/groups/public-snapshots/org/alfresco/alfresco-platform-distribution/5.1.e/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;alfresco-platform-distribution-5.1.e.pom&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR] The build could not read 1 project -&amp;gt; [Help 1]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR]&amp;nbsp;&amp;nbsp; The project com.mig:alfresco:1.0-SNAPSHOT (C:\dev\_alfresco\AMP_etc\project\alfresco\pom.xml) has 4 errors&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Child module C:\dev\_alfresco\AMP_etc\project\alfresco\alfresco-repo-amp of C:\dev\_alfresco\AMP_etc\project\alfresco\po&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;m.xml does not exist&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Child module C:\dev\_alfresco\AMP_etc\project\alfresco\alfresco-share-amp of C:\dev\_alfresco\AMP_etc\project\alfresco\p&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;om.xml does not exist&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unresolveable build extension: Plugin org.alfresco.maven.plugin:alfresco-maven-plugin:2.2.0 or one of its dependencies c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ould not be resolved: Failed to collect dependencies at org.alfresco.maven.plugin:alfresco-maven-plugin:jar:2.2.0 -&amp;gt; org.alfresco:al&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fresco-mmt:jar:5.1.e: Failed to read artifact descriptor for org.alfresco:alfresco-mmt:jar:5.1.e: Could not transfer artifact org.al&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fresco:alfresco-mmt&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;om:5.1.e from/to java.net-Public (&lt;/SPAN&gt;&lt;A href="https://maven.java.net/content/groups/public/" rel="nofollow noopener noreferrer"&gt;https://maven.java.net/content/groups/public/&lt;/A&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; sun.security.validator.Valida&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;torException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certificat&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ion path to requested target -&amp;gt; [Help 2]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Non-resolvable import POM: Could not transfer artifact org.alfresco:alfresco-platform-distribution&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;om:5.1.e from/to rep&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ository.jboss.org-public (&lt;/SPAN&gt;&lt;A href="https://repository.jboss.org/nexus/content/groups/public" rel="nofollow noopener noreferrer"&gt;https://repository.jboss.org/nexus/content/groups/public&lt;/A&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; sun.security.validator.ValidatorException: PKIX&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to reques&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ted target @ line 69, column 25 -&amp;gt; [Help 3]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR] Re-run Maven using the -X switch to enable full debug logging.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR] For more information about the errors and possible solutions, please read the following articles:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR] [Help 1] &lt;/SPAN&gt;&lt;A href="http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException" rel="nofollow noopener noreferrer"&gt;http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR] [Help 2] &lt;/SPAN&gt;&lt;A href="http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException" rel="nofollow noopener noreferrer"&gt;http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;[ERROR] [Help 3] &lt;/SPAN&gt;&lt;A href="http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException" rel="nofollow noopener noreferrer"&gt;http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have dealt with a lot of difficult builds/setups, confused why this is so difficult.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 13:42:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cant-get-maven-amp-project-working/m-p/301740#M254870</guid>
      <dc:creator>pkasson</dc:creator>
      <dc:date>2016-06-22T13:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cant get Maven AMP project working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cant-get-maven-amp-project-working/m-p/301741#M254871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see there are some sample models in the community (5.0):&amp;nbsp; googledocs (under subsystem). Not sure if this is exactly a new content model, but seems to match the articles in creating a new one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If all I need to do is create a model, does one need to create an AMP.war ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 14:46:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cant-get-maven-amp-project-working/m-p/301741#M254871</guid>
      <dc:creator>pkasson</dc:creator>
      <dc:date>2016-06-22T14:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cant get Maven AMP project working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cant-get-maven-amp-project-working/m-p/301742#M254872</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;Did you use the all-in-one archetype to create your project as was suggested above?&amp;nbsp; I know that sometimes in some IDEs (like Eclipse) creating a project using the all-in-one archetype can seem to create multiple separate projects (7 in total I think) because the pom file contains some nested maven modules.&amp;nbsp; Did you delete or remove these before you ran your build?&amp;nbsp; The error messages would seem to indicate that alfresco-repo-amp and alfresco-share-amp module pom files are both missing…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To answer the other part of your question, if you're using Alfresco 5.1 then no you don't need to use any deployed customisations to create custom models, there is a built in Content Model Management tool available in the Share Admin Tools available to admin users.&amp;nbsp; It's not quite at feature-parity with a model you can define via a deployed customisation but its pretty good for most use cases.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steven&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 22:36:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cant-get-maven-amp-project-working/m-p/301742#M254872</guid>
      <dc:creator>steven_okennedy</dc:creator>
      <dc:date>2016-06-22T22:36:37Z</dc:date>
    </item>
  </channel>
</rss>

