You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Kalaveshi, Adrian" <ak...@rsasecurity.com> on 2004/07/14 02:05:58 UTC

running two maven builds with the same user

I have anecdotal evidence that suggests that when I run two builds in parallel with maven, one or the other will die with a "<attainGoal> No goal [jar:deploy-snapshot]" type of an error.  I suspect this could be due to the cache files that are created in $HOME/.maven/plugins (specifically 'goals.cache')... is this true?  Is there a property that I can set which will allow me to create the cache files in a unique place when running multiple builds at the same time?  I'm using maven 1.0-rc2.

Thanks,
-adrian-

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


Re: running two maven builds with the same user

Posted by Brett Porter <br...@gmail.com>.
You can set -Dmaven.unpacked.plugins.dir=... and that will use a
different cache.

The problem you describe should have been improved, if not resolved,
in RC3, so they are locked from concurrently updating. Its not
perfect, but its better. I recommend grabbing 1.0.

This should only be a once off as well. If you run one by itself so
the cache is up to date, then you should be able to run concurrently
after that.

Cheers,
Brett

On Tue, 13 Jul 2004 17:05:58 -0700, Kalaveshi, Adrian
<ak...@rsasecurity.com> wrote:
> I have anecdotal evidence that suggests that when I run two builds in parallel with maven, one or the other will die with a "<attainGoal> No goal [jar:deploy-snapshot]" type of an error.  I suspect this could be due to the cache files that are created in $HOME/.maven/plugins (specifically 'goals.cache')... is this true?  Is there a property that I can set which will allow me to create the cache files in a unique place when running multiple builds at the same time?  I'm using maven 1.0-rc2.
> 
> Thanks,
> -adrian-
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

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