Re: Caching in Maven core

2007-10-12 Thread John Casey
To clear these sorts of caches, you should be able to use BuildContextManager.clearBuildContext(). Just fyi. -john On Sep 24, 2007, at 2:42 AM, Milos Kleint wrote: On 9/24/07, Jason van Zyl <[EMAIL PROTECTED]> wrote: On 23 Sep 07, at 8:54 PM 23 Sep 07, Carlos Sanchez wrote: that's exactl

Re: Caching in Maven core

2007-10-12 Thread John Casey
Just to be clear, the ProjectBuildCache is currently stored in a ThreadLocal, by way of the BuildContextManager. The BuildContext stuff needs a little more love, definitely, but this cache should not be a memory leak now, unless I'm missing something... -john On Sep 24, 2007, at 2:42 AM, M

Re: Caching in Maven core

2007-09-23 Thread Milos Kleint
On 9/24/07, Jason van Zyl <[EMAIL PROTECTED]> wrote: > > On 23 Sep 07, at 8:54 PM 23 Sep 07, Carlos Sanchez wrote: > > > that's exactly what I wanted to know. So we then agree than this must > > be cleared at the end of each execution. If that's the case then no > > caching is needed, but we would

Re: Caching in Maven core

2007-09-23 Thread Jason van Zyl
On 23 Sep 07, at 8:54 PM 23 Sep 07, Carlos Sanchez wrote: that's exactly what I wanted to know. So we then agree than this must be cleared at the end of each execution. For snapshots definitely. In the embedder releases should not change. For a quick fix, yes just flush them post execution.

Re: Caching in Maven core

2007-09-23 Thread Jason van Zyl
On 23 Sep 07, at 8:54 PM 23 Sep 07, Carlos Sanchez wrote: that's exactly what I wanted to know. So we then agree than this must be cleared at the end of each execution. If that's the case then no caching is needed, but we would need a cache per execution request to allow concurrent executions

Re: Caching in Maven core

2007-09-23 Thread Carlos Sanchez
that's exactly what I wanted to know. So we then agree than this must be cleared at the end of each execution. If that's the case then no caching is needed, but we would need a cache per execution request to allow concurrent executions On 9/23/07, Jason van Zyl <[EMAIL PROTECTED]> wrote: > > On 23

Re: Caching in Maven core

2007-09-23 Thread Jason van Zyl
On 23 Sep 07, at 8:28 PM 23 Sep 07, Carlos Sanchez wrote: Hi, this is a thread to gather other people's opinions on the usage of caching inside core maven While using the embedder I've come across some caching issues, mainly MNG-3008, but also MNG-3170 and MNG-3013 For instance in org.apache.

Caching in Maven core

2007-09-23 Thread Carlos Sanchez
Hi, this is a thread to gather other people's opinions on the usage of caching inside core maven While using the embedder I've come across some caching issues, mainly MNG-3008, but also MNG-3170 and MNG-3013 For instance in org.apache.maven.project.build.ProjectBuildCache projects are being cache