> -----Original Message-----
> From: Jason van Zyl [mailto:[EMAIL PROTECTED]
> Sent: dimanche 21 novembre 2004 15:45
> To: Maven Developers List
> Subject: Re: [PROPOSAL] Ading a new tag to <dependency>?
> 
> On Sun, 2004-11-21 at 05:14, Vincent Massol wrote:
> > Hi Maven devs,
> >
> >
> > Would this be acceptable for CVS HEAD of m1? Is there something planned
> > along these lines for m2?
> 
> Your example snippet seems to be all refering to SNAPSHOTs?

true

> Are you
> looking for something SNAPSHOT in particular? 

yes

> I'm asking because I'm
> working on changing the way SNAPSHOTs are dealt with in the reactor for
> the Geronimo build. Specifically, process all the SNAPSHOTs up-front and
> don't attempt to download any SNAPSHOTs again during the build.
> 
> First reason is definitely for speed and efficiency, the second reason
> is that you want to eliminate the possibility of downloading a SNAPSHOT
> that could be different then when you started. 

Good point

> Which can be the case
> with Geronimo because depending on which flavour of build you perform it
> can take quite a while. So if this is reactor or SNAPSHOT related in any
> way what I'm doing might help.

cool

> 
> The solution in m2 that would definitely help your situation is working
> with artifact in situ. In m2 we've talked about (and I plan to
> implement) a unified source directory and that coupled with a couple new
> rules we have there on artifact/directory naming it is possible for m2
> to find artifacts without installing them to the local repository.

Yes, that will definitely solve this issue. I'm still not 100% sure what the
unified source directory is. Does it mean that each "snippet" of build (e.g.
java source directory, config files, webapp files, etc) becomes an artifact
in itself:

groupId/
  jars/
    myprojectname-version.jar
  java/
    myprojectname-java-sources-version/
      org/.../*.java
  webapp/
    myprojectname-webapp-sources-version/
      *.html
      WEB-INF/*.*
[...]

?    

> 
> Are you really just looking for a way to look for artifacts in situ?

Yes, this would be the best.

Thanks
-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to