On Tue, Nov 10, 2009 at 12:01 PM, monkeyden <[email protected]> wrote:

> Right, it only refers to the default local maven repo, not this local one.

As Anders pointed out, you have exactly one "local" repository,
usually in ~/.m2/repository (though it can be moved.)

This repo you're trying to create in the 'lib' directory is a "remote"
repository as far as Maven is concerned, even though it's right there
on disk.

> After having added the following paths to my project:
>
> com/mycompany/ProjectNextQuattro/1.0
> com/mycompany/ProjectNextPojos/1.0

How did these directories get created?  Is there anything in the directories?

You should use the 'mvn deploy:deploy-file ...' command to construct
this "remote" repository.  In your case, it will be on the file system
rather than at some url, so you'd use -Durl=file:///path/to/repo when
deploying.

If this is a multi-module project, you might have to define the repo
at each level because ${basedir} changes for each module.

If you're still having trouble, let us know more information about
your project structure and exactly what you've tried so far.

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to