Thanks for your reply. I did 'mvn install' and 'mvn deploy' already. The dependency jar file has been installed in my local repository and internal repository. Any other ideas? Thanks!

Kenny

On 2006.12.02 08:36:10 -0700, Wendy Smoak wrote:
On 12/1/06, Kenny Cheang <[EMAIL PROTECTED]> wrote:

Does anyone know what the problem might be? I mentioned that the "mvn
compile" and "mvn package" works fine when I execute these commands in
parent project directory. But if I execute them in module B directory, I
will get the same error. Any help is appreciated!

Maven is repository based.  By using 'mvn compile' and 'mvn package'
you are just building things under 'target', and never installing them
in your local repository.

You'll need to 'mvn install' to put them in your local repository (or
'mvn deploy' if you're working with others and using a remote
repository).

http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html

--
Wendy

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

Attachment: pgpJ4WaU7Tl63.pgp
Description: signature

Reply via email to