> -----Original Message-----
> From: Onno van der Straaten 
> [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 21, 2004 1:41 PM
> To: [EMAIL PROTECTED]
> Subject: Local & Remote Repositories
> 
> 
> Group,
> This is problably easy but I am new to Maven. 
> I managed to get my jar into the local repository. Now I am trying to
> compile another project that depends on this jar. Maven looks 
> for the jar in
> ibiblio-repository and so the build fails.
> How can I make Maven use the jar in the local repository?
> Thanks,
> Onno

Maven won't look for jars in remote repository(ies) if it exists locally 
(with small exception for SNAPSHOT artifacts). 
If maven is not finding your jar in your local repo and it is there  - it
means that you haven't provided the right location of it.
So what you have to do is just to declare a correct dependecy on it.
Use dependecy tag in you POM with correct groupId, artifactId and version
which matches jar's location in your local repository.

Michal

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

Reply via email to