[ 
https://issues.apache.org/jira/browse/GERONIMO-4429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650465#action_12650465
 ] 

Jack Cai commented on GERONIMO-4429:
------------------------------------

To avoid the OutOfMemoryError, you can try to set the MAVEN_OPTS environment 
varible. e.g., 

set MAVEN_OPTS= -Xms128m -Xmx512m

If you are using SUN JDK, 

set MAVEN_OPTS=-Xms64m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=256m


> mytime sample application's pom.xml file is too complex 
> --------------------------------------------------------
>
>                 Key: GERONIMO-4429
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4429
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: sample apps
>            Reporter: Ceki Gulcu
>         Attachments: failure.txt
>
>
> Hello,
> I have downloaded the mytime sample application. In my opinion, it takes a 
> very long time to build. 
> In fact,
> org.apache.geronimo.samples:mytime depends on
> org.apache.geronimo.samples:samples:2.12 .pom which in turn depends on
> org.apache.geronimo.samples:samples-parent-2.1.2 pom which in turn depends on
> org.apache.geronimo.genesis.config:project-config:1.4:pom  which in turn 
> depends on
> org.apache.geronimo.genesis.config:config:1.4:pom which in turn depends on
> org.apache.geronimo.genesis:genesis:1.4:pom etc...
> As mentioned earlier, obtaining all the dependencies takes over two hours, at 
> least on my machine. Would it be possible to simplify the pom dependencies. 
> For example, by including zero or at most one pom file transitively? Such 
> simplification would have a pedagogical value as well. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to