IMO, the location will be relative from the build-path.. Which means for sub-modules it should actually be '../../mvn-repo'... Try a hard-coded path, that way you can be sure it ALWAYS resolves to the right repository! Or add a repository-tag to all your POM's (although this would be overkill if you ask me...).
Hope this helps, Roland On Friday 26 May 2006 14:59, rebels_mascot wrote: > I'm trying to set up a repository that's a level above my parent folder. > I've tried: > <repositories> > <repository> > <id>project-repo</id> > <name>Project Repository</name> > <url>file://../mvn-repo</url> > </repository> > </repositories> > > I have this in the parent pom.xml but the child modules can't seem to find > the folder. Isn't the repository meant to be inherited? Am I specifying the > location the wrong way? > > Thanks, > Brian > > > -- > View this message in context: > http://www.nabble.com/Find+a+repository+on+the+local+drive-t1686660.html#a4 >575752 Sent from the Maven - Users forum at Nabble.com. > > > --------------------------------------------------------------------- > 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]