Hi,

I agree with Jason and Michal. I think adding different SNAPSHOT repositories (perhaps allowing even finer grained control over a repository by limiting some groups internally, etc), and fixing the speed problem cover this pretty well, so there is no need for a new tag.

To get it working today, I think you can construct a set of JAR overrides pointing at a local repository:
maven.jar.override = on
maven.jar.foo = ${maven.repo.local}/foo/jars/foo-SNAPSHOT.jar


This should prevent them ever being downloaded once set.

Cheers,
Brett

Jason van Zyl wrote:

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? Are you
looking for something SNAPSHOT in particular? 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. 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.

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.

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



Thanks
-Vincent


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








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



Reply via email to