<?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 In Eclipse M2E, error in using Alfresco Maven SDK to create custom model AMPs in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/in-eclipse-m2e-error-in-using-alfresco-maven-sdk-to-create/m-p/43227#M17856</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to create AMP files for my custom model.&lt;/P&gt;&lt;P&gt;I have been following Jeff Pott's article in doing so. I apologize to use Jeff's name here. No wrong intention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had been successfully creating custom AMPs for our models. All these time, I was doing kind of command line maven approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I wanted to do the same using Eclipse IDE. This is easier to check in and out our project in Git.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Eclipse Oxygen 2. It has M2E plugin installed in this. May be the plugin was already there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this IDE, I created a maven project with archetype:&amp;nbsp;&lt;SPAN style="background-color: #ffffff; color: #333333;"&gt;&lt;STRONG&gt;alfresco-allinone-archetype&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;In this project, after creating my model xml, and registering the same with the Spring bean, I ran Eclipse "Run As"&amp;nbsp; 'mvn install'. I did this on the platform-jar folder (to create the repo-tier AMP).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Under the project, in my platform-jar, in the pom.xml, I also have the maven-assembly-plugin uncommented as recommended by the article.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;It rather created a JAR file in the target folder.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;When I open the pom.xml, I see this error on the &amp;lt;parent&amp;gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Plugin execution not covered by lifecycle configuration: org.zeroturnaround:jrebel-maven-plugin:1.1.6:generate (execution: generate-rebel-xml, phase: process-resources)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;In the parent pom, I was taken to this location upon clicking a suggestion. Here is the extract.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;lt;!-- Hot reloading with JRebel --&amp;gt;&lt;BR /&gt; &amp;lt;plugin&amp;gt;&lt;BR /&gt; &amp;lt;groupId&amp;gt;org.zeroturnaround&amp;lt;/groupId&amp;gt;&lt;BR /&gt; &amp;lt;artifactId&amp;gt;jrebel-maven-plugin&amp;lt;/artifactId&amp;gt;&lt;BR /&gt; &amp;lt;version&amp;gt;${jrebel.version}&amp;lt;/version&amp;gt;&lt;BR /&gt; &amp;lt;executions&amp;gt;&lt;BR /&gt; &amp;lt;execution&amp;gt;&lt;BR /&gt; &amp;lt;id&amp;gt;generate-rebel-xml&amp;lt;/id&amp;gt;&lt;BR /&gt; &amp;lt;phase&amp;gt;process-resources&amp;lt;/phase&amp;gt;&lt;BR /&gt; &amp;lt;goals&amp;gt;&lt;BR /&gt; &amp;lt;goal&amp;gt;generate&amp;lt;/goal&amp;gt;&lt;BR /&gt; &amp;lt;/goals&amp;gt;&lt;BR /&gt; &amp;lt;/execution&amp;gt;&lt;BR /&gt; &amp;lt;/executions&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;There appears to be two issues for me. I do not know if they are related.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;1. I could not get the AMP file. I got only the JAR file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;2. This jrebel plugin related error&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Sep 2018 16:09:06 GMT</pubDate>
    <dc:creator>sepgs2004</dc:creator>
    <dc:date>2018-09-28T16:09:06Z</dc:date>
    <item>
      <title>In Eclipse M2E, error in using Alfresco Maven SDK to create custom model AMPs</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/in-eclipse-m2e-error-in-using-alfresco-maven-sdk-to-create/m-p/43227#M17856</link>
      <description>I would like to create AMP files for my custom model.I have been following Jeff Pott's article in doing so. I apologize to use Jeff's name here. No wrong intention.I had been successfully creating custom AMPs for our models. All these time, I was doing kind of command line maven approach.Now, I want</description>
      <pubDate>Fri, 28 Sep 2018 16:09:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/in-eclipse-m2e-error-in-using-alfresco-maven-sdk-to-create/m-p/43227#M17856</guid>
      <dc:creator>sepgs2004</dc:creator>
      <dc:date>2018-09-28T16:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: In Eclipse M2E, error in using Alfresco Maven SDK!</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/in-eclipse-m2e-error-in-using-alfresco-maven-sdk-to-create/m-p/43228#M17857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am now able to create the AMP file. I had to uncomment the maven-assmebly-plugin in the main pom.xml. I thought that it is the pom.xml under the platform-jar. But the main project level pom.xml had this plugin commented. Once I uncommented, it created the AMP file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I still have this error in my platform-jar and share-jar pom.xml&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; background-color: #ffffff;"&gt;Plugin execution not covered by lifecycle configuration: org.zeroturnaround:jrebel-maven-plugin:1.1.6:generate (execution: generate-rebel-xml, phase: process-resources)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Since I am able to generate AMP file, let me use it and see if I am good.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;I am getting a sense that this is more of a maven end question, rather than alfresco!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;However, is there any way we can get rid of this pom.xml error?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 16:13:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/in-eclipse-m2e-error-in-using-alfresco-maven-sdk-to-create/m-p/43228#M17857</guid>
      <dc:creator>sepgs2004</dc:creator>
      <dc:date>2018-09-28T16:13:08Z</dc:date>
    </item>
  </channel>
</rss>

