You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Colin Sampaleanu <co...@exis.com> on 2003/08/04 20:42:49 UTC

why should maven tell you that a downloaded artifact was only in local repo

If an artifact is not available in the remote repo(s), but is available 
in the local repo, and downloaded from there, maven tells you so. It's 
perfectly normal for some artifacts to only be availble locally, say if 
you created them yourself and did an install.

Why should maven draw attention to the fact that it's coming from the 
local repo? This is somewhat annoying, especially when you use 
snapshots, since the snapshot will attempt to be downloaded every single 
time you do anything with maven. So if your snapshots are only in the 
local repo, you will get a message for every snapshot artifact saying it 
is only in the local repo.

I am willing to create a patch to remove this message, if other people 
agree that the message is undesireable.

(As an aside, it would probably be good to enhance maven to support a 
command-line option or property which shows where and how artifacts are 
searched for and downloaded, to be able to resolve problem situations.)



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


Re: why should maven tell you that a downloaded artifact was only in local repo

Posted by dion gillard <di...@multitask.com.au>.
It's now debug level in the log.

Martin Skopp wrote:

> On Mon, 2003-08-04 at 20:42, Colin Sampaleanu wrote:
> 
>>Why should maven draw attention to the fact that it's coming from the 
>>local repo? This is somewhat annoying, especially when you use 
>>snapshots, 
> 
> [..]
> 
>>I am willing to create a patch to remove this message, if other people 
>>agree that the message is undesireable.
> 
> 
> IMHO, the message should be moved into the log instead.
> 
> I agree it's a pain on System.out but it could be helpful to have it in
> a log for error-analysis...


-- 
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/
Work:      http://www.multitask.com.au



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


Re: why should maven tell you that a downloaded artifact was only in local repo

Posted by Martin Skopp <sk...@riege.de>.
On Mon, 2003-08-04 at 20:42, Colin Sampaleanu wrote:
> Why should maven draw attention to the fact that it's coming from the 
> local repo? This is somewhat annoying, especially when you use 
> snapshots, 
[..]
> I am willing to create a patch to remove this message, if other people 
> agree that the message is undesireable.

IMHO, the message should be moved into the log instead.

I agree it's a pain on System.out but it could be helpful to have it in
a log for error-analysis...
-- 
Martin Skopp
Riege Software International GmbH
Support: mailto:maint@riege.com, Information: http://www.riege.com
 
This email is intended to be viewed with a nonproportional font.
Public Key on http://www.keyserver.net, Key-ID: 3D4027B5
Fingerprint: 1970 C78D 9A1D 99FA 5CE4  5C0D 29E6 6A95 3D40 27B5



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


Re: why should maven tell you that a downloaded artifact was only in local repo

Posted by di...@multitask.com.au.
Sounds like a good one. 

File it in Jira and I'll schedule it.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


Colin Sampaleanu <co...@exis.com> wrote on 05/08/2003 04:42:49 AM:

> If an artifact is not available in the remote repo(s), but is available 
> in the local repo, and downloaded from there, maven tells you so. It's 
> perfectly normal for some artifacts to only be availble locally, say if 
> you created them yourself and did an install.
> 
> Why should maven draw attention to the fact that it's coming from the 
> local repo? This is somewhat annoying, especially when you use 
> snapshots, since the snapshot will attempt to be downloaded every single 

> time you do anything with maven. So if your snapshots are only in the 
> local repo, you will get a message for every snapshot artifact saying it 

> is only in the local repo.
> 
> I am willing to create a patch to remove this message, if other people 
> agree that the message is undesireable.
> 
> (As an aside, it would probably be good to enhance maven to support a 
> command-line option or property which shows where and how artifacts are 
> searched for and downloaded, to be able to resolve problem situations.)
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>