Joo, olen paikkalla huomenna. Kyll� py�rii uudella tunnuksella. Tunnuksen vaihdolle l�ytyi jopa ohjeet. T:Mikko
-----Original Message----- From: Maczka Michal [mailto:[EMAIL PROTECTED] Sent: 21. kes�kuuta 2004 14:43 To: 'Maven Users List' Subject: RE: Local & Remote Repositories > -----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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
