You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Glenn R. Golden" <gg...@umich.edu> on 2004/02/12 01:21:12 UTC

trouble with multiproject

I've got 7 subprojects, and when I run multiproject on them like this:

maven -Dgoal=dist:build multiproject:goal

invoking "dist:build" it runs out of memory, I think.

I've upped the memory from the 256 it's distributed with (maven 1.0 
rc1) to 600m -> 900m.  This in a 1 gig mac 10.3.  It gets further 
along...

Here's the last banner before failure:

+----------------------------------------
| Executing dist:build Sakai / CHEF shared webapp
| Memory: 456M/593M
+----------------------------------------

dist:build:

dist:build-setup:
     [mkdir] Created dir: 
/Users/ggolden/dev/sakai/shared/target/distributions

xdoc:init:
     [mkdir] Created dir: 
/Users/ggolden/dev/sakai/shared/target/generated-xdocs
     [mkdir] Created dir: /Users/ggolden/dev/sakai/shared/target/docs

java:prepare-filesystem:
     [mkdir] Created dir: /Users/ggolden/dev/sakai/shared/target/classes

BUILD FAILED
File...... 
file:/Users/ggolden/.maven/plugins/maven-multiproject-plugin-1.1/
Element... maven:reactor
Line...... 174
Column.... 9
Unable to obtain goal [java:compile] -- 
file:/Users/ggolden/.maven/plugins/maven-java-plugin-1.3/:25:15: 
<ant:echo> null


Sure looks like running out of memory.

I wonder if a call to GC might be in order somewhere in the 
multiproject processing.  In fact, does anyone know of an ant task I 
could drop into the process which would do a GC?

Has anyone else run into this?  Any go arounds?  Other than doing them 
by hand, one at a time.

Thanks.

- Glenn


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


how to setup for war:deploy...

Posted by "Glenn R. Golden" <gg...@umich.edu>.
... or any of the <artifact:deploy.  I've been getting lost in the 
docs, but have not found information or an example that shows where I 
say where I want the files to be deployed to... and is it going to 
deploy to a maven repository?  And what sort of transport is available 
for this?

does anyone have an example of the settings that effect the deploy, or 
a pointer to where this is documented?

Thanks.

- Glenn


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org