Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

OutOfMemory exception when using Maven in ant

$
0
0
Hi there,

I am trying to incorporate Maven dependency management into my ant build as follows:

<artifact:dependencies pathId="my.dependencies.class.path">

<dependency groupId="org.lib"

artifactId="libtools"

version="1.1.1"/>

<dependency groupId=" org.lib "

artifactId="otherlib"

version="1.1.1"/>

<remoteRepository refid="archiva.repository"/>

</artifact:dependencies>

When I do a clean build, i.e. 'ant clean my-target', I get the following exception:

java.lang.OutOfMemoryError: PermGen space

Can someone help explain what is going on here and how I might mitigate this problem? Once I have this working for the first classpath, I plan to change all my classpaths to use the repository, but this looks like a bit of a show-stopper.

Thanks in advance,

Ron

Viewing all articles
Browse latest Browse all 5648

Trending Articles