Not sure about the extension.xml way, but typically you cna do this via the
MAVEN_OPTS env variable. But it depends on if you need to increase the heap
for the VM that starts maven or if it is for some forked process. There is
a similar question (with some solutions) here:
https://stackoverflow.com/questions/4066424/java-lang-outofmemoryerror-java-heap-space-in-maven

/Anders

On Tue, Jan 30, 2018 at 2:53 PM, Saisowjanya N <[email protected]>
wrote:

> Dear All
> I am facing java heap space issue.I want increase the heap size using vm
> arguments through maven.
>
> When searched in internet I found a solution that says to define
> ${maven.projectBasedir}/.mvn/extensions.xml in our project
>
> Could you please help on how to define the file
> ${maven.projectBasedir}/.mvn/extensions.xml in our project
>
>
>
> Thanks and Regards,
> N.Sai Sowjanya
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to