<?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: Im having trouble assembling War in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/im-having-trouble-assembling-war/m-p/106405#M30043</link>
    <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Regarding Maven, the only thing I did with maven was adding the path to ~/.bashrc.&lt;/P&gt;&lt;DIV class="gs"&gt;&lt;DIV class=""&gt;&lt;DIV class="ii gt"&gt;&lt;DIV class="a3s aXjCH "&gt;&lt;DIV&gt;&lt;PRE&gt;export M2_HOME=/home/user/Downloads/maven
export PATH=${M2_HOME}/bin:bin${PATH}&lt;/PRE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;And I'm not familiar with heap memory but this is what's available on my machine.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; total &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;used &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;free &amp;nbsp; &amp;nbsp; &amp;nbsp;shared &amp;nbsp;buff/cache &amp;nbsp; available&lt;BR /&gt;Mem: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 628176 &amp;nbsp; &amp;nbsp; &amp;nbsp;468328 &amp;nbsp; &amp;nbsp; &amp;nbsp; 37444 &amp;nbsp; &amp;nbsp; &amp;nbsp; 13660 &amp;nbsp; &amp;nbsp; &amp;nbsp;122404 &amp;nbsp; &amp;nbsp; &amp;nbsp; 35244&lt;DIV class="yj6qo"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="adL"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="adL"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="hi"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 25 Jun 2020 16:11:26 GMT</pubDate>
    <dc:creator>cranejimmy3</dc:creator>
    <dc:date>2020-06-25T16:11:26Z</dc:date>
    <item>
      <title>Im having trouble assembling War</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/im-having-trouble-assembling-war/m-p/106403#M30041</link>
      <description>&lt;P&gt;Hello, as the title says, I'm having trouble assembling war. All I'm doing is cloning acs-community-packaging from Github, cd into the root folder, and running mvn clean install. I have not modified any pom.xml. The error I'm getting is&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Failed to execute goal org.apache.maven.plugins:maven-war-plugin:3.2.3:war (default-war) on project content-services-community: Error assembling WAR: Problem creating war: Execution exception: Java heap space -&amp;gt; [Help 1}&lt;/PRE&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;os ubuntu 16.04&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mvn 3.6.3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;jdk11&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 15:28:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/im-having-trouble-assembling-war/m-p/106403#M30041</guid>
      <dc:creator>cranejimmy3</dc:creator>
      <dc:date>2020-06-25T15:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Im having trouble assembling War</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/im-having-trouble-assembling-war/m-p/106404#M30042</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/82169"&gt;@cranejimmy3&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Could it be as issue of not enough heap memory?&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;Have you set MAVEN_OPTS correctly?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;HTH,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 15:55:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/im-having-trouble-assembling-war/m-p/106404#M30042</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-06-25T15:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Im having trouble assembling War</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/im-having-trouble-assembling-war/m-p/106405#M30043</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Regarding Maven, the only thing I did with maven was adding the path to ~/.bashrc.&lt;/P&gt;&lt;DIV class="gs"&gt;&lt;DIV class=""&gt;&lt;DIV class="ii gt"&gt;&lt;DIV class="a3s aXjCH "&gt;&lt;DIV&gt;&lt;PRE&gt;export M2_HOME=/home/user/Downloads/maven
export PATH=${M2_HOME}/bin:bin${PATH}&lt;/PRE&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;And I'm not familiar with heap memory but this is what's available on my machine.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; total &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;used &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;free &amp;nbsp; &amp;nbsp; &amp;nbsp;shared &amp;nbsp;buff/cache &amp;nbsp; available&lt;BR /&gt;Mem: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 628176 &amp;nbsp; &amp;nbsp; &amp;nbsp;468328 &amp;nbsp; &amp;nbsp; &amp;nbsp; 37444 &amp;nbsp; &amp;nbsp; &amp;nbsp; 13660 &amp;nbsp; &amp;nbsp; &amp;nbsp;122404 &amp;nbsp; &amp;nbsp; &amp;nbsp; 35244&lt;DIV class="yj6qo"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="adL"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="adL"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="hi"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 Jun 2020 16:11:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/im-having-trouble-assembling-war/m-p/106405#M30043</guid>
      <dc:creator>cranejimmy3</dc:creator>
      <dc:date>2020-06-25T16:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Im having trouble assembling War</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/im-having-trouble-assembling-war/m-p/106406#M30044</link>
      <description>&lt;P&gt;You need to set &lt;SPAN&gt;MAVEN_OPTS as suggested by&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/76783"&gt;@EddieMay&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Navigate to maven installattion's bin directory (&amp;lt;mavenInstallDirectory&amp;gt;/bin) and open your &lt;STRONG&gt;mvn&lt;/STRONG&gt; file and add the following line:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;export MAVEN_OPTS=-Xmx1024m&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This will allow to specify java heap space based on your project needs. You can increase it depending on your case.&lt;/P&gt;
&lt;P&gt;After making changes, close all terminals and start a new terminal to execute "mvn clean install"&lt;/P&gt;
&lt;P&gt;Detailed documentation can be found here:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/5.2/tasks/alfresco-sdk-install-maven-opts.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/5.2/tasks/alfresco-sdk-install-maven-opts.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You can look at this tutorial to know more on heap and stuff:&amp;nbsp;&lt;A href="https://javarevisited.blogspot.com/2011/05/java-heap-space-memory-size-jvm.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://javarevisited.blogspot.com/2011/05/java-heap-space-memory-size-jvm.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 17:34:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/im-having-trouble-assembling-war/m-p/106406#M30044</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-06-25T17:34:05Z</dc:date>
    </item>
  </channel>
</rss>

